September 11, 2000

Connecting to an Access DB on a Server

Question: I want to connect to an Access DB on a server from a client using a VB app. I assume I would have to make a connection to the database on the server. How could I do this? Would I need to return a recordset from the sever via

Form Variable Problem with Web Clipping App

Question: In my Web clipping app, I have a form like this: When I submit the form the query string looks like this: myserver.com/results.cgi?var1=xyz&var2&var3=abc The problem is if a form variable is not set, the variable is passed without a “=” in the query string. This is mandatory for app

Client Says Not to Use Joins in VB App?

Question: I have a client that used to be an Oracle programmer years ago who tells me I’m designing his SQL 7.0 database all wrong because I’m using joins in the VB app! He says “joins use I/O on the machine…”, etc. I’ve tried explaining that this is no longer

Spell checking

Question: I have a bunch of words in a listbox that I want to spell check(with Microsoft Word 2000 maybe?). I would like the routine to delete any word in the listbox that is incorrectly spelled. I don’t want the user to have to ‘OK’ each and every word; I’d

Co-located Exchange with ISP

Question: We have co-located a Windows NT Exchange 5.5 SP3 server with our ISP and we have about 14 Outlook clients running from our office. All of the Outlook clients are configured as Exchange connections, not as Internet connections. There seem to be a lot of interruptions with getting mail

Opening an ASP Page Through VB

Question: How can I access an ASP page through VB? Answer: You can use the Internet Transfer control to connect to a web page and retrieve data from Visual Basic. The Internet Transfer control, which is included with Visual Basic, has a number of bugs and for that reason, there

Template Function Error

Question: Consider the code: template class TestClass {public: T testFunc(T*);};template TestClass::testFunc(T* p1){ return sadfs; //actually, here I could //write anything I want} The problem is that VC++6 compiler doesn’t track any errors in the body of the testFunc (even if it’s within the declaration of the TestClass). Answer: When the

Const Member Functions

Question: What does the ‘const’ in the following funciton prototype mean? class A{public: void fn (int a ) const;} Answer: The const after a member function’s parameter list indicates that the function doesn’t change the state of its object. Such a function is also called an “observer function.” The use

WAP and Session Tracking

Question: How do I maintain sessions in Nokia WAP Server? Answer: Session variables are covered in the WAP Server documentation.

No more posts to show