Please help me

37 byte By akskushwaha at 2007-11-20 9:58:23
I wish to give XP look to my controls

Using Keyboard Input

745 byte By Gingus at 2007-11-20 9:58:49
HiIve been programming in Visual Basic for a couple of years, mainly through college, but it has usually been simple coding.I have recently started making small games as that is what i am interested in; the games i have made are only text adventures with limited graphics at the moment but i am hopi...

How to handle reserve words on VB 6 with MS Access

726 byte By tomrey at 2007-11-20 9:58:51
I have a query:insert into tableDetail (ID_Client, Value) values (25, 2000)In MS Access I put between [] the reserve word Value:insert into tableDetail (ID_Client, [Value]) values (25, 2000)But my conection don't support this query, in MS Access is Ok, but in VB 6 send:Sintax error in INSERT IN...

determining if in whatsthis mode?

894 byte By gnznroses at 2007-11-20 9:59:03
I want to include some help information along with parts of my app. I'm ditching my CHM help files and using regular .html files. I would like to add a WhatsThis help icon to the titlebar of some of my forms (or to one form, depending on which tab is active), but i would need to be notified whe...

How to set the font size of Caption of a form programmatically?

115 byte By dullboy at 2007-11-20 9:59:10
I expect the font size of caption of a form is independent of System. So how can I do that? Thanks for your inputs.

TargetPatch LinkInLink

512 byte By imosha at 2007-11-20 9:59:15
TargetPatch LinkInLinkHiThis is my code:----------------------dim ObjShell as new WshShellSim ObjShortcut as new WshShortcutSet ObjShortcut = ObjShell.CreateShortcut ("C:\xxx.lnk")----------------------' And I Get Folder/File Not Found (ObjShortcut.TargetPath) kCoz he Pointing 2 defrant targetW...

How to make a skin?

164 byte By mark103 at 2007-11-20 9:59:17
Hi guys<br/>I want to know how I could change the look for my vb form, it got to be a free development tool, are there any solutions??<br/>Thanks<br/>Mark

Problem with UserControl

617 byte By pragashan at 2007-11-20 9:59:18
I created my own User control which has a Picture property. When I use that control in my project and load a picture at design mode Is OK. ButMy problem is when I load a picture at runtime it shows an invalid use of property error.MyControl.Picture = LoadPicture ("C:\Screen.jpg")If any one know how...

[RESOLVED] How to Identify Controls Uniquely

689 byte By NotepadGuru at 2007-11-20 9:59:23
Hai,Assume an external application window has 5 command buttons. Assume the Buttons are arranged Paralaly.All 5 Button's Captions are "This is a Button". So the Button text and the Classe name are Same for all Buttons.Now i need to send a BM_CLICK Message to the 3rd Button using SendMessage API...

This program is not responding...

589 byte By jalak7 at 2007-11-20 10:00:40
My program stops responding, and I don't know why. I simplified it as much as I could to try and isolate the problem, but I still don't know why it's not working right. Here is the simplified code. (I had tried adding sleep, but it still doesn't help, it just makes the caption co...

[RESOLVED] Program - Chck for Update

423 byte By NotepadGuru at 2007-11-20 10:00:45
Hai,Many programs have a menu to 'Check for Update'. when clicked, a please wait message appear, in a few seconds a message will show 'New updates Available' or 'No new updates Available'.My question is, In a professionl program, what happens behind the seen?Which contr...

How to access a web service from vb 6.0 application?

994 byte By swimmy at 2007-11-20 10:00:57
Hi All, I have a webservice written in VB.NET. I want to use this WebSevice in a VB 6.0 application hence using VS Command Prompt wsdl http://localhost/WSPM/Service1.asmx?wsdl, i created a Service1.cs file. Then using another command prompt csc /t:library Service1.cs, created Service1.dll and then r...

What is this function does?

241 byte By NotepadGuru at 2007-11-20 10:01:08
I actually i foun only 1 google search result for this API/Function.<br/>CreateDCNull()<br/>Can you please tell me, what are the arguments required by CreateDCNull API/Function ?if you can give me the documentation, will be appriciated.

