Answer Questions
gatharia Troubles trying to create a window with the Win32 API
Hello I have been working on this for several days now and have tried a ton of different things, so I'm going back to sqaure one with the way I originally wanted to do it. I'm wanting to create a window the WNDCLASS structure and CreateWindowEx meathod. Ok, everything seems to work fine except when tring to set lpfnwndproc field of the WNDCLASS structure. Here is the working code I got for VB6: Private Sub CreateClass() &nb ...Show All
Scott Glass Addind new lines of code from the form
Hi, I want to be able to include information from two text boxes into the coding of the program. I would like to be able to have two text boxes which the user can enter information about, for example in the first text box, 1 in the second text box, 4 and what i want to be able to do is add this information to a Select Case statement, so a new line of code will be added so it reads, Select Case "---" Case "1"   ...Show All
sswater shi expose VB.Net overloaded properties to VB6 client
I have been working on a set of abstract base classes coupled with a related set of concrete classes to mimic the DAO interface for our legacy VB6 client. We are slowly porting things to .Net, but we just can't afford to rip out the thousands of lines of DAO code and replace it with ADO or ADO.Net code. So far, our approach is working just fine, although there are some wrinkles. Perhaps the ugliest problem that I have now is that of default p ...Show All
eagle_eye Debugging on VS2005 Standard edition
I hope this is the correct forum to post as I have a complicated issue! Just loaded VS2005 Standard edition instead of the Express editions. Now I have a problem debugging, my setup is as follows: Main exe is VB.net calling an unmanaged dll in C, I also have a C# dll that is a wrapper for OpenGL. When I want to debug the unmanaged dll (which is in VS2005 C++), I launch with F5, I have the debugging command pointing a ...Show All
B Rajesh Nair XML Help Needed
I am working on a project that requires data being read from an XML document and put into a database. I am having a problem figuring out a specific area of my code. I am able to retrieve the data that is in the base part of the document, however, there is a section with repeated data that I am unable to get the data from. I would appreciate any help in resolving this. I have tried a number of different methods with no success. Here is my code ...Show All
SqlBoi Number Only Input
First of all, Sorry of this is a really simple question. I'm a bit of a noob. Is there anyway to make an input box that will only allow the input of numeric characters Thanks in advance. EDIT: The following code was taken straight out of help and was used to allow only numbers to be entered into a textbox. ' Boolean flag used to determine when a character other than a number is entered. Private ...Show All
Chrispwill Can I run the java programme using VB
Hey, I know that in java, we can use runtime class to run a programme written in another language. But I'm not sure if it is possible in VB6. If yes, how to implement it Besides, how to read in a text file in VB6 Thanks in advance! Sorry, I wasn't thinking, that is VB.NET. As I said, the express edition of VB.NET is free for download. http://msdn.microsoft.com/vstudio/express/vb/default.aspx ...Show All
Stathread01 accidentally uninstalled Framework 1.1 first "valid ordering"
I get the error when I try to uninstall VS.Net 2003. Setup is unable to determine a valid ordering for installation. See the error log for further details. I have the disks and tried reinstalling/ repairing it and that did not work. And I cannot get to the error log as it says. I only used VS.net for school and would like to uninstall it from my computer. Does anyone know what to do after you tried to uninstall it out of order, and remov ...Show All
Raul Romero VB 2005 Compiler Optimization Discussion
There's been something percolating in the back of my mind. I come from a computing environment that preceeded windows and the Intel Architecture and instruction set. n comparison to the instruction set that i'm used to, the Intell instruction set looks like a house wreck which may or may not be important to the discussion at hand. Everyone knows that moderators agree on everything and that in moderator space we just stand in love ...Show All
Joe Gollner System.DllNotFound Exception
I'm migrating from VB 6.0 to VB.NET 2003. There is a particular file abc.dll that I'm not able to add reference to, though its a dll file. When I try to reference it, the error is 'This is a not a valid assembly or COM component. Only assemblies with extension 'dll' and COM components can be referenced. Please make sure the file is accesible, and that it is a valid assembly or COM component' How can I reference this file ...Show All
espenhjo Viewing acrobat files in VB6
Hi, Consider a simple application which lists a number of pdf files. On clicking a filename, a new window opens, which allows the user to read the appropriate file. How can this be done (Note: I am not asking you about standard dialog box for opening files. The pdf file should open as a part of the application and be confined to the mdi form and the existance of the application.) Alternatively, can the contents of the pdf file be copied to ...Show All
anvaka Reading a "text" File
Im trying a read a "text" file that is a storage file for a proprietory software package. I can open the file up in notepad and read it all fine, all the data is there and visible in a plain text format, and i can also import the file into excel or basically anything else.. My problem is that when i attempt to read the file into a VB 2005 richtextbox, or textbox it won't read the whole file. (doesn't matter if i use read, rea ...Show All
Manuel Müller Sending email in vb2005
Does anyone have a barebones example of how to send email using vb 2005 I keep having problems assigning a recipient address. For a bare bones example, check out the code snippets. There is one under Networking for sending email. It generates the following code: Dim message As New MailMessage( "sender@address" , "from@address" , "Subject" , "Message Text" ) ...Show All
jbarrick free up the memory allocated to a variable
Dear All, Procedure ABCD() DIM xyz as string xyz="....." ---------- 'from here onwards, I don't need or I am not using the xyz variable, So I want to free up that memmory. How can I -------- ------ END SUB Please read the comment in the code., If possibel please give me an answer. regards citrus Dear All, Sorry for the delayed reply, From the answe ...Show All
Borat Validating DBNull - VB.NET Bug??
Hi All, I have a DB Column "Contact Name" that does not accept null values. When I add a new record and leave this column 'blank' and click on "Save", I get an error message saying "Column Does not allow Null values". So far so good. If I enter a value for "Contact" name and save it, it saves it to the database. Now, If I edit this record and erase the value for "Contact" name and c ...Show All
