Type: Posts; User: Nick A.
Search took 0.09 seconds.
October 24th, 2007, 09:15 AM
I'd appreciate any help with a problem i'm facing.
I'm looking for a way to include the results of an xml file in an asp document. The catch is that the name (and path) of the xml file is...
December 1st, 2006, 10:52 AM
I have some VB6 applications that displayed CR 8.5 reports using the crystal.OCX. I have recently purchased CR11 developer ed. so naturally i'd like to upgrade them to use the new...
October 5th, 2005, 04:27 AM
In the VSInstaller, if you go to the "File System" item in the project explorer, you will see (under the "User's Start Menu" probably) the shortcuts you have created. Click on a shortcut...
March 31st, 2005, 12:48 AM
Um, it probably wouldn't help declaring DATE_FROM and DATE_TO as parameters in Q2. They are Q1's parameters, i just wanted to assign a value to them in Q2 and pass them to Q1 in order to execute the...
March 29th, 2005, 06:56 AM
I have an Access 2000 DB. In it i have a query Q1:
PARAMETERS DATE_FROM DateTime, DATE_TO DateTime;
WHERE (TABLE_1.tb1_Date>=DATE_FROM) And...
March 24th, 2005, 09:46 AM
To use the code in this post, you must add the following two References in your VB6 Project:
- Microsoft ActiveX Data Objects x.x Library (ADODB)
- Microsoft ADO Ext. x.x for DDL and Security...
March 24th, 2005, 09:42 AM
Ok, after a lot of search, i finally found an almost perfect way to do the following from VB6 in an Access 2000 database:
- Delete a query using ADO (exclusivelly).
- Create a new query using ADO...
March 23rd, 2005, 10:04 AM
@$^%^^$&#^&#% :mad: :mad: :mad: :mad: :mad:
I had found this code in several pages but it didn't work. Now i realize why. It doesnt' work through ODBC! That's why i got the "object or...
March 23rd, 2005, 09:26 AM
Thank you for your answer. Unfortunately, your examples although they are very nice, they did not help very much. I wish to create a query in an access DB like it was done in DAO (via QueryDefs...
March 23rd, 2005, 08:25 AM
I have an Access2000 DB and i'm using ADO to access it through ODBC. I wish to drop and recreate an existing query or even better, alter its SQL statement if possible. Can anyone...
April 29th, 2004, 05:36 AM
Tough luck. I've had that problem since... i can't remember! :) It's a very big disadvantage of VB (up to VB6) that it doesn't allow modal MDIChild forms.
I have two possible solutions...
April 22nd, 2004, 02:19 AM
Found it. From the link that exists in your example (http://www.allapi.net/). I just went to the front page to take a look at the site and there was a link pointing to an example for this! (talk...
April 21st, 2004, 09:24 AM
Yup, that's a nice one. Too much trouble just to evade the "lock" of the pc but it seems to be the only solution. I would appreciate a small example of "posting a quit message to a running app".
April 21st, 2004, 08:37 AM
ExitWindowsEx(EWX_REBOOT Or EWX_FORCE, 0)
and it worked perfectly. It seems that the NtShutdownSystem SHUTDOWN is not necessary and (im my case at least) is never executed.
April 21st, 2004, 07:38 AM
First of all, thanks for the help.
I tried the code. Here's what it does.
The call to ExitWindowsEx(EWX_FORCE, 0) causes the system to logoff, even though it was locked. (funny, i expected it...
April 21st, 2004, 07:09 AM
Hmmm. Probably this is the reason
Never mind. I'll try Cimperiali's code. Perhaps my problem has been solved...
April 21st, 2004, 06:48 AM
No, it's not there. I tried it, but i got an error. Perhaps it's a german-version tool... Thanks anyway...
April 21st, 2004, 06:34 AM
Hmmm, i have Win2K SP4 English. No shutdown here. I even searched the whole C:\WinNT and subdirs.
Perhaps it only exists in the German version?!?! Strange. Are you sure it's not an 3rd-party...
April 21st, 2004, 06:16 AM
Yes, that's what i'm trying to do... I know about all the things you mention here.
Windows has no such exe AFAIK. Perhaps you are talking about a third-party utility. In any case, do you know...
April 20th, 2004, 01:49 AM
Thanx for the reply.
It is indeed a naughty solution but i don't believe it will solve my problem. I'm using Win2K and it is most probable that the screensaver "tells" the system to lock itself so...
April 19th, 2004, 08:27 AM
Hi. I have an API question.
I'm using ExitWindowsEx function to shutdown Windows (usually Win2K). It is working fine, it shutsdown, restarts, etc. If a screensaver is active and password protected...
April 16th, 2003, 03:57 AM
A little risky (there is a small change you may damage your Win98 installation) but try to create a setup in Win2K for your application (so all the necessary libraries will be included in it), then...
April 25th, 2001, 07:33 AM
I've never heard that. From what i know, the END statement is the one that causes memory leaks. Unloading a form is the normal way to do things.
February 5th, 2001, 11:07 AM
I'm trying to make a winpopup-substitute program in VB and use it under windows 2000. Using the API functions i describe later in this message, i've succeeded making a program that can send messages...
December 5th, 2000, 08:40 AM
The "root" branch for GetSetting() function is the following:
HKEY_CURRENT_USER\Software\VB and VBA Program Settings\
That means that you cannot access branches above this. In order to do that,...
Click Here to Expand Forum to Full Width
This a Codeguru.com survey!