[RESOLVED] Loops within Loops within Loops within open File for input! Help!

760 byte By The1nk at 2007-11-20 10:01:29
Hey!I'm writing a program to simplify my major duty at work. ;) Love it. Anyway... I have the program open a file of about 6000 lines. It's simply a text file containing UPC, Order Num, Batch Num, Desc, Etc. All kinds of information regarding retail products. It reads a single line, then c...

[RESOLVED] Erase Drawing

901 byte By NotepadGuru at 2007-11-20 10:01:46
Hai all,i really did not find a VB6/Graphic forum here. so i decided to post this in to VB6 Forum. Please excuse me.Qustion : i use this code to draw a frame on the Display (Screen) in the specified rect region. problem is, after drawing the fram, how do i erase it if requir?'Creates a handle t...

[RESOLVED] Populate Ms Excel Worksheet with Recordset ...

108 byte By haggy at 2007-11-20 10:01:50
Please can somebody give me the sketch of how to populate Ms Excel Worksheet with Recordset values.. thanks

No system menu?

886 byte By mark103 at 2007-11-20 10:02:04
hey guys!I have manage that I have change a bit to make a new skinning program but just for test, well there are no system menu to be included when I run the test and I have checked through with the taskbar where the system menu usually to show on when you click on with the right mouse button. I wan...

Help Plz

228 byte By ShafaqatAli at 2007-11-20 10:02:37
In SQL In run Qry "Select DT From Employees" it returns Date in its <br/>default format like '12/31/2006' or 'MM/DD/YYYY'.<br/>I want to run an Qry that return date in 'DD/MM/YYYY' Format.

How to log-in databse through code ?

524 byte By loveneshk1 at 2007-11-20 10:02:40
i have assigned a password n username to the ms-access database file....now that database is not opening through code..."it says password required",i want to write a code to access the table by givin the said password & username through code,,,, could anybody help me out....i'm usin adodb conne...

Windows API...

129 byte By manu.patel at 2007-11-20 10:02:48
Hi Everybody,<br/> <br/>Is there any Windows API, which provides all the properties of every page of a tif file in VB :confused:

Connecting VB and Mercury Test Director

333 byte By seelan_ssp at 2007-11-20 10:03:00
I want to log conditions in Mercury Test Director 8.0 using VB. For that first I selected Mercury TestDirector 80 Client UI in Components(ctrl+T). By doing so I got some tools in Toolbox. From those Tools I selected TDFrameX, and placed that in my Form.I don't know how to proceed after that. Pl...

modal form is not at the front when parent form is set to stay on top

542 byte By vserghi at 2007-11-20 10:03:05
I have a form where I can set it to stay on top. On this form, I have a menu entry for an about box which is modal.In normal operation, ie no staying on top, the about form displays properly and the mainform won't get focus until the about box is dismissed. This is good.When I select the main f...

why does my code stop at row 42.

468 byte By r_kafalr at 2007-11-20 10:03:06
i'm trying to write a code that will copy each row and insert this copied row write after the row so i'll have each row twice.there is the code i'm writing: findlast2 = Sheets("Task List").Range("a1").End(xlDown).Row For i = 3 To findlast2 Rows(i).Select Selection.Cop...

[RESOLVED] Preventing an ocx control to be placed on the form

937 byte By jawadSahil at 2007-11-20 10:03:19
Hi,I am working on an activeX control. I want the control to check the registry and exit if no values found.Details:Here is what I require.1. I start a new project and add myControl from the Project>Components... to the project.2. Now I place an instance of the control on the form.3. The control...

VB MySQL connection hangs

1148 byte By Mothra at 2007-11-20 10:03:48
I'm just getting started with this project. I downloaded the ODBC driver and installed it and seem to connect to the database, but as soon as I try to run a simple query it just hangs (at: oRs.open). My dev machine is running Apache on WindowsXP, the code below is VB6 and ADO 2.8. I wrote a qui...

