CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Nick A.

Page 1 of 6 1 2 3 4

Search: Search took 0.07 seconds.

  1. Replies
    1
    Views
    1,486

    Variable filename in xml tag in asp

    Hello

    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...
  2. Replies
    0
    Views
    512

    Help with VB6 and CR XI

    Hello everyone

    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...
  3. Replies
    2
    Views
    889

    Re: Visual Studio Installer

    Hi there.

    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...
  4. Replies
    2
    Views
    539

    Re: Nested parameter queries in access 2000.

    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...
  5. Replies
    2
    Views
    539

    Nested parameter queries in access 2000.

    Hi all

    I have an Access 2000 DB. In it i have a query Q1:


    PARAMETERS DATE_FROM DateTime, DATE_TO DateTime;
    SELECT *
    FROM TABLE_1
    WHERE (TABLE_1.tb1_Date>=DATE_FROM) And...
  6. Replies
    7
    Views
    3,230

    Re: Create Query in Access2000 DB using ADO

    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...
  7. Replies
    7
    Views
    3,230

    Re: Create Query in Access2000 DB using ADO

    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...
  8. Replies
    7
    Views
    3,230

    Re: Create Query in Access2000 DB using ADO

    @$^%^^$&#^&#% :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...
  9. Replies
    7
    Views
    3,230

    Re: Create Query in Access2000 DB using ADO

    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...
  10. Replies
    7
    Views
    3,230

    Create Query in Access2000 DB using ADO

    Hi everybody.

    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...
  11. Replies
    3
    Views
    4,349

    Hi Jerry Tough luck. I've had that problem...

    Hi Jerry

    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...
  12. Re: Close a window

    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...
  13. Re: cannot swear, but...

    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".
    ...
  14. I tried ExitWindowsEx(EWX_REBOOT Or...

    I tried

    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.

    Thank...
  15. Re: Let us know...

    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...
  16. Hmmm. Probably this is the reason Never...

    Hmmm. Probably this is the reason


    Never mind. I'll try Cimperiali's code. Perhaps my problem has been solved...
  17. No, it's not there. I tried it, but i got an...

    No, it's not there. I tried it, but i got an error. Perhaps it's a german-version tool... Thanks anyway...
  18. Hmmm, i have Win2K SP4 English. No shutdown here....

    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...
  19. Yes, that's what i'm trying to do... I know about...

    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...
  20. Thanx for the reply. It is indeed a naughty...

    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...
  21. Shutdown Windows when pwd-protected screensaver is active...

    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...
  22. Replies
    11
    Views
    1,216

    A little risky (there is a small change you may...

    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...
  23. Replies
    2
    Views
    1,097

    Re: VB Form Unload problem

    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.

    Nick A.
  24. Problem with "Winpopup" program under win2000...

    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...
  25. Replies
    8
    Views
    906

    Re: i try another...[inside]

    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,...
Results 1 to 25 of 128
Page 1 of 6 1 2 3 4





Click Here to Expand Forum to Full Width

Featured