Answer Questions
Shammi Jayaraj How do you reload a form
Hi all, I know this is proberbly a really basic question but how do you reload a form, I'm need to put some code in a catch - end try block that will reload the form or allow the user to re enter a value in textbox2. Just handle the KeyChar event for your textbox and add this code to the event handler: e.Handled = Not (Char.IsDigit(e.KeyChar) Or Char.IsControl(e.KeyChar) ) This sets the handled f ...Show All
Chace Returning icon handle to VCSharp
I have written a DLL using VC++ Express, in it I export the following function: If you're using a global mouse hook, I'm assuming the window handle that of a window in another application If that's the case, most handles are application-specific. Retreiving a handle via a SendMessage call will get an application-specific handle. The HICON from the SHGetFileInfo should work. Handles are usually just a pointer into the application's m ...Show All
seons missing /VC/redist folder
yeah, this might be a stupid question, but i am just an amateur programmer, and i wrote a small console app which i compiled and runs seamlessly on my computer. When i try to give it to my friends, they get errors that correspond to a missing manifest and dlls for VC80.CRT etc etc. The redist.txt in the root directory says there should be a redist folder where i can get the correct files, but i have no VC/redist folder, i've poked ar ...Show All
Drub1999 A Problem with Relative Paths
I've been using Visual C++ 2005 Express without problems for a day, but now I'm suddenly having problems with relative paths. Instead of a path resolving to one relative to the project file, it's always resolving relative to 'Visual C++ 2005 Express\Common7\IDE'. I've tried uninstalling and reinstalling, and looking through settings, but to no avail. Any help would be greatly appreciated. No, ...Show All
WebRevolution clocking while(), for(), etc?
Hello I was just wondering if there's a way to clock while loops... While() ex. While ( x < 50 ) x += 1 End END ex. For() ex. For (x , 1, 50 ) End END ex. Is there a way to clock to the milisecond without affecting the speed of the while loop Thank You Keehun Nam Hi there, If you wanted to clock something in milliseconds then: Dim iter As Integer ...Show All
Chan Chi Hang from .exe back to code
I'm new in charge of the development of my IT department, I have to take over my predecesor work, ufortunately he deleted all codes and left only executables. My question is, how can I convert back from .exe to VB6 code your help will be realy apreciated. Gabriel R. Parra Softtek Support Team (PS, IT) Softtek Integration Systems, Inc. c/o GE Energy OSM Support Team 24 x 7 Phone (678) 844-7436 Dialcom *421-7436 Grou ...Show All
Xing Zhou Need help with for and pictureboxes
I'm making a map editor to make maps Every tile is a picurebox. In the menu there is a command "New" wich will load all the default pics into the picturebozes, so you can make a new map i created this for statement dim i as integer For i = 0 To 391 PictureBox(i).image = My.Resources.Image_default Next i But this doesn't work. There is something wrong with the PictureBox(i).image Please help me. I'm using vb2005 Thanks in advance, Radexxio ...Show All
Shailendra18 How to get MFC libraries for Visual C++ Express 2005
hi, I have a software package which works well during VC6. Now I tried to compile it in VC++ 2005 Express. Most of projects in the package are no problem. But there is only one project which is a GUI application (using MFC) always got some problems. At first, it missed some lib files. So I copy some lib files from VC6 directory to current lib directory. Then I got the following error. Anyone can give me some ideas Lin ...Show All
Rich Hennessy BeginInvoke methods in VB??
hy, i have method how read informatin from serial ports, and in same method, function who put information to Listbox in Form. And now, when I execute (compile) this method , they me post Erorr "Cross-thread is not ok" . "SerialPort1.ReadExisting" and " listbox.Items.Add is not and sam thread....how can I put Ithem.Add in same thread with ReadExisting...How can I use BeginInvoke method for this Thank you my ...Show All
steffibev system.xml missing...
Hey everyone: I program a bunch of stuff using the System.Xml namespace, but in Visual Basic 2005 Express Edition Beta 2, it says there is no System.Xml. Has this been renamed or does VB 2005 Express Edition not have the Xml namespace simply because it's geared toward new developers and hobbyists Thanks for you replies Thanks David, it works now I've worked with Visual Basic Standard 2002, and I've never had ...Show All
DanAlf Fix: Debugger & Forms Designer in Beta 2 fails
I was using C# Express Beta 1 for long time, today I installed C# Express Beta 2 but after that I can not create WindowsForms project or open WinForms/Project Settings/Resources When I try to create new WinForms project I get warning as follows Package "Visual studio Settings and Project Designers package" has failed to load properly ( GUID = xxxxx) .... Would you like to disable loading of this package in future ..... <Yes> <No> ...Show All
vintang Database - Delete record
Hi, I have a database and a datagrid to view the data. Now I want to delete a record in the recordset. I use datagrid.RemoveCurrent() to delete the currently selected record. So far it works. But when I restart my program it still shows that record. What do I have to do to make this delete-action permanent Greets, John Hi, What datasource are you binding in your datagrid Be sure that this datasource (Da ...Show All
LeoNicolas where can i download msdn library express?
everyone knows that msdn library is the best reference book for vs.net, but i can only download vb.net express, how can i download msdn library express i can not find it in www.microsoft.com. Hi, Upon installing VB Express, MSDN Express is also included in the installation. I've tried it by using the manual installation. It installed MSDN Express alongside with VB Express... cheers, Paul June A. Domag ...Show All
Ramcat Here's the message I get:
Before running the latest version of the Express Cleanup Tool my VB Express Beta 2 install would fail with a message saying I had to uninstall previous versions of VB Express and MSDN. It gave this same message after de-installing everything and running previous version of the Cleanup Tool. Now, after running the latest Cleanup Tool the VB Express Express Beta 2 still fails, but it lists only a previous version of VB Express as needing to ...Show All
平 明? Cannot find manifest signing?
I recently had to reinstall my OS and now when I try to publish an update to my existing application I get this error: "Unable to find manifest signing certificate in the certificate store." Any ideas Thanks. The certificate store is a place on the PC that certificates can be stored and easily accessed from any project without the need of knowing the file path to a specific file. In a way you c ...Show All
