|
Unfortunately, I still have to deal with and use it daily...we are slowly migrating stuff over to dotnet not as quickly as I would prefer...
I totally agree, on the visibility...
nathan
|
|
|
|
|
(EDIT: I just realized you are looking for VB6. This code/article suggestion is in .NET so I am not sure whether it will help you)
I believe you can set properties similar to what you want using ParentControlDesigners. An article that I wrote might be able to help you: Targeting Design-Time Events of User Controls. The article doesn't specifically cover it, but I am almost sure I ran into the situation you are looking for while I was writing it so it should lead you in the right direction.
Regards,
Thomas Stockwell
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Visit my homepage Oracle Studios[ ^]
|
|
|
|
|
What is the best way to display a tif file in VB.Net?
What controls would anyone recommend?
|
|
|
|
|
I believe GDI+ can read tif. If not, you're out of luck.
If you don't want to draw it yourself, use a picture control. Load the tif from disc into a bitmap object, and pass it over.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
GDI+ can handle some TIFF files, but not all. Any TIFF's using JPEG compression are not supported.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
I have one text file with 4 rows, example
A B C D
1 2 3 4
1 2 3 4
I want to read it and display in datagrid how can i do?
Thanks
................
|
|
|
|
|
You'd think this would be very easy, but it has some surprising problems and complexity.
You can get a bindable component to read the CSV file for you here[^].
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
How can i create a demo or trial version of my application?
|
|
|
|
|
A simple way could be writing a log file (or registry string) and control it (es. data install and data trial)..
|
|
|
|
|
I need d code for redistributing .net fwork silently installing with the application
|
|
|
|
|
The command line for launching the installation in silent mode is:
dotnetfx.exe /q:a /c:"install /l /q"
Just over half way down this[^] page, there is an explaination of the switched used and what the error returns would be.
All you need to do is use the Process class to launch it, just like any other process.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
hi all please suggest me how to perform socket programming in
vb.net if you have some sample code of examplease specify it also
THANKS
SP
--
Bugs can neither be created nor be removed from software by a developer. They can only be converted from one form to another. The total number of bugs in the software always remain constant.
|
|
|
|
|
Are you coming from VB6?
If so, I had (actually have) the same problem.
In VB6 everything was so simple using the Winsock control, now in .Net everyone tells me it's so much simpler, but I disagree. There is so many different ways to do the same thing that a new programmer gets confused very easily, not knowing which way is best. The winsock had simple events that fired allowing you to capture incoming data and connection requests, in .Net you have to use delegates it seems. I haven't looked at it again, too busy but have a look at the TCPClient class and the System.Net.Sockets class.
you can't forget something you never knew...
"Watching Migthy Joe Young made me hate my life..................................I want a gorilla!" A. Havemann
|
|
|
|
|
Examples are easy enough to find. Just Google for "VB.NET Chat" and you'll come up with thousands of links to examples, most of which use sockets.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
How do i get the status of the Locked Computer in Remote or Local. is there any API functions? Plz tell me...
Thanks & Regards
Kumaran.M
Kumaran
|
|
|
|
|
This was answered back in November, here[^].
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Please don't post links to your articles in the programming forums.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Hi All,
I am trying to run a vb.net exe on another machine.I am then getting the following error."The application failed to initialize properly(0xc0000135).Click on OK to terminate the application."
Can anyone please tell me what is the problem.
|
|
|
|
|
By pasting the error message in to a search engine the first hit suggests the error is becuase the target machine does not have the .NET framework installed.
|
|
|
|
|
hi.. can u please me about datareports? I and my friends need to know more about that. Because we'll include it in our thesis.
Thank you for your consideration and kindness!!!;)
|
|
|
|
|
A DataReport is an old VB6 object. You can find the docs on it here[^].
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Hi All,
I have two files "example.sys" and "example.inf" files along with my application "example.exe".I want to create a setup file on executing which "example.exe" should be listed in "Start->Program files" and the "example.sys" and "example.inf" should be copied to system32 directory.
|
|
|
|
|
So you need to create an installer. An option maybe using NSIS that is a great opensource one.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
|
|
|
|
|
Hi,
You can use "Package & Deployment Wizard" (very simple for VB app) or "InstallShield" (for greater managment). You can use this?
Alex
|
|
|
|
|
hi all,
i have tied to add a rference to my windowsapplication,
the name of the library is
microsoft excel 11.0 object library
but it is not working , i have got a warnig also.
when i tried to create an object then i have got an error like this
"microsoft.office.interop.excel.application is not defined"
i dont know why i am unable to register taht particualr dll, can anybody help me.
|
|
|
|