Search:
Type: Posts; User: dnrodrigo
Search:
Search took 0.06 seconds.
-
Take a look at the Application.ActiveDocument object... it has properties that you might be able to use (Name, Path, etc)
-
You might be able to use the following method;
ftp://username:password@hostname/
But for security reasons, it is not advisable.
-
History entries in the "Address" drop-down box of IE are stored here;
HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\TypedURLs
-
1. Look in the registry (HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation)
2. Use the GetTimeZoneInformation API
-
check out this thread => http://vbforums.com/showthread.php?s=&threadid=248736
-
select t1.sstid as Agent, sum(t2.policy_amount) as Amount
from useraccounts as t1, policy as t2
where t1.sstid = t2.agentid
group by t1.sstid
order by Amount desc
-
Years = DateDiff("yyyy", Date1, Date2)
Months = DateDiff("m", Date1, Date2)
Days = DateDiff("d", Date1, Date2)
-
Here's an article on how Micro$oft does it; http://www.extremetech.com/article2/0,3973,10426,00.asp
-
-
So you're trying to use SendKeys from a VB program to send keystrokes to another program?
-
Wow... you have definately taken on a most complicated project! (especially with VB).
I have used a variety of programs that do what you are trying to do... everything from command-line based...
-
http://vbforums.com/showthread.php?threadid=247130
-
Ah yes... the problem is not OS specific; Some hardware manufacturers don't embed serial number information in their parts.
As far as evexa's drive returning a 0, this is quite possible. There...
-
Why not use the motherboard SN?
'Add a reference to Microsoft WMI Scripting Library
Private Sub Form_Load()
Dim List
Dim Object
Dim WMI
Set WMI = GetObject("WinMgmts:")
-
select item_no,
activity,
account_no
from pcms.pcms_item_activity
where item_no='40331'
and activity='0610'
and acct_no in (select acct_no
from ...
-
$dim = substr($dim, length($dim)-1, 1);
-
Const LWRBOUND = 101 'lowest acceptable value
Const UPRBOUND = 999 'highest acceptable value
Const MAXITEM=100
Dim A(MAXITEM) As Integer
cmdGenerate_Click
Randomize
For x=1 to...
-
in almost every case, you'll need admin rights to the remote server.
use net time \\servername > nettime.txt then parse the text file.
- or -
write a file to the remote server, then read...
-
Try placing a DoEvents command in your loop;
Do While Power
DoEvents
...
Loop
-
-
Backdoor to Yahoo Quotes ==> Intel Corp. (cut and paste URL into your browser).
Place your stock symbol in the ?s= parameter.
As far as I can tell, the &f= parameter (format) takes a..z, and...
-
If not explicitly specified using Public, Private, or Friend, Function procedures are public by default (including in forms).
-
To copy text to the clipboard, you need to specify the CF_TEXT clipboard format as the Format parameter in the SetClipboardData API call;'From Micro$oft Knowlege Base Article 210216
Declare Function...
-
http://www.developersdex.com/gurus/code/603.asp
-
The *Clipboard* API's utilize the Windows clipboard, not the VB clipboard object.
-
The Clipboard is a VB object... your program ends, the object is gone.
A simple way to place data on the Windows clipboard;Option Explicit
Private Declare Sub keybd_event Lib "user32" (ByVal...
-
No need for thanks Ray, I thrive on troubleshooting.
You know, sometimes I wonder who really benefits more from these forums... those searching for answers... or those providing them :)
-
Well... yes, the EULA of SP3 does state that Micro$oft is taking over the world, and that includes your system... but, in actuality, there is a new control panel applet Automatic Updates that allows...
-
Did you try NET TIME /SET
-
Dude... you might have a problem with your particular keyboard driver.
I am running your exact code from above (the original code with Form_KeyPress), and I can use Tab or Enter, no bell, works...
-
If not... take a look at the SetWindowsHookEx API
-
Can't you just use the KeyPress and KeyDown events, then just set the KeyAscii or KeyCode to 0?
-
Ray... I think you were almost there. No guarantee... but try this;Private Sub Form_KeyPress(KeyAscii As Integer)
'Make Enter key act as TAB key for ease of data entry
'Note: needs the...
-
Try
public sub whatever
B = Form1.Walkability(4,5)
msgbox B
end sub
-
Did you try;
Clipboard.Clear
Clipboard.SetText "Can you hear me now?"
-
Option Explicit
Private Declare Function GetWindowLong Lib "user32" Alias "GetWindowLongA" (ByVal hWnd As Long, ByVal nIndex As Long) As Long
Private Declare Function SetWindowLong Lib "user32"...
-
dynamic_sysop... did you intend to say EnumProcesses. The EnumWindows API only enumerates top-level windows on the screen.
Here's a KB article that explains how to do this;...
-
If you're running a batch file, I assume you're calling CMD.EXE or COMMAND.COM (or using "COMSPEC"... the right way).
If this is the case, you could use the /c switch to tell the command...
-
Hmmm... if "re-declaring" a constant was allowed, it wouldn't be a constant would it... it would be a variable!
:eek:
-
Try Clipboard.Clear just prior to Clipboard.SetText
|
Click Here to Expand Forum to Full Width
|