Since 1998, DevX has helped people start businesses, build websites, and provide enterprise technology to people globally. Interviewing the likes of Microsoft’s co-founder, Steve Ballmer, the publication brings comprehensive, reliable, and accessible insights to the Internet.
Question: Why does MyDb.OpenTable(“My_Table”) not work with a Sybase database? I get the error “Invalid Argument” Err Num 3001. Answer: ODBC does not allow you to do an OpenTable on
Question: How can I query the login name of a Novell user from VB? Answer: Try this:un$ = space(255)unsize% = len(un$)a = WNetGetUser(un, unsize)MsgBox trim(un)The WNetGetUser API declaration is: Declare
Question: I need to run a menu option from Form1 that actualy executes amenu option on Form2. What I have had to do is show Form2 and use SendKey to
Question: How can I relate 2 or more records in one file to eachother? Answer: There are a few ways to do this. The main and most popular method is
Question: Is there a way to determine when your modem is connected and signed on to an Online Service such as MSN or America Online? I’ve tried using API calls
Question: I am a beginer in Visual Basic 3.0. I am trying to make a “Text Editor” program.Can you tell mehow to make “save” and “open” menus (using dialog box)I
Question: How can I pass my array to function as parameter? Answer: A declaration would be as follows:Sub Foo (ArrayVar() as String * 4)The call to it would be as
Question: How do I add scrollbars to a picture box control?i.e I want to be able to scroll through a picture box which containsmore than one screen of graphic and
Question: I am writing a program that searches a database and i am trying to use avariable for the WHERE clause. Can you Help me? here is an example:Data1.RecordSource =
Question: My question was in regards to installation. I would like to know if it is possible to run a VB program right from a floppy or CDROM without installing
Question: I have written a small program that calculates geometry problems. I have used input boxes to retreive data from the keyboard, however during runtime if I click the cancel
Question: I am trying to figure out exactly how to get mywindow to center itself no matter what the resolution of the screen is that it is beingdisplayed on is.
Question: I have a DOS-based application (QB4.5) which has been running for some years and I have now updated it to Visual Basic. The application handles several async serial ports
Question: Is is at all possible to create a VB 3.0 applicationto place itself on Win95’s system tray?or does it *have* to be 32 bit (vb4.0) ?If so, how? Answer:
Question: I am looking for code or VBX that allows a user to use an inputbox to locate a word within a textbox. The textbox is connected to a Access
Question: This is a beginner’s question but in a smalldatabase application when I click on a commandbutton the code gives me the error message “Invalid Inside procedure” and highlights the
Question: I have a function in a DLL that I want to call from VB program. The Dll function has few parameters. Some of them should be passed from vb
Question: I want to add a large amount of items to a list box ,3700 to be exact, and in the future the number of items could grow even more.
Question: I would like to know how to make an EXE file that I can runit in another computer which does not have Visual Basic Installed. Answer: VB 3 and
Question: I have a application I need to run off a floppy, I am trying to find a space effective way to add sound to my program. Thiswill be in
Question: How do I perform INSERTS, UPDATES andDELETES on existing tables? I have looked up the help andin books but nothing seems to tell me exactly how to do it.
Question: I’m using VB Professional edition and I would like to combine in a command button an icon, left justified, and the caption, right justified. The default setting sets the
Question: Should I use a database for storing info, rather than random access files? The info I need to store could be rather large. I also will need much more
Question: In writing a VB database application, is it more effecient to open up the database once in the beginning of the program, and build queries/recordsets to access the appropriate
Question: I have written a calendar function using the standard grid control as the calendar. The text property of each row/column is set to the correct day within the month
Question: How can I determine the type of object that I click, using only one general procedure? What I mean is that I want to have several objects of any
Question: How do I create a bit-mask in VB? What I wish to do is “read” a binary number where each bit represents a different state for an electrical system.
Question: How can I use Access 7.0 databases within my Visual Basic 4.0 Professional Application?Everytime I try to open such a database, I always get error messages. Answer: I’m guessing
Question: This is the first time I visited your site, and its the best VB site I’ve been too! My question is, I’m writing a sql statement using Variables and
Question: I am in the process of building an application where I needa grid of small graphics (icons or BMPs) in an array situation.When the user clicks on one graphic
smart tag is a panel that displays next to a control and contains a list of commonly used properties. For example, in the Visual Studio
any of us have found ways to forget about grammar since finishing school and entering the “real world” of business and commerce. Unfortunately the division
ow difficult do you think it would be to create a SQL tool like Query Analyzer or SqlServer Management Studio? How about a programming and
orking with SharePoint can get complicated. Even seemingly basic tasks are wrapped up in so many layers of automation and support that it can be
ustom SharePoint lists are like tables in a traditional database; in some ways they’re even better. But as organizations adopt this new data store, they
ata binding is an indispensable feature of ASP.NET that links a user interface element with the underlying data store. ASP.NET 1.1 restricted this data binding
t is no coincidence that AJAX and RESTful web services gained the attention of developers in their respective stages of infancy. Both technologies emerged during
nit testing is a well-known practice that helps developers validate the functionality of components and identify bugs early when they are easy to fix. By
wo heads are better than one, goes the old saying, and that can be as true for mobile applications as it is the people who
f you’ve done any open-source database development recently, you probably already know that when it comes to selecting a database for your application, you have
hen you think about the success of the Internet, your mind probably goes to the vast libraries of digital content: explosive social networks linking gamers,
Use the following code to convert from Centigrade to Fahrenheit and vice versa: Function CentToFaren(ByVal cent As Double) As Double Return cent / 0.55555555556 +