AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 443 matches
AutoHotkey Community Forum Index
Author Message
  Topic: ADO COM - Database Query
beardboy

Replies: 130
Views: 33939

PostForum: Scripts & Functions   Posted: Thu Jul 09, 2009 4:48 am   Subject: ADO COM - Database Query
Part of my OpenDBConnection() is the following:

if pConnect <>
{
COM_Invoke(pConnect, "Close")
COM_Release(pConnect)
}
if pQuery <& ...
  Topic: ADO COM - Database Query
beardboy

Replies: 130
Views: 33939

PostForum: Scripts & Functions   Posted: Thu Jul 09, 2009 12:47 am   Subject: ADO COM - Database Query
Thanks for the info. Here is what I ended up doing and it seems to be working great.

QueryDB(statement)
{
Global pConnect,COM_HR

COM_Error(0)
Loop
{
pQ ...
  Topic: ADO COM - Database Query
beardboy

Replies: 130
Views: 33939

PostForum: Scripts & Functions   Posted: Thu Jul 09, 2009 12:24 am   Subject: ADO COM - Database Query
Is there not a specific command to test if the connection is still open?

thanks,
beardboy
  Topic: ADO COM - Database Query
beardboy

Replies: 130
Views: 33939

PostForum: Scripts & Functions   Posted: Wed Jul 08, 2009 11:59 pm   Subject: ADO COM - Database Query
I can program around idle time outs, but where I first noticed the issue was when testing myself. I hibernate my laptop between work at home, and even when using my app on my laptops DB, due to hibern ...
  Topic: ADO COM - Database Query
beardboy

Replies: 130
Views: 33939

PostForum: Scripts & Functions   Posted: Wed Jul 08, 2009 11:53 pm   Subject: ADO COM - Database Query
Speed. Disconnecting and reconnecting to the DB for every query slows down the speed. The user is going to be doing queries all day long, sometimes seconds apart, other times hours apart. They will le ...
  Topic: ADO COM - Database Query
beardboy

Replies: 130
Views: 33939

PostForum: Scripts & Functions   Posted: Wed Jul 08, 2009 11:14 pm   Subject: ADO COM - Database Query
I want to be able to open a connection and then not close it until my application is closed, but I have noticed that the Database will close the connection if it stays idle for too long, or if the net ...
  Topic: Login to Adsense and download the amount of money.
beardboy

Replies: 7
Views: 2666

PostForum: Ask for Help   Posted: Tue Oct 23, 2007 12:05 am   Subject: Login to Adsense and download the amount of money.
There are two ways that websites have you login. One is based on your URL that you send to them, the other is when you use FORM's to post your username and password. It looks like adsense has you post ...
  Topic: Window Resize / Repaint Bug
beardboy

Replies: 4
Views: 1198

PostForum: Bug Reports   Posted: Fri Feb 17, 2006 12:14 am   Subject: Window Resize / Repaint Bug
Thanks for the info, I hadn't seen that update and change.

thanks,
beardboy
  Topic: Window Resize / Repaint Bug
beardboy

Replies: 4
Views: 1198

PostForum: Bug Reports   Posted: Thu Feb 16, 2006 6:45 am   Subject: Window Resize / Repaint Bug
I know you like code examples....
Gui, +resize
Gui, Add, Button, x175 y+2 w40 h20 vAddTask, &Add
Gui, Add, Button, x+0 w40 h20 vEditTask, &Edit
Gui, Add, Button, x+0 w40 h20 vDone, &Do ...
  Topic: Window Resize / Repaint Bug
beardboy

Replies: 4
Views: 1198

PostForum: Bug Reports   Posted: Thu Feb 16, 2006 6:36 am   Subject: Window Resize / Repaint Bug
Chris,

There seems to be a problem with moving controls in 1.0.42. The below pictures are from 1.0.41 (looks normal) and 1.0.42 (buttons overlaying). If you move your mouse over the buttons it kind ...
  Topic: Some Utilities
beardboy

Replies: 34
Views: 13734

PostForum: Utilities & Resources   Posted: Fri Feb 10, 2006 7:22 pm   Subject: Some Utilities
Try this for me instead.

sc.exe start Notepad2

And let me know what it says.

thanks,
beardboy
  Topic: Some Utilities
beardboy

Replies: 34
Views: 13734

PostForum: Utilities & Resources   Posted: Fri Feb 10, 2006 5:22 pm   Subject: Some Utilities
Is your windows directory "c:\windows" or "c:\winnt"?
The other thing is if you are running XP, XP comes with a newer version of Reg, which might have setup the registry key wrong ...
  Topic: Some Utilities
beardboy

Replies: 34
Views: 13734

PostForum: Utilities & Resources   Posted: Fri Feb 10, 2006 4:28 pm   Subject: Some Utilities
My suggestion would be to have your compiled exe's just run your needs at a particular time. Setup a compiled exe that only runs what you want to run at specific times (within your ahk code, if time = ...
  Topic: Some Utilities
beardboy

Replies: 34
Views: 13734

PostForum: Utilities & Resources   Posted: Fri Feb 10, 2006 1:00 am   Subject: Some Utilities
First you need to create a service using SC.exe
sc.exe create MyService binPath= c:\windows\system32\srvany.exe type= own type= interact start= auto
Then after you create the service you need to ...
  Topic: v1.0.41 released: Context-sensitive hotkeys & hotstrings
beardboy

Replies: 27
Views: 9890

PostForum: Announcements   Posted: Sun Jan 22, 2006 3:05 am   Subject: v1.0.41 released: Context-sensitive hotkeys & hotstrings
Chris, thanks for the work around solution.

thanks,
beardboy
 
Page 1 of 30 Goto page 1, 2, 3 ... 28, 29, 30  Next
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group