query & from vb6 to access

301 byte By the_magicien at 2007-11-20 10:04:01
i would like to make query from VB6 to MS Access. This query will select all record that contain '&'. my sql statement is "select * from main where remark like '*&*'".I can't get any record. I make same query in MS Access it's show 5record.Please help...

how to write to XML

128 byte By the_magicien at 2007-11-20 10:04:18
I want to write to XML file but my data contain char that XML not supported such as '&'. How i can solve this problem.

How to know file is open or not ??

479 byte By manu.patel at 2007-11-20 10:04:28
Hi All :) , I have a simple issue.I am using some functions of a DLL through my VB code which opens a file with some third party API's, but unfortunatly if a corrupted file comes, the DLL hangs and and returns to the VB code, now VB is unable to move this file to the Error Folder as it already...

Command Line Parameters

371 byte By wschalch at 2007-11-20 10:04:33
Hello, I have an VB EXE application that receives several parameters through the command line. The only way I found to read these parameters is by parsing the whole string that came to my application through 'Command function' and separate manually the parameters. Does anyone know a bett...

Input check......

191 byte By redsky21 at 2007-11-20 10:05:14
I basically have four textboxes...example text1,text2,text3 and text4...my question is how do it in such a way that it checks if for example text1 has the same input as text3 and so on ?.....

system tray is not showing the icon of specified pragram

369 byte By kvwarun at 2007-11-20 10:05:43
hi friends,The program which i desgined to shows the icon in the system tray is not showing on some computer. Though it is working in the background, could see in the task manager window. With some computer its quite ok. Please help me to find out the reason for this problem. thanks in adv...

ActiveX ctrls - wshAPIToolKitObject, wshLtwtNonModalDialog, wshWinView

210 byte By geearr at 2007-11-20 10:05:57
Hi,<br/>Is there ActiveX control equivalent to - wshAPIToolKitObject that I can use in Vista ?<br/>If not, in which other DLLs or OCXs can I find the APIs that are a part of this control ?<br/>Thanks

password through code

600 byte By loveneshk1 at 2007-11-20 10:06:31
hallo guys i 'm tryin to log - in the databasethrough code....database is in ms-access file....i have been successfully logged in database while usin dao & rdo in code...but i'm having problems in adodc.....i have tried givin password & username in the property window of ado....but it says...

Error while installing vb6.0 on win2003 server

144 byte By Shukla_Girish at 2007-11-20 10:06:34
hi,<br/>i am getting Error "ODBC's SQLInstallDrivermanager failed" while installing vb6.0 on win2003 server<br/>Wt could be the solutions.

How do I copy a file over and existing file

359 byte By Bob Callen at 2007-11-20 10:07:03
How do I copy a backup file over an existing file from within a VB application?For example; what is the syntax if I want to copy c:\data\datafileBackup.mdb over top of an existing file c:\data\datafile.mdb from within my application. I am using a file as a test database and I want to be able too res...

[RESOLVED] VB 6.0 - spreadsheet - display problem when printed

1914 byte By Giftx at 2007-11-20 10:07:16
spreadsheet - display problem when printedGood afternoon everyone,I have a minor display problem on my spreadsheet.My module runs perfectly to generate a spreadsheet but when the spreadsheet is printed, some of the data in the row does not show. You can see half of the characters hidden beneath the...

[RESOLVED] Can sum1 take a look

650 byte By bubble_girl at 2007-11-20 10:07:18
Hi - I've mad a little program that searches a map and puts the name of area into a listbox (See attachment) BTW - At the moment only the northeast works because I haven't programmed the restAnyway the problem is that when I click on the north east another map comes up which is fine BUT......

Using Access Databases with VB

1440 byte By Dark Potato at 2007-11-20 10:07:40
Hey guys I have not used Microsoft Access Databases before in Visual Basic and I need a bit of help with what I am trying to accomplish.I have my database setup where the main table; INFORMATION is used to log data into. It has the following fields, with 'Computer_Room' having a manual loo...

