|
Thanky for your advise but what about messages?
when i use spy++ i get a lot of messages such as tb_cout(something like that)
how an i get them?
|
|
|
|
|
Probably by implementing either a GetMsgProc[^] hook or a JournalRecordProc[^] hook. Neither of which can be implemented in managed code (VB.NET or C#).
|
|
|
|
|
I want to retrieve External ip of my computer without using whatismyip website. Is there any library in VB 2005 to retrieve external IP. Please help me as soon as possible.
Regards,
Abhay
|
|
|
|
|
|
Hi,
using one or more external web sites is the only way I really trust for this to work reliably.
Have a look here[^].
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
|
|
|
|
|
The only way it works reliably is if you use a website external to your network.
|
|
|
|
|
Hello Everybody,
I m running in a serious trouble.I had uninstalled Visual Studio(VB6)Enterprise Edition from my PC.And know when i run VB application its not executing due to loss of some dll's and ocx files .So anybody can please help me in find list of Dll and OCX files have been deleted when uninstalling VB6.Please help its a menace ?
Thanxs in Advance.....
Rizwan
|
|
|
|
|
That list is quite long, on the order of a few hundred files. Since it sounds like you never created installers for these applications, you're only real recourse is to reinstall Visual Studio 6. If you had created installers for these apps, you would just have to reinstall the apps, or run a Repair on .MSI installers, to replace the missing files.
|
|
|
|
|
Hi Dave Kreskowiak
Thanks for your urgent reply ,I have an installer in my application.And u r right i have to reinstall it when i delete my Visual Studio 6.I wanna get the list of dll and ocx files deleted when VB6 is uninstalled.So that i can just place them again so that know need to reinstall it once again.Can u provide any idea on it.Kindly reply ..?
Thanks
|
|
|
|
|
|
Firstly be aware that I have never used VB6.
However, all previous versions of VB (v2.0 - v4.0) that I have used, required the run-time redistribution pack to be loaded on machines using apps written in VB. Therefore you might want to look at Visual Basic 6.0 Runtime Redistributable[^] page on MSDN.
If I am way off base, please ignore this.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
Henry Minute wrote: If I am way off base, ...
If you are still using VB4 you are a little off base, otherwise all is fine.
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
|
|
|
|
|
Not still using, although I still have the Disks for VB3.0 lying about somewhere in a glass case labelled "In case of emergency, throw away"
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
Well, if the installer was written correctly, it should already have all the components it needs to run the app inside the installer. They should all be installed with the application. The only thing that would not be included would be the VB6 runtime. That's installed seperately.
|
|
|
|
|
Can we exclude designer.vb file in windows applications using Visual studio 2005?
|
|
|
|
|
The designer files are just code to create the form and it's controls and lay them out on the form. Why would you want to execute just that file?? To answer you're question, no, you can't execute just the code in that file. All the files for the form are compiled into a single object that has no idea it was created from multiple files.
|
|
|
|
|
He said "exclude", not "execute". (Or maybe he edited the post.)
|
|
|
|
|
Hi,
1. when you create another kind of project (say a Console app) you wouldn't get a designer file at all; you then can edit and add Windows.Forms code (or any other code) to the files you do get. That excludes designer support of course.
Also, you can copy-paste the designer code from where it is to where you prefer it to be, then remove the designer file. The designer may or may not still work for you then (I do it sometimes in C#, I have no experience doing this in VB.NET).
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
|
|
|
|
|
Luc Pattyn wrote: Also, you can copy-paste the designer code from where it is to where you prefer it to be, then remove the designer file. The designer may or may not still work for you then (I do it sometimes in C#, I have no experience doing this in VB.NET).
The last time I tried this, it broke the designer. Though, I can't rememer if it was VS2003 or VS2005.
|
|
|
|
|
Hi Dave,
I just finished this[^] test app using VS C# 2008 Express; with the InitializeComponent() stuff inside the main file, all works well, the designer locates and keeps updating its code just like older VS versions used to do.
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
|
|
|
|
|
Cool. I never tried in in 2008. I don't have it installed anywhere at work yet.
|
|
|
|
|
Interesting!
I spend a fair amount of time doing the opposite, converting .Net 1.0/1.1 code to have a designer.cs file, since I prefer that.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
So did I, when switching away from older .NET and VS versions.
However for very small projects (less than 100 lines of code) I prefer having it all in 1 file.
BTW: this may interest you, long ago, working in Fortran under RSX11D/RSX11M/old versions of VMS, I used to put build commands at the top of my FTN sources, starting with a 'C' of course; and I had a small utility to invoke compiler, linker, and then run the program. So the entire project was 1 file, which built and ran automatically.
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
|
|
|
|
|
I created an application in vb.net 2005. It works fine on my machine. I tested several different test machines and all were working fine. As for the client, it's generating an error. My application reads from an excel sheet and imports the values to an oracle database. the error being generated is: "conversion from type string to type double is not valid". Why is it generating on on the client's computer and not mine?
|
|
|
|
|
Hi,
if an app runs fine on one machine and not on the other, it is because there is at least one bug in the app; it could be something was looked over, in your case maybe the system (or Excel itself) was used with different regional settings, resulting in a different character choice for "decimal point" and "group separator" (or "thousands separator").
For apps that need to work together, you have to impose similar working conditions; so either they all should follow a fixed standard, or they all should obey the regional settings, or they all should be configurable and get the same configuration settings.
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
|
|
|
|