﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>A1VBCode Forums / Visual Basic (VB 4/5/6) / API </title><generator>InstantForum.NET v4.1.1</generator><description>A1VBCode Forums</description><link>http://www.a1vbcode.com/vbforums/</link><webMaster>forums@a1vbcode.com</webMaster><lastBuildDate>Thu, 20 Nov 2008 09:12:13 GMT</lastBuildDate><ttl>20</ttl><item><title>Registry File</title><link>http://www.a1vbcode.com/vbforums/Topic26118-5-1.aspx</link><description>Hi... How to create a Registration Entries file? It association with registry editor of course. I want to create a key file. Thanx. GBU.</description><pubDate>Tue, 04 Nov 2008 15:28:14 GMT</pubDate><dc:creator>Takeshi</dc:creator></item><item><title>Creating an API for a windows application</title><link>http://www.a1vbcode.com/vbforums/Topic25340-5-1.aspx</link><description>I am writing a windows application using VB.NET 2005 and I  would like to create an API for it, however, I have no clue on where or how to get started.  I tried adding a ProgId to my windows form, but when I would try to use CreateObject or GetObject to get a reference to the application, I would receive an error saying "could not create ActiveX object".  If anyone has any advice or information to share, I would greatly appreciate it. &lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Michael</description><pubDate>Fri, 04 Jul 2008 12:28:49 GMT</pubDate><dc:creator>mmathys</dc:creator></item><item><title>RGB value</title><link>http://www.a1vbcode.com/vbforums/Topic25911-5-1.aspx</link><description>Hi ! I'm a new member in this forum. Could any one help me, how to get RGB values at every pixel from a image file ? But, that image file not open or show in my form, just get the RGB values. Then, i can change that RGB values and create a new image file. Honestly, i'm working an image encryption. Please, help me....  it's confused me so much. Thanks. GBU &lt;/P&gt;&lt;P&gt;NB : I'm sorry if my English is bad &lt;img align="absmiddle" src="http://www.a1vbcode.com/vbforums/Skins/Classic/Images/EmotIcons/Smile.gif" border="0" title="Smile"&gt;</description><pubDate>Mon, 06 Oct 2008 15:45:49 GMT</pubDate><dc:creator>Takeshi</dc:creator></item><item><title>Holding down API</title><link>http://www.a1vbcode.com/vbforums/Topic25861-5-1.aspx</link><description>I've been looking around the net for quite a while. I can't find anything about holding down a key (be it for a certain time or until disabled). Basically what I'm trying to do is a program to hold down the CTRL-key.&lt;br&gt;&lt;br&gt;Any help is appreciated, I'll keep searching.&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;a href="http://www.bestgrowthstock.com" target="_blank" class="SmlLinks"&gt;Stock Picks&lt;/a&gt;&lt;br&gt;&lt;br&gt;</description><pubDate>Fri, 03 Oct 2008 22:23:41 GMT</pubDate><dc:creator>leonel80</dc:creator></item><item><title>Why vbhide don't work in Windows Vista?</title><link>http://www.a1vbcode.com/vbforums/Topic23790-5-1.aspx</link><description>The next code works in XP but not in Windows Vista:&lt;br&gt;&lt;br&gt;In XP execute the calculator (hide)&lt;br&gt;but in windows vista show the window's calculator.&lt;br&gt;&lt;br&gt;I tried in Windows Vista as administrator, but I get the same result.&lt;br&gt;&lt;br&gt;Please, help me.&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Private Declare Function ShellExecute Lib "shell32.dll" Alias _&lt;br&gt;"ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation _&lt;br&gt;As String, ByVal lpFile As String, ByVal lpParameters _&lt;br&gt;As String, ByVal lpDirectory As String, ByVal _&lt;br&gt;nShowCmd As Long) As Long&lt;br&gt;&lt;br&gt;Private Sub Form_Load()&lt;br&gt;  ShellExecute hwnd, "open", "C:\windows\system32\calc.exe", vbNullString, vbNullString, vbhide&lt;br&gt;End Sub&lt;br&gt;&lt;br&gt;&lt;br&gt;</description><pubDate>Sat, 15 Dec 2007 00:43:17 GMT</pubDate><dc:creator>microtroyan</dc:creator></item><item><title>I want to create a API with a little help please</title><link>http://www.a1vbcode.com/vbforums/Topic24394-5-1.aspx</link><description>Hi, i would like to create a API just like this one &lt;A href="http://www.steampowered.com"&gt;http://www.steampowered.com&lt;/A&gt;, but i am making it so that i can have my own games on there not the ones on steam...&lt;BR&gt;&lt;BR&gt;Thanks, Affinity</description><pubDate>Sat, 15 Mar 2008 23:20:47 GMT</pubDate><dc:creator>affinity1991</dc:creator></item><item><title>Pinvoke DLL need help</title><link>http://www.a1vbcode.com/vbforums/Topic25707-5-1.aspx</link><description>&lt;DIV id=post_message_3335508&gt;I am trying to complete my project with third party dll using vb.net , &lt;BR&gt;i cant call the function RDA_ReadAlarmList as below , &lt;BR&gt;this function call return a integer value and receive the RDA_ReadAlarmList Structure and RDA_AlarmSearchParam as a parameter. &lt;BR&gt;&lt;BR&gt;Hope the bro here can help me on this , already headache for few week on this .. what --&amp;gt; RDS_AlarmList **outAlarmList means ? &lt;BR&gt;Structure array ? How should i call this in vb.net ? &lt;BR&gt;&lt;BR&gt;Function&lt;BR&gt;10.8.1 It acquires an alarm list ( The asynchronousness ).&lt;BR&gt;&lt;BR&gt;int WINAPI RDA_ReadAlarmList(RDS_AlarmList **outAlarmList, RDS_AlarmSearchParam *inAlarmSearchParam);&lt;BR&gt;&lt;BR&gt;Structure&lt;BR&gt;11.8.4 The alarm list search parameter&lt;BR&gt;typedef struct {&lt;BR&gt;RDE_SearchDir dir; The direction of the search&lt;BR&gt;RDE_SearchMode mode; The browse mode&lt;BR&gt;int num; The number of the searches (1-1000)&lt;BR&gt;bool senser[16]; The sensor true...The sensor is valid.&lt;BR&gt;int year; The year ( The 4 digit Christian era )&lt;BR&gt;int month; The month (1-12)&lt;BR&gt;int day; The day (1-31)&lt;BR&gt;int hour; The hour (0-23)&lt;BR&gt;int minute; The minute (0-59)&lt;BR&gt;int second; The second (0-59)&lt;BR&gt;} RDS_AlarmSearchParam;&lt;BR&gt;&lt;BR&gt;11.8.4 The alarm list item&lt;BR&gt;typedef struct {&lt;BR&gt;int listNumber; The list supervision number (0-9999)&lt;BR&gt;int alarmNumber; The alarm list number (1-10000)&lt;BR&gt;bool isEnable; The alarm validity / the invalidity ( true: Valid, false: Invalid )&lt;BR&gt;int year; The year ( 4 digits )&lt;BR&gt;int month; The month (1-12)&lt;BR&gt;int day; The day (1-31)&lt;BR&gt;int hour; The hour (0-23)&lt;BR&gt;int minute; The minute (0-59)&lt;BR&gt;int second; The second (0-59)&lt;BR&gt;int block; The device index&lt;BR&gt;int field; The field number&lt;BR&gt;int drive; The playback point drive number&lt;BR&gt;int vol; The playback point VOLUME number&lt;BR&gt;int camera; The camera number ( 0: The emergency, 1-: The camera number )&lt;BR&gt;RDE_Alarm alarmType; The alarm type&lt;BR&gt;} RDS_AlarmList;&lt;/DIV&gt;&lt;!-- / message --&gt;</description><pubDate>Tue, 16 Sep 2008 16:07:03 GMT</pubDate><dc:creator>johnng</dc:creator></item><item><title>form1.log file error</title><link>http://www.a1vbcode.com/vbforums/Topic25268-5-1.aspx</link><description>Sir g can Any One Help Me to Sought ought this Problem Please &lt;P&gt;crystal32.ocx is not found when loading a programe &lt;/P&gt;&lt;P&gt;and Form.log is not found</description><pubDate>Mon, 23 Jun 2008 09:48:32 GMT</pubDate><dc:creator>rajastyle</dc:creator></item><item><title>pasting data to other applications</title><link>http://www.a1vbcode.com/vbforums/Topic25138-5-1.aspx</link><description>hi friends&lt;br&gt;           &lt;br&gt;i need to create a program that have the facility to paste data in the clipboard to any other programs (notepad,wordpad etc) using shortcut key(ctrl+M). can someone please help me in this.</description><pubDate>Sat, 07 Jun 2008 06:35:55 GMT</pubDate><dc:creator>rahesh</dc:creator></item><item><title>receive file namse sent to your application</title><link>http://www.a1vbcode.com/vbforums/Topic24763-5-1.aspx</link><description>i am using visual basic .net2005&lt;BR&gt;please can you tell me how to get all of the file names i selected and pressed enter to play them with my application&lt;BR&gt;i tried command$ and commandlineargs&lt;BR&gt;but this give you just on file name&lt;BR&gt;because every file sent to an instance of your application&lt;BR&gt;i tried startupnextinstance&lt;BR&gt;i got just on filename with every instance&lt;BR&gt;but this is very slow way to get all file names&lt;BR&gt;you have to wait all files to be sent&lt;BR&gt;this mean 100 files=100 instance and long time&lt;BR&gt;and above, this give a problem with the application&lt;BR&gt;a messsege is shown(the application has a problem and has to close)&lt;BR&gt;i want away to get all of the files i selected and pressed enter to play with my application&lt;BR&gt;together and in just one time&lt;BR&gt;i think i have to use windows api &lt;/P&gt;&lt;P&gt;but i dont know how&lt;BR&gt;and thank you...</description><pubDate>Tue, 29 Apr 2008 08:18:24 GMT</pubDate><dc:creator>slcompany</dc:creator></item><item><title>Hiding Restore button in System menu and also in Menu bar -pls help</title><link>http://www.a1vbcode.com/vbforums/Topic24601-5-1.aspx</link><description>Hi,&lt;br&gt;&lt;br&gt;I am using vb.net 2005&lt;br&gt;&lt;br&gt;My form is set to maximized inside the MDI. i need to hide the restore button in both system menu and also in menu bar top right corner.&lt;br&gt;&lt;br&gt;I have tried api. but it only disables the restore menu in System menu which is in top left corner.&lt;br&gt;&lt;br&gt;when the mouse is hovered on top right corner, the restore button portion is highlighted and the form gets restored when clicked which is meaningless.&lt;br&gt;&lt;br&gt;can anyone help pls&lt;br&gt;&lt;br&gt;</description><pubDate>Fri, 11 Apr 2008 01:02:51 GMT</pubDate><dc:creator>jasan</dc:creator></item><item><title>how to save and retrieve sound from database</title><link>http://www.a1vbcode.com/vbforums/Topic24494-5-1.aspx</link><description>looking solutions on how to save and sound from database(access, firebird,mysql) in vb6.0</description><pubDate>Tue, 01 Apr 2008 08:05:34 GMT</pubDate><dc:creator>ndah1000</dc:creator></item><item><title>how can i use yahoo finance database in my website dynamicaly</title><link>http://www.a1vbcode.com/vbforums/Topic24455-5-1.aspx</link><description>i want to make a application that nee to use yahoo finance ...&lt;/P&gt;&lt;P&gt;such the link is given that "download data" that i want to use how can i use in my website....???&lt;/P&gt;&lt;P&gt;thnx in advance...</description><pubDate>Wed, 26 Mar 2008 02:11:33 GMT</pubDate><dc:creator>lakhanijay_coolboy</dc:creator></item><item><title>Can't find entry point acmsdi_return_pointer in acmsdi.dll</title><link>http://www.a1vbcode.com/vbforums/Topic23862-5-1.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt;I am using same DLL in two applications and one is working fine and in another I am getting the Run-time error 453: Can't find entry point acmsdi_return_pointer in acmsdi.dll&lt;/P&gt;&lt;P&gt;Here is the piece which I am trying to .. &lt;/P&gt;&lt;P&gt;Declare Function Acmsdi_Return_Pointer Lib "acmsdi.dll" (workspace As Any) As Long&lt;/P&gt;&lt;P&gt;    options(0).option = ACMSDI_OPT_PWD_EXPIRING&lt;BR&gt;&lt;STRONG&gt;    options(0).address = Acmsdi_Return_Pointer(pwd_exp_buffer)&lt;BR&gt;&lt;/STRONG&gt;    options(1).option = ACMSDI_OPT_END_LIST&lt;/P&gt;&lt;P&gt;Please help me.</description><pubDate>Fri, 28 Dec 2007 00:54:47 GMT</pubDate><dc:creator>Shenba</dc:creator></item><item><title>Dual Monitor API or Pen Tablet API?</title><link>http://www.a1vbcode.com/vbforums/Topic22577-5-1.aspx</link><description>Hi everyone!&lt;br&gt;&lt;br&gt;I'm making a program in Visual Basic 6 that uses this:&lt;br&gt;&lt;br&gt;1º - I have extended desktop, I mean, my desktop width is two monitors. My graphic card &lt;br&gt;&lt;br&gt;supports clone mode, I mean, the second monitor copies the first monitor exactly.&lt;br&gt;2º - I have a Pen Tablet. I have set it up to work with the second monitor. I can change with &lt;br&gt;&lt;br&gt;the tablet's configuration program, making the tablet work with the first monitor.&lt;br&gt;&lt;br&gt;The questions are:&lt;br&gt;&lt;br&gt;a) How can I switch between "extended desktop" and "clone mode" with the program I have made &lt;br&gt;&lt;br&gt;in Visual Basic 6?&lt;br&gt;b) How can I make the tablet work with the monitor 1 or the monitor 2 with my program?&lt;br&gt;&lt;br&gt;If it's needed to program this as subprograms in other language like C, C++, C#, vb.net, etc, &lt;br&gt;&lt;br&gt;I will do it for sure.&lt;br&gt;&lt;br&gt;Thank all of you for all your answers and your time.</description><pubDate>Wed, 25 Jul 2007 06:08:54 GMT</pubDate><dc:creator>Lucha</dc:creator></item><item><title>I want to invisibly control webbrowser control iwebbrowser2 in form</title><link>http://www.a1vbcode.com/vbforums/Topic22113-5-1.aspx</link><description>I want to invisibly control webbrowser control iwebbrowser2 in form&lt;br&gt;How to send a click to webbrowser control iwebbrowser2 control it clicks ok on simple html but if there is iframe or frame then it does not click on it &lt;img align="absmiddle" src="http://www.a1vbcode.com/vbforums/Skins/Classic/Images/EmotIcons/Sad.gif" border="0" title="Sad"&gt;&lt;br&gt;&lt;br&gt;Any suggestions?&lt;br&gt;I don’t want to click by parsing html code body.outerhtml, tagname ("A").click&lt;br&gt;&lt;br&gt;&lt;br&gt;Private Sub Command2_Click()&lt;br&gt;&lt;br&gt;Dim lHandle As Long&lt;br&gt;lHandle = GetHandle(ie)&lt;br&gt;MsgBox lHandle&lt;br&gt;&lt;br&gt;SendClick lHandle, Val(Text2.Text), Val(Text3.Text)&lt;br&gt;End Sub&lt;br&gt;&lt;br&gt;Public Sub SendClick(lnghWND As Long, X As Long, Y As Long)&lt;br&gt;    Dim lngResult As Long&lt;br&gt;    Dim lnglParam As Long&lt;br&gt;    lnglParam = (Y * &amp;H10000) + X&lt;br&gt;    lngResult = SendMessage(lnghWND, WM_LBUTTONDOWN, 0&amp;, ByVal lnglParam)&lt;br&gt;    lngResult = SendMessage(lnghWND, WM_LBUTTONUP, 0&amp;, ByVal lnglParam)&lt;br&gt;    txtlog.Text = lnghWND &amp; " " &amp; X &amp; " " &amp; Y &amp; vbCrLf &amp; txtlog.Text&lt;br&gt;End Sub&lt;br&gt;&lt;br&gt;</description><pubDate>Wed, 13 Jun 2007 22:25:23 GMT</pubDate><dc:creator>eugene2005</dc:creator></item><item><title>My idea is to control IE instance by software</title><link>http://www.a1vbcode.com/vbforums/Topic22112-5-1.aspx</link><description>My idea is to control IE instance by software&lt;br&gt;I want to solve my problems in two ways&lt;br&gt;&lt;br&gt;First one is by controlling IE by mouse_event with cursorpos but not with sendmesage or postmessage API.&lt;br&gt;I want to invisibly control IE instance and click on it where I want to by sending mouse_event, but without user notice, is there any chance?&lt;br&gt;&lt;br&gt;Is it possible to control IE for example in background while PC is idle and screensaver works?&lt;br&gt;Or perhaps when PC is idle detect it and show JPEG screenshot and work with mouse_event on background, so to call behind the scene?&lt;br&gt;Or perhaps in parallel user mode FAST USER SWITCH terminal service?&lt;br&gt;&lt;br&gt;I don’t want to click by parsing html code body.outerhtml, tagname ("A").click&lt;br&gt;Any suggestions or any ideas with technical details?&lt;br&gt;&lt;br&gt;IE Controller  source code here http://fresh-news.info/update/iecontrol.rar&lt;br&gt;</description><pubDate>Wed, 13 Jun 2007 22:18:52 GMT</pubDate><dc:creator>eugene2005</dc:creator></item><item><title>Verify windows password</title><link>http://www.a1vbcode.com/vbforums/Topic19797-5-1.aspx</link><description>Dear all,&lt;/P&gt;&lt;P&gt;         Is there any method to verify the windows password.?</description><pubDate>Thu, 17 Aug 2006 07:53:38 GMT</pubDate><dc:creator>danasegarane</dc:creator></item><item><title>&amp;lt;--- N00B - Source Snippets for....</title><link>http://www.a1vbcode.com/vbforums/Topic18240-5-1.aspx</link><description>Hey all.&lt;br&gt;&lt;br&gt;Been wanting to make my own little Peer-to-Peer Chatroom with WEBCam functionality.&lt;br&gt;I've been searching the internet to no end for small code snippets for Peer-to-Peer Chat and also WEBCam Peer-to-Peer stuff.&lt;br&gt;&lt;br&gt;If anyone's got any helpfull links (for VB6) to get my idea rolling, i'd be very much gratefull.&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;~Shiin</description><pubDate>Wed, 19 Apr 2006 17:53:08 GMT</pubDate><dc:creator>Shiin</dc:creator></item><item><title>How to create reports based on TFS Source Control content?</title><link>http://www.a1vbcode.com/vbforums/Topic21520-5-1.aspx</link><description>&lt;SPAN&gt;Hello, &lt;BR&gt;&lt;BR&gt;&lt;BR&gt;I have a task to create set of reports based on data from TFS source control.&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;I must create these reports using reporting services technology.&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;As an example, I have a report that must count net line of code checked-in last day by specified user.&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;What technology and approach should I take to realize this task?&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;Is it possible to get source code data from source control directly to reports using SQL/T-SQL or need use Source control API?&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;Had someone of you done similar task?&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;Thanks!&lt;BR&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Wojtek&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt; &lt;/P&gt;&lt;/SPAN&gt;</description><pubDate>Wed, 28 Mar 2007 05:21:48 GMT</pubDate><dc:creator>Wojtek</dc:creator></item><item><title>To build Triangular Colored Command Button</title><link>http://www.a1vbcode.com/vbforums/Topic20664-5-1.aspx</link><description>I want to make colored command button of Triangular Shape. I used Window API programming to call commands for coloring irregular shapes and Active X Interface Wizard for making command button look like actual command button. Every thing is fine but the command button is not getting colored. Please suggest some method. My programme is attached here with.</description><pubDate>Sat, 11 Nov 2006 07:49:47 GMT</pubDate><dc:creator>sunil borwankar</dc:creator></item><item><title>getting text from another program</title><link>http://www.a1vbcode.com/vbforums/Topic20022-5-1.aspx</link><description>I am coding in vb2005... I am trying to create an interface between two programs (an accounting program &amp;amp; an imaging program).  What I want to happen... select item (text) in accounting program and then by pressing a hotkey, pass the text to the imaging program to run a search.  I started out trying to use sendmessage api and found that in VB i was having problems due to not being able to create pointers for the call.  I am now thinking that the best way to get the text from the accounting program may be through the Microsoft Active Accessibility but am having trouble finding any documentation on how to use it.  And maybe this isn't the best approach either.  Any help and input would be greatly appreciated.&lt;P&gt;Tasks:&lt;BR&gt;1 - hotkey creation &amp;amp; responce - &lt;FONT color=#1111ff&gt;DONE&lt;/FONT&gt;&lt;BR&gt;2 - Get selected text from syslistview in accounting software&lt;BR&gt; 2a - Get hWnd for syslistview - &lt;FONT color=#1111ff&gt;DONE&lt;/FONT&gt;&lt;BR&gt; 2b - Get index of selected item - &lt;FONT color=#1111ff&gt;DONE&lt;/FONT&gt;&lt;BR&gt; 2c - Get text of selected item - &lt;FONT color=#ff1111&gt;PROBLEM&lt;/FONT&gt;&lt;BR&gt;3 - Pass text into imaging software to run search - &lt;FONT color=#1111ff&gt;DONE&lt;/FONT&gt;</description><pubDate>Sat, 02 Sep 2006 11:02:36 GMT</pubDate><dc:creator>bwarn70</dc:creator></item><item><title>API:add to startup</title><link>http://www.a1vbcode.com/vbforums/Topic21065-5-1.aspx</link><description>I need my program to start everytime when widows starts.&lt;br&gt;How can I add my program to STARTUP ?&lt;br&gt;any API ? or suggestions ?&lt;br&gt;&lt;br&gt;thanks.</description><pubDate>Fri, 05 Jan 2007 07:49:19 GMT</pubDate><dc:creator>n00b</dc:creator></item><item><title>Friendly name for com ports</title><link>http://www.a1vbcode.com/vbforums/Topic20626-5-1.aspx</link><description>Hello&lt;P&gt;I am new to this forum. I have been trying to locate a method of determining the friendlyname of a com port. I have found a "setupdigethwprofilefriendlyname" api but I do not know how to use it. &lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated.&lt;/P&gt;&lt;P&gt;Dave</description><pubDate>Tue, 07 Nov 2006 16:59:06 GMT</pubDate><dc:creator>dbrownproto</dc:creator></item><item><title>SAPI 4, Direct Speech and foreign language</title><link>http://www.a1vbcode.com/vbforums/Topic21330-5-1.aspx</link><description>Hi folks,&lt;/P&gt;&lt;P&gt;I've downloaded the KAREN and HANS voices from the Microsoft agent website, which is the Dutch Lernout &amp;amp; Haspie TTS3000 engine. I've found some code to list the available engines in a combobox, but this only lists the default MS engines. This, due to the fact that these voices are Sapi 5 complient. The voices I would like to use are only Sapi 4. Is there a way to use this engine as default on form load or something? I'm writing a program in dutch, which helps children with homework. I would like the displayed words to be read out load as well. &lt;/P&gt;&lt;P&gt;Now, i've played with the languageid, but can't seem to find the right ID on the net for it or my syntax is totally wrong. &lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated.&lt;/P&gt;&lt;P&gt;Hans</description><pubDate>Mon, 19 Feb 2007 18:47:01 GMT</pubDate><dc:creator>Zion</dc:creator></item><item><title>Accessing ATA registers in Windows 2k</title><link>http://www.a1vbcode.com/vbforums/Topic21105-5-1.aspx</link><description>I have an application I need to write which accesses the ATA registers in Windows 2k.  Does anyone know how to do this using VB.  I assume there is a dll which may be out there, but I am not sure.  I know in Windows 95/98/Me this is fairly easy, but I am not sure how to do this with 2k or even XP.  Thanks in advance.&lt;br&gt;&lt;br&gt;-Samir</description><pubDate>Tue, 09 Jan 2007 18:58:04 GMT</pubDate><dc:creator>VBIllini</dc:creator></item><item><title>Connect Secure FTP Server using Visual Basic</title><link>http://www.a1vbcode.com/vbforums/Topic21005-5-1.aspx</link><description>&lt;DIV&gt;Dear all,&lt;BR&gt;I would like to connect Secure FTP Server using Visual Basic and using vb wininet technical skill but the program is fail. How can I do it? I tried to use Core FTP software to connect the remote FTP server that is not any problem in it. The setting in Core FTP is as the follow:&lt;BR&gt;&lt;BR&gt;1) FTP Server IP Address&lt;BR&gt;2) Port 22&lt;BR&gt;3) Click Check Box &lt;BR&gt;a) SSH/SFTP&lt;BR&gt;b) Use Proxy&lt;BR&gt;&lt;BR&gt;Please help me. Thank you for your help!&lt;BR&gt;kzyo&lt;/DIV&gt;</description><pubDate>Thu, 21 Dec 2006 02:29:09 GMT</pubDate><dc:creator>yotatyan</dc:creator></item><item><title>Media Player API</title><link>http://www.a1vbcode.com/vbforums/Topic20470-5-1.aspx</link><description>Well basically im getting sick of using the standard Media Player control and I want to take 1 more step ahead and make my media player using API. So if anyone can tell me the API i need to open and play .mp3 files then I'd greatly appreciate it (^_^)</description><pubDate>Tue, 17 Oct 2006 04:40:55 GMT</pubDate><dc:creator>kazamamakoto</dc:creator></item><item><title>GetProcessTimes CPU process usage percent</title><link>http://www.a1vbcode.com/vbforums/Topic20789-5-1.aspx</link><description>&lt;br&gt;GetProcessTimes CPU process usage percent&lt;br&gt;&lt;br&gt;it does not show correctly,&lt;br&gt;how to work with big numbers? 64bit&lt;br&gt;&lt;br&gt;Private Sub timCPU_Timer()&lt;br&gt;On Error Resume Next&lt;br&gt;&lt;br&gt;hProc = OpenProcess(PROCESS_QUERY_INFORMATION, 0, Val(txtPID))&lt;br&gt;&lt;br&gt;Static ftKernelStart As FILETIME&lt;br&gt;Static ftUserStart As FILETIME&lt;br&gt;bRet = GetProcessTimes(hProc, ftCreat, ftExit, ftKernel, ftUser)&lt;br&gt;Dim PU As Double&lt;br&gt;PU = ((ftKernel.dwLowDateTime - ftKernelStart.dwLowDateTime) + (ftUser.dwLowDateTime - ftUserStart.dwLowDateTime) / 1000) * 100&lt;br&gt;PU = PU / 10000000&lt;br&gt;&lt;br&gt;If PU &gt; maxcpu And PU &lt;= 100 Then&lt;br&gt;maxcpu = PU&lt;br&gt;txtMAX.Text = CStr(maxcpu)&lt;br&gt;End If&lt;br&gt;&lt;br&gt;txtCPU.Text = CStr(PU)&lt;br&gt;ftKernelStart = ftKernel&lt;br&gt;ftUserStart = ftUser&lt;br&gt;End Sub&lt;br&gt;</description><pubDate>Wed, 29 Nov 2006 19:34:38 GMT</pubDate><dc:creator>eugene2005</dc:creator></item><item><title>camera viewer with visual basic</title><link>http://www.a1vbcode.com/vbforums/Topic20542-5-1.aspx</link><description>how  can i show camera image on visual basic form?i will connect to camera with usb than i want to show camera s image on form?how can i do it?</description><pubDate>Fri, 27 Oct 2006 08:24:10 GMT</pubDate><dc:creator>gimon_1982</dc:creator></item><item><title>Controlling 'Scrolled' Location of Clicked Item from ImageCombo box List</title><link>http://www.a1vbcode.com/vbforums/Topic20342-5-1.aspx</link><description>This is the big picture, I am currently working with an imagecombo&lt;BR&gt;By default, when I click on an image associated with a comboitem &lt;BR&gt;in its dropped down list, the combobox scrolls up.&lt;/P&gt;&lt;P&gt;I want to modify this behaviour so that while I am clicking on an image,&lt;BR&gt;it wont scroll up, and that it should scroll up only when I click on&lt;BR&gt;the textbox portion of the combobox item from its scrolled down list or &lt;BR&gt;anywhere outside the dropdown list portion part of the same combobox. &lt;/P&gt;&lt;P&gt;The workaround I did was to allow the default scroll up behaviour onclick &lt;BR&gt;(scrollup) and then immediately make it drop down again at the exact &lt;BR&gt;scrolling position where it was before the click (so that user dont lose &lt;BR&gt;orientation) where he was before the click.&lt;/P&gt;&lt;P&gt;But it is not happening fast enough and the flicker (due to scroll up then&lt;BR&gt;forced scroll down) is very noticeable about say 1/4 of a second. &lt;/P&gt;&lt;P&gt;There are four images alongside the text portion of each comboitem and &lt;BR&gt;each of these images serve as on/off toggle for various features of  the&lt;BR&gt;application.&lt;/P&gt;&lt;P&gt;All suggestions welcome and thanks so much for all the help you can give.&lt;/P&gt;&lt;P&gt;Gratefully,&lt;BR&gt;Matt</description><pubDate>Fri, 06 Oct 2006 14:19:48 GMT</pubDate><dc:creator>Matt</dc:creator></item><item><title>Compare two strings or compare two files?</title><link>http://www.a1vbcode.com/vbforums/Topic20314-5-1.aspx</link><description>In my form I have two rich text boxes.In both of them I put two different text files(.txt or .rtf).I looking for some code to compare them, and to have the result as marked differences into the second rich text box.How I have to compare them-as strings or as files? And how I can use mid$ to compare them letter by letter to have the right positions of differences?&lt;br&gt;Thanks in advance!!!</description><pubDate>Mon, 02 Oct 2006 19:30:50 GMT</pubDate><dc:creator>bobbymusic</dc:creator></item><item><title>reading motherboard ID</title><link>http://www.a1vbcode.com/vbforums/Topic19054-5-1.aspx</link><description>Hi all, &lt;/P&gt;&lt;P&gt;How to read motherboard id using API?</description><pubDate>Thu, 08 Jun 2006 05:57:04 GMT</pubDate><dc:creator>Sunil KC</dc:creator></item><item><title>Router Auto Configuration Wizard</title><link>http://www.a1vbcode.com/vbforums/Topic19338-5-1.aspx</link><description>Hi,&lt;br&gt;&lt;br&gt;I've been researching about router configuration ( auto configuration wizard ) by  Visual Basic. I've found out a software which actually does this. But as i'm not experienced in Visual Basic i couldn't figure out. The sample is here : http://www.turktelekom.com.tr/ModemAkredite/inca_kurulum_programi.zip &lt;br&gt;&lt;br&gt;I'd like to do the same application for my router which is a dlink dsl-524t. Does this program use SNMP, telnet or which way ? How can i save the config to the router by visual basic ?&lt;br&gt;&lt;br&gt;Best Regards &lt;br&gt;~~Gokhan</description><pubDate>Fri, 07 Jul 2006 03:55:16 GMT</pubDate><dc:creator>dogangoko</dc:creator></item><item><title>Modify date in DateTimePicker via SendMessage</title><link>http://www.a1vbcode.com/vbforums/Topic19343-5-1.aspx</link><description>&lt;FONT size=2&gt;&lt;FONT size=2&gt;&lt;P&gt;I am wanting to get and change the display date in the datetimepicker control located in a 3rd party application that runs in the background and thus not in focus.  I found that DTM_GetSystemTime and DTM_SetSystemTime can do this but I have been unable to get it to work.  I get an error message stating:&lt;/P&gt;&lt;P&gt;"A call to PInvoke function 'DateTimePicker!DateTimePicker.Form1::SendMessage' has unbalanced the stack. This is likely because the managed PInvoke signature does not match the unmanaged target signature. Check that the calling convention and parameters of the PInvoke signature match the target unmanaged signature."&lt;/P&gt;&lt;P&gt;I've noticed that changing the "&lt;FONT color=#0000ff&gt;Byval &lt;/FONT&gt;&lt;FONT size=2&gt;lParam &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;FONT size=2&gt; SYSTEMTIME" to "&lt;FONT color=#0000ff&gt;ByRef &lt;/FONT&gt;&lt;FONT size=2&gt;lParam &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;FONT size=2&gt; SYSTEMTIME" in the Sendmessage declare will remove this message BUT it still does not make any changes! Any suggestions? Thanks.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size=2&gt; &lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#0000ff size=2&gt;&lt;pre&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Public&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Declare&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Function&lt;/FONT&gt;&lt;FONT size=2&gt; SendMessage &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Lib&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;"user32.dll"&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Alias&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;"SendMessageA"&lt;/FONT&gt;&lt;FONT size=2&gt; (&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;ByVal&lt;/FONT&gt;&lt;FONT size=2&gt; hwnd &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Integer&lt;/FONT&gt;&lt;FONT size=2&gt;, &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;ByVal&lt;/FONT&gt;&lt;FONT size=2&gt; wMsg &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Integer&lt;/FONT&gt;&lt;FONT size=2&gt;, &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;ByVal&lt;/FONT&gt;&lt;FONT size=2&gt; wParam &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Integer&lt;/FONT&gt;&lt;FONT size=2&gt;, &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Byval &lt;/FONT&gt;&lt;FONT size=2&gt;lParam &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;FONT size=2&gt; SYSTEMTIME) &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Integer&lt;/FONT&gt;&lt;/P&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Declare&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Auto&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Function&lt;/FONT&gt;&lt;FONT size=2&gt; SendMessage &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Lib&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;"user32.dll"&lt;/FONT&gt;&lt;FONT size=2&gt; (&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;ByVal&lt;/FONT&gt;&lt;FONT size=2&gt; hwnd &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Integer&lt;/FONT&gt;&lt;FONT size=2&gt;, &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;ByVal&lt;/FONT&gt;&lt;FONT size=2&gt; wMsg &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Integer&lt;/FONT&gt;&lt;FONT size=2&gt;, &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;ByVal&lt;/FONT&gt;&lt;FONT size=2&gt; wparam &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Integer&lt;/FONT&gt;&lt;FONT size=2&gt;, &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;ByVal&lt;/FONT&gt;&lt;FONT size=2&gt; lparam &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;String&lt;/FONT&gt;&lt;FONT size=2&gt;) &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Integer&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Public&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Declare&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Function&lt;/FONT&gt;&lt;FONT size=2&gt; SetSystemTime &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Lib&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;"kernel32"&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Alias&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;"SetSystemTime"&lt;/FONT&gt;&lt;FONT size=2&gt; (&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;ByRef&lt;/FONT&gt;&lt;FONT size=2&gt; lpSystemTime &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;FONT size=2&gt; SYSTEMTIME) &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Integer&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Public&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Declare&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Function&lt;/FONT&gt;&lt;FONT size=2&gt; GetSystemTime &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Lib&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;"kernel32"&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Alias&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;"GetSystemTime"&lt;/FONT&gt;&lt;FONT size=2&gt; (&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;ByRef&lt;/FONT&gt;&lt;FONT size=2&gt; lpSystemTime &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;FONT size=2&gt; SYSTEMTIME) &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Integer&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#0000ff size=2&gt;Public&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Const&lt;/FONT&gt;&lt;FONT size=2&gt; DTM_GETSYSTEMTIME = &amp;amp;H1001&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Public&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Const&lt;/FONT&gt;&lt;FONT size=2&gt; DTM_SETSYSTEMTIME = &amp;amp;H1002&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff size=2&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff size=2&gt;Public&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Structure&lt;/FONT&gt;&lt;FONT size=2&gt; SYSTEMTIME&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Public&lt;/FONT&gt;&lt;FONT size=2&gt; wYear &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Integer&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Public&lt;/FONT&gt;&lt;FONT size=2&gt; wMonth &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Integer&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Public&lt;/FONT&gt;&lt;FONT size=2&gt; wDayOfWeek &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Integer&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Public&lt;/FONT&gt;&lt;FONT size=2&gt; wDay &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Integer&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Public&lt;/FONT&gt;&lt;FONT size=2&gt; wHour &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Integer&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Public&lt;/FONT&gt;&lt;FONT size=2&gt; wMinute &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Integer&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Public&lt;/FONT&gt;&lt;FONT size=2&gt; wSecond &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Integer&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Public&lt;/FONT&gt;&lt;FONT size=2&gt; wMilliseconds &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Integer&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;End&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Structure&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;FONT color=#0000ff size=2&gt;&lt;P&gt;Dim&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt; hwnd, datehwnd&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Integer&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Dim&lt;/FONT&gt;&lt;FONT size=2&gt; ErrMessage &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Integer&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;hwnd = FindWindow(vbNullString, &lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;"NameofApplication"&lt;/FONT&gt;&lt;FONT size=2&gt;)&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;/P&gt;&lt;P&gt;datehwnd = FindWindowEx(hwnd, 0, &lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;"DateTimePickerClassInfo"&lt;/FONT&gt;&lt;FONT size=2&gt;, vbNullString)&lt;/FONT&gt;&lt;/P&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Dim&lt;/FONT&gt;&lt;FONT size=2&gt; gettime &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;New&lt;/FONT&gt;&lt;FONT size=2&gt; SYSTEMTIME&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;SendMessage(datehwnd, DTM_GETSYSTEMTIME, 0, gettime)&lt;/P&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Dim&lt;/FONT&gt;&lt;FONT size=2&gt; changetime &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;New&lt;/FONT&gt;&lt;FONT size=2&gt; SYSTEMTIME&lt;/P&gt;&lt;P&gt;changetime.wDay = 2&lt;/P&gt;&lt;P&gt;changetime.wMonth = 3&lt;/P&gt;&lt;P&gt;changetime.wYear = 2006&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;SendMessage(datehwnd, DTM_SETSYSTEMTIME, 0, changetime)&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#0000ff size=2&gt;&lt;/pre&gt;&lt;/P&gt;&lt;/FONT&gt;</description><pubDate>Fri, 07 Jul 2006 10:57:14 GMT</pubDate><dc:creator>Sweetve13</dc:creator></item><item><title>Sending hotkeys via SendMessage</title><link>http://www.a1vbcode.com/vbforums/Topic18826-5-1.aspx</link><description>I'm using sendmessage in vb.net to send keystrokes to another application that is not active (application runs in background thus not active). This part works just great. But I am not able to send hotkeys. Say for example. I'm sending keystrokes to notepad and I want the date. One can do this by clicking Edit&amp;gt;Time/Date or sending Alt then E then D. How could I achieve this? Thanks! &lt;BR&gt;&lt;BR&gt;p.s. I've tried using WM_KEYDOWN, WM_KEYUP, WM_COMMAND to no avail. I'm sent the commands both to the handle for the specific control and the application itself (hwnd and x) and still no success. &lt;BR&gt;&lt;BR&gt;This is what I'm using to send the keys so far (sending keys works, just not hotkeys): &lt;/P&gt;&lt;DIV id=CODE&gt;&lt;STRONG&gt;Code:&lt;/STRONG&gt; &lt;DIV id=CODE&gt;VB.net: &lt;BR&gt;-------------------------------------------------------------------------------- &lt;BR&gt;&lt;FONT class=k&gt;Private&lt;/FONT&gt; &lt;FONT class=k&gt;Declare&lt;/FONT&gt; Ansi &lt;FONT class=k&gt;Function&lt;/FONT&gt; SendMessage &lt;FONT class=k&gt;Lib&lt;/FONT&gt; &lt;FONT class=s&gt;"user32.dll"&lt;/FONT&gt; Alias &lt;FONT class=s&gt;"SendMessageA"&lt;/FONT&gt; (&lt;FONT class=k&gt;ByVal&lt;/FONT&gt; hwnd &lt;FONT class=k&gt;As&lt;/FONT&gt; &lt;FONT class=k&gt;Integer&lt;/FONT&gt;, &lt;FONT class=k&gt;ByVal&lt;/FONT&gt; wMsg &lt;FONT class=k&gt;As&lt;/FONT&gt; &lt;FONT class=k&gt;Integer&lt;/FONT&gt;, &lt;FONT class=k&gt;ByVal&lt;/FONT&gt; wParam &lt;FONT class=k&gt;As&lt;/FONT&gt; &lt;FONT class=k&gt;Integer&lt;/FONT&gt;, &lt;FONT class=k&gt;ByVal&lt;/FONT&gt; lParam &lt;FONT class=k&gt;As&lt;/FONT&gt; &lt;FONT class=k&gt;String&lt;/FONT&gt;) &lt;FONT class=k&gt;As&lt;/FONT&gt; &lt;FONT class=k&gt;Integer&lt;/FONT&gt; &lt;BR&gt;&lt;FONT class=k&gt;Private&lt;/FONT&gt; &lt;FONT class=k&gt;Declare&lt;/FONT&gt; &lt;FONT class=k&gt;Function&lt;/FONT&gt; FindWindowEx &lt;FONT class=k&gt;Lib&lt;/FONT&gt; &lt;FONT class=s&gt;"user32"&lt;/FONT&gt; Alias &lt;FONT class=s&gt;"FindWindowExA"&lt;/FONT&gt; (&lt;FONT class=k&gt;ByVal&lt;/FONT&gt; hWnd1 &lt;FONT class=k&gt;As&lt;/FONT&gt; &lt;FONT class=k&gt;Integer&lt;/FONT&gt;, &lt;FONT class=k&gt;ByVal&lt;/FONT&gt; hWnd2 &lt;FONT class=k&gt;As&lt;/FONT&gt; &lt;FONT class=k&gt;Integer&lt;/FONT&gt;, &lt;FONT class=k&gt;ByVal&lt;/FONT&gt; lpsz1 &lt;FONT class=k&gt;As&lt;/FONT&gt; &lt;FONT class=k&gt;String&lt;/FONT&gt;, &lt;FONT class=k&gt;ByVal&lt;/FONT&gt; lpsz2 &lt;FONT class=k&gt;As&lt;/FONT&gt; &lt;FONT class=k&gt;String&lt;/FONT&gt;) &lt;FONT class=k&gt;As&lt;/FONT&gt; &lt;FONT class=k&gt;Integer&lt;/FONT&gt; &lt;BR&gt;&lt;FONT class=k&gt;Private&lt;/FONT&gt; &lt;FONT class=k&gt;Declare&lt;/FONT&gt; &lt;FONT class=k&gt;Function&lt;/FONT&gt; FindWindow &lt;FONT class=k&gt;Lib&lt;/FONT&gt; &lt;FONT class=s&gt;"user32.dll"&lt;/FONT&gt; Alias &lt;FONT class=s&gt;"FindWindowA"&lt;/FONT&gt; (&lt;FONT class=k&gt;ByVal&lt;/FONT&gt; lpClassName &lt;FONT class=k&gt;As&lt;/FONT&gt; &lt;FONT class=k&gt;String&lt;/FONT&gt;, &lt;FONT class=k&gt;ByVal&lt;/FONT&gt; lpWindowName &lt;FONT class=k&gt;As&lt;/FONT&gt; &lt;FONT class=k&gt;String&lt;/FONT&gt;) &lt;FONT class=k&gt;As&lt;/FONT&gt; &lt;FONT class=k&gt;Integer&lt;/FONT&gt; &lt;BR&gt;&lt;BR&gt;&lt;FONT class=k&gt;Public&lt;/FONT&gt; &lt;FONT class=k&gt;Const&lt;/FONT&gt; WM_CHAR = &amp;amp;H102 &lt;BR&gt;&lt;BR&gt;System.Diagnostics.Process.Start(&lt;FONT class=s&gt;"C:WINNTsystem32notepad.exe"&lt;/FONT&gt;) &lt;BR&gt;&lt;FONT class=k&gt;Dim&lt;/FONT&gt; hwnd &lt;FONT class=k&gt;As&lt;/FONT&gt; &lt;FONT class=k&gt;Integer&lt;/FONT&gt; = FindWindow(vbNullString, &lt;FONT class=s&gt;"Untitled - NotePad"&lt;/FONT&gt;) &lt;BR&gt;&lt;FONT class=k&gt;Dim&lt;/FONT&gt; x &lt;FONT class=k&gt;As&lt;/FONT&gt; &lt;FONT class=k&gt;Integer&lt;/FONT&gt; = FindWindowEx(hwnd, 0, &lt;FONT class=s&gt;"Edit"&lt;/FONT&gt;, vbNullString) &lt;BR&gt;SendMessage(x, WM_CHAR, Keys.C, 0) &lt;BR&gt;SendMessage(x, WM_CHAR, Keys.L, 0) &lt;BR&gt;&lt;/DIV&gt;&lt;BR&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR&gt; </description><pubDate>Thu, 25 May 2006 10:19:50 GMT</pubDate><dc:creator>Sweetve13</dc:creator></item><item><title>Application instances</title><link>http://www.a1vbcode.com/vbforums/Topic18986-5-1.aspx</link><description>Hello, &lt;/P&gt;&lt;P&gt;May I can get some help here... I'm trying to properly detect if more than one application instances are started.&lt;/P&gt;&lt;P&gt;There is App.PrevInstance, but this ensures only a previously started instance, I also need a subsequently started instance.&lt;/P&gt;&lt;P&gt;There is also the API function FindWindow, but this detects even the calling instance itself. I need here only if there is &lt;b&gt;another&lt;/b&gt; instance started.&lt;/P&gt;&lt;P&gt;Any other suggestions?&lt;/P&gt;&lt;P&gt;Thanks.</description><pubDate>Fri, 02 Jun 2006 10:37:46 GMT</pubDate><dc:creator>toni</dc:creator></item><item><title>API call to sendkeys(...)</title><link>http://www.a1vbcode.com/vbforums/Topic19016-5-1.aspx</link><description>i am using VB6.i tried to develop a tool which can keep the system active though the user doesnt press any keys or mouse moves for a certain duration of time.i tried to send some keys to system through sendkeys.&lt;/P&gt;&lt;P&gt;it did work well in win 98. failed to do the same when i tried to execute in win XP.&lt;/P&gt;&lt;P&gt;is there any other specific API available in winXP to do the same.&lt;/P&gt;&lt;P&gt;please ginve me the solution for this. thanks in advance..</description><pubDate>Tue, 06 Jun 2006 00:34:37 GMT</pubDate><dc:creator>sureshbabu</dc:creator></item><item><title>Memory Manipulation (Trainer)</title><link>http://www.a1vbcode.com/vbforums/Topic18097-5-1.aspx</link><description>Im trying to develop a trainer not for any particular game but the ability to read and maybe write to memory locations&lt;/P&gt;&lt;P&gt;It won't actually be a trainer but will have the same abilities i need to be able to determine when a games status changes etc but i don't know how to do this in visual basic i tried using pointers but failed is it possible for visual basic to read memory outside of its own process?</description><pubDate>Sun, 09 Apr 2006 00:07:40 GMT</pubDate><dc:creator>Chiko</dc:creator></item><item><title>Sonic Visual Controls - Enhance And Customize Your Applications</title><link>http://www.a1vbcode.com/vbforums/Topic18689-5-1.aspx</link><description>&lt;b&gt;Guys Go and checkout these New Activex Controls, Demos are available free to download. They are very cheap and attractive.&lt;/b&gt;&lt;/P&gt;&lt;P&gt;&lt;BR&gt;[SIZE=5]&lt;b&gt;[COLOR=Red]Sonic Visual Controls[/COLOR]&lt;/b&gt;[/SIZE]&lt;/P&gt;&lt;P&gt;&lt;img src="http://sonicxp.swij.com/SVC/pad/screenshots/boxsvcsmall.jpg"&gt; &lt;/P&gt;&lt;P&gt;&lt;b&gt;&lt;u&gt;Sonic Click - Mega Button Control&lt;/u&gt;&lt;/b&gt;&lt;/P&gt;&lt;P&gt;&lt;img src="http://sonicxp.swij.com/SVC/pad/screenshots/svc0001small.jpg"&gt; &lt;/P&gt;&lt;P&gt;SonicClick is an ActiveX Control which gives Web Style Buttons to your Applications. You can just drag &amp;amp; drop the OCX - control file to the Components panel and use it like a Normal Command Button. Its that easy.&lt;/P&gt;&lt;P&gt;&lt;a href="http://sonicxp.swij.com/SVC/sonicclick.html" target="_blank" class="SmlLinks"&gt;http://sonicxp.swij.com/SVC/sonicclick.html&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&lt;u&gt;&lt;b&gt;Sonic Progress Bar Control&lt;/b&gt;&lt;/u&gt;&lt;/P&gt;&lt;P&gt;&lt;img src="http://sonicxp.swij.com/SVC/pad/screenshots/svc0003small.jpg"&gt; &lt;/P&gt;&lt;P&gt;Sonic Progress Bar ActiveX Control replaces your Application's old style progress bar control with a new Stylish &amp;amp; Customizable control. You can just drag &amp;amp; drop the OCX - control file to the Components panel and use it like a Normal Progress Bar.&lt;/P&gt;&lt;P&gt;&lt;a href="http://sonicxp.swij.com/SVC/sonicpbar.html" target="_blank" class="SmlLinks"&gt;http://sonicxp.swij.com/SVC/sonicpbar.html&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&lt;BR&gt;&lt;b&gt;&lt;u&gt;Sonic Alpha Style Control&lt;/u&gt;&lt;/b&gt;&lt;/P&gt;&lt;P&gt;&lt;img src="http://sonicxp.swij.com/SVC/pad/screenshots/svc0004small.jpg"&gt; &lt;/P&gt;&lt;P&gt;Sonic Alpha Style Control gives your Applications Glass Transparent look &amp;amp; load your Splash Screens with high quality Animations  and make them look like designed by a Pro. Just drag &amp;amp; drop the OCX - control file to the Components panel and use it.&lt;/P&gt;&lt;P&gt;&lt;a href="http://sonicxp.swij.com/SVC/sonicalphastyle.html" target="_blank" class="SmlLinks"&gt;http://sonicxp.swij.com/SVC/sonicalphastyle.html&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&lt;BR&gt;&lt;b&gt;&lt;u&gt;Sonic Skinner Control&lt;/u&gt;&lt;/b&gt;&lt;/P&gt;&lt;P&gt;&lt;img src="http://sonicxp.swij.com/SVC/pad/screenshots/svc0005small.jpg"&gt; &lt;/P&gt;&lt;P&gt;Skin your Applications easily with Sonic Skinner ActiveX Control with few steps. Apply any user designed skins and eliminate the old boring  styles. You can just drag &amp;amp; drop the OCX - control file to the Components panel and use it. Its that easy.&lt;/P&gt;&lt;P&gt;&lt;a href="http://sonicxp.swij.com/SVC/sonicskinner.html" target="_blank" class="SmlLinks"&gt;http://sonicxp.swij.com/SVC/sonicskinner.html&lt;/a&gt;</description><pubDate>Sun, 14 May 2006 08:58:22 GMT</pubDate><dc:creator>swij</dc:creator></item></channel></rss>