Problem in API

757 byte By close2jay at 2007-11-20 10:07:51
Hai, I am having a VB source code inside that we are having a Actuate API. Using the source code & API we created a dll in VB6.0 for our application. But its not working bcoz of version compatabilty issue. Actuate Corp. advised us to use Visual Studio .NET 2003 version for compiling th...

app receive parameters

396 byte By shariryaniv at 2007-11-20 10:07:53
hi,i'm trying to create an app that will be called (activated) by another app, and receive a paremeter from the same app that called it.i' tried to look around but did not find anything... :(what should i look for/under?how do i craete an exe that will be executed and in the same time reci...

Access DLL data by pointer?

505 byte By Markus W. at 2007-11-20 10:07:57
I have to process image data acquired by a digital USB camera.To control the camera there is a DLL. To access the image data there is a function to get the pointer to the image data. The VBdeclaration for the function is: Public Declare Function iss_GetImageMem Lib "uEye_api.dll" (ByVal hCam As Long...

How to hide your program from the Task Manager

138 byte By nilesh_lez at 2007-11-20 10:08:21
How to hide process from task manager in VB 6.0<br/>or Is is possible that no one (including administrator) from killing that process

[RESOLVED] Quick IF statement question

367 byte By bubble_girl at 2007-11-20 10:08:38
Can this be done? I am listing the days for each month but instead of writing them all out instead of putting If .text = April like below. Can I put in If .text = "April" or "June" or "Septheber" somehow?If ComboMonth.Text = "April" ThenComboChildDobDay.AddItem "1"ComboChildDobDay.AddItem "2"etc......

[RESOLVED] My Program Eats Memory Till Its Gone :(

1536 byte By jalak7 at 2007-11-20 10:08:43
Help plz...I simplified the code as much as possible. The problems still exists with the code below. It slowly eats memory until my computer can't properly display things on the monitor, and then stops responding.Option ExplicitPrivate Declare Function GetPixel Lib "gdi32" (ByVal hdc As Long, _...

[RESOLVED] Animation Form

636 byte By stin at 2007-11-20 10:08:46
I have a form in which I 'animate' a picture with a timer. I call this form during a long process in my main form with a call to frmAnimate.showThe form comes up, but then the time event never get fired, I'm assuming because control get sent back to the form calling the new one. If...

LDAP Authentication on Win98?

68 byte By tim8w at 2007-11-20 10:08:52
Is there a way to get LDAP Authentication to work on a Win98 Client?

Current User in sendkeys (Already saw FAQ)

755 byte By Overkill at 2007-11-20 10:09:05
Hi guys , im kind of a noob to this - Anyways , i want to use the current username in a sendkeys. Ive tried strUser = getCurrentUser and then sendkeys "Hello " & strUser.. It shows "Hello "Ive tried %USERNAME% and USERNAME in the sendkeys.. (sendkeys "Hello %USERNAME%" and sendkeys "Hello USERNAME"I...

how to read database .dat dbase from VB 6.0

298 byte By Mark_Lee at 2007-11-20 10:09:07
Frendz...I need your help...<br/>I need to read dbase database using VB 6.0 but the file is .dat file. Any one can tell me how i can read it from my app built using VB 6.0? I've tried to convert it to .dat file, by changing it's extension. But it doesn't work. Thanks for ur help...

[RESOLVED] Picturebox question

383 byte By bubble_girl at 2007-11-20 10:09:17
I have a form where you can upload images and all that works fine but then I have a 'clear all' command button that clears the formEverything works fine but I can't seem to write the line correctly needed to clear whatever image is in the picture boxAny advise?EDIT: Doh! Found the ans...

find a string in an excel spreadsheet

1037 byte By dsperry101 at 2007-11-20 10:09:20
Hello everyone, I am trying to manipulate an Excel spreadsheet. I want to search the A column for a string from a text box. I did this in Excel and generated the "Find" line by recording a macro. I can't get it to work in my VB6 app. What am I doing wrong ? Dim mailmwo As Excel.Applicat...