hi need urgent help for vb Error!

217 byte By boohamad at 2007-11-20 9:48:28
when i try to connect to the database it tells me (Unrecognized database format.........D:\ITC\) so i tried to up loade the vb6 again and still it gives me the same error... so i wanted to know the solution for that?

I need urgent help for exporting datareport

271 byte By nishjee at 2007-11-20 9:48:29
Hello<br/>I have a problem when exporting datareport to HTML, the column alignment is changing from the designed alignment in datareport.<br/>Please give me a solution to solve this problem... Any one please help me...<br/>Thanking you...<br/>Faithfully..

Not actually a problem...

3124 byte By WoF at 2007-11-20 9:48:44
Hello friends.I want to start a little discussion here about some issues which really intrigued me recently.Some of you gurus keep going on about how you should Set myObjectVariable = Nothing before leaving a Sub or Function. I never did that and still live. So I made some tests with the following c...

connecting using data control

885 byte By jhoi at 2007-11-20 9:48:55
hi!Im a new member and a new user of vb6.0.whats wrong with my codes? im using data controlData2.DatabaseName = App.Path + "\db2.mdb"Data2.RecordSource = "Select * from Table1 where status = 'S' and '" & Text2.Text & "' >= Salary_from And '" & Text2.Text & "' < sa...

[RESOLVED] Sending audio output back to input

469 byte By 1stProg at 2007-11-20 9:49:04
Hi everyone, I was wondering if there was a way to send all my audio output (so what I hear through my headset) right away back to the input (so to my mic). The desired effect would be the same as putting your mic very close to your speakers and turning them up loud enough. Would there be any way to...

VB connect to WinFax Server

330 byte By kensan428 at 2007-11-20 9:49:24
Dear all,I have now written a vb6 program to perform fax automation. I want to ask how can I connect to the WinFax installed in another computer? There will be one Winfax server to send fax, my program needs to send the fax information to the server, I have no idea on it. Can anyone help me?Thanks,K...

SendMessage Issue

831 byte By NotepadGuru at 2007-11-20 9:49:50
Hai, I am developing a Desktop utility, a feature in it allows the user to apply Gridlines to Windows Explorer.I manage to apply Grid Lines to windows explorer window using the below code.sendmessage(hwnd,LVM_SETEXTENDEDLISTVIEWSTYLE, 0,lngOldStyle or LVS_EX_GRIDLINES)This works find. i can see the...

ask passowrd while unistalling product

139 byte By nilesh_lez at 2007-11-20 9:49:54
Hi Friends,<br/>Is thr any way to prompt for a password when any one try to uninstall my VB 6.0 application (.msi) from control panel.

I wnated to ask a q?

458 byte By boohamad at 2007-11-20 9:50:08
I made a programe using the data grid and ado for up loading the database but in that database i have a field with pictures which will help me to see the images of the houses but when i up loaded in the vb using the data grid and ado the link in the data base is showing in a strange way the problame...

[RESOLVED] VB 6.0 - Excel Error: #VALUE!

776 byte By Giftx at 2007-11-20 9:50:39
Good afternoon everybody.I need a quick direction here. A column ("Comments") in my spreadsheet that is is supposed to have text values is displaying:"#VALUE!" Note: my input data is coming from an access query. The underlined Below is the data in the "Comments" field in the query (recordset):"3/21/...

How do i create a search box type app in the Tasbar (Not system tray)

947 byte By GarethD.Norris at 2007-11-20 9:50:40
Hi All,I spotted the Google DeskBar (Image below in case you dont know what I mean) and the Nero Search bar a few days back and thought it would be great if I could combine it with a meridian dialing app I use at work. At the moment i am only concerned with getting the search type box into the taskb...

How to overwrite the system color settings in vb?

258 byte By dullboy at 2007-11-20 9:50:43
We may change the system color via Display Properties/Appearance/Advanced from desktop property. I wander if there is any way in vb to overwrite the system color so that colors used in application level can be independent from system? Thanks for your inputs.

How to enable\disable for system tray?

481 byte By mark103 at 2007-11-20 9:50:48
Hey guysI am new on this forum and I need your help with my discussion. There is no bugs report on this project file but I wanted your assist because I can't find any match on my type. On my required I am looking for to enable\disable for system tray. I hope it could save the string by itself s...

[RESOLVED] Creating an Explorer Like TreeView Control

312 byte By NoviceProgrammer at 2007-11-20 9:50:50
im trying to populate all the nodes of a TreeView Control with the contents of a drive(files and folders).i tried using FSO (FileSystemObject) to display the contents but all i can do is display the folders but not the files.how do i get the files and display them in a TreeView Control node?...

Application hangs while switching windows

512 byte By skyrekha at 2007-11-20 9:50:57
I have created a MDI application for stock prediction, But it behaves really very strange.Here is the problem.When I execute application and if I switch to another windows (like notapad , ms, word .. etc) programs, at that time my application hangs. the menu of MDI form disappears and I get status...

[RESOLVED] Add item to an XML file

1196 byte By aaronking at 2007-11-20 9:51:05
hello,I am trying to add an item to an xml file, and I have been looking for a while now..My XML file looks as follows:<MainNode> <settings> <ip>123.123.123</ip> <port>1234</port> </settings> <areas> <area1>test 1</area1> <area2&...

Loading external BMP file into a string

616 byte By NTxC at 2007-11-20 9:51:18
Hey all, now I have a problem that I can't solve. Please help me. :(What I want to do is to load a 58 bytes BMP file into the string, and then convert it to Hex that looks like this:Original BMP:BM: 6 (      Hex BMP (bytes split with spaces):42 4D 3A...

Problem with FileSystemObject and TreeView Control

918 byte By NoviceProgrammer at 2007-11-20 9:51:36
hi...im trying to list all the folders and files that is stored in a USB Device using FSO and TreeView Control...Heres the code:' populates the trvFiles with the contents of the selected USBtrvFiles.Nodes.ClearSet fso = New FileSystemObjectSet foldx = fso.GetFolder(Left(lstUSB, 2) & "\")Set pno...

[RESOLVED] Problem with ShellExecute

216 byte By NoviceProgrammer at 2007-11-20 9:51:42
i'm using ShellExecute to open files but i'm having a problem...<br/>whenever the file im opening is an image file (.ico, .jpg, etc.) it wont work...<br/>Is the ShellExecute unable to open image files?

MS Access to MS Excel Macro

642 byte By hadavidi at 2007-11-20 9:51:54
HiI have a bunch of tables in MS Access that I want to automatically send to Excel workbook at the click of a button on Access Switchboard. I have neither used Macros nor played with VB before. So far, I have been able to send data from a single Access table to a single excel file. The requirement i...

[MS Inet] How to check for time-out?

1515 byte By fredtheman at 2007-11-20 9:51:56
HelloI can't seem to get the MSInet control to report a time-out when it fails connecting to a web server: 'Form-level variable to check for Inet errorDim iErr As IntegerPrivate Sub Inet1_StateChanged(ByVal State As Integer) Select Case State Case icError iErr = icErro...

How to call a VB subroutine using a variable

1220 byte By eddy2 at 2007-11-20 9:51:59
Hi there!!!I have an Excel sheet that have some VB coding. In the Excel file I have a list of Excel files in colum A and in column B I do have diferent subroutine names that I would like to execute to format the files in column A. Since not all the files in column A will be formated using the same...

default program

313 byte By imosha at 2007-11-20 9:52:03
hii like 2 make my program the default program 2 open .txt files.i find code but it's not working on use formats.if any one can help me please i will be realy grateful 2 him.Thank u allimoshap.s i need the program 2 do iti now i can se it manually....

Delay between keydown and keyup - Sendkeys doesnt allow for delay

307 byte By jalak7 at 2007-11-20 9:52:28
Hi,I was wondering if somebody could tell me how to create a delay between a simulated keydown and a simulated keyup. I want to simulate an arrow key being pressed down and a half second later being let up. I don't think sendkeys gives that delay, or I don't know how to make it give a dela...

How to put the project in the internet?

268 byte By areon25 at 2007-11-20 9:52:32
hi all..<br/>i have a question.. i've made some project and after that, i want to put that project into internet, so that anyone can see it.. is that posibble to do it??<br/>if yes, can someone show me step by step to solve the problem..<br/>thanks

What is my syntax error?

344 byte By jalak7 at 2007-11-20 9:52:34
Private Declare Sub keybd_event Lib "user32" (ByVal bVk As Byte, ByVal bScan As Byte, ByVal dwFlags As Long, ByVal dwExtraInfo As Long)Private Sub form_load()keybd_event(37,NULL,0,KEYEVENTF_SILENT,0); 'press left arrow keykeybd_event(37,NULL,KEYEVENTF_KEYUP,KEYEVENTF_SILENT,0); 'release le...

Need wait funtion fpr my Excel/VB macros

222 byte By eddy2 at 2007-11-20 9:52:35
Hi:<br/>I need some coding that dispaly a textbox allow me to wait for a few seconds before continuing to execute the rest of the Excel/VB macro instructions that I have coded.<br/>Any ides guys?<br/>Thanks, Ed.

Inner Join

124 byte By Cyrus at 2007-11-20 9:53:12
greetings,<br/>how can i join ( inner join) two or more sql tables from different sql databases?<br/>10x<br/>cyrus

WebBrowser Control

402 byte By NotepadGuru at 2007-11-20 9:53:17
hai,my webBrowser controll prodeces this err every time i launched. "Run-time error -2147024726 (800700aa): Automation error, the specified resource is in use." when i say ok, it closes.actually it was woking nicly few weeks ago. but suddenly the above message appear when i launch from the exe. i re...

Editing Records in DataGrid

2657 byte By jmss66 at 2007-11-20 9:53:57
I am trying to edit records in my DataGrid. I clicked on the cell I am editing and change the data. I see it changing but when I close the form, the database wasn't updated. Am I missing a step? Below is my code for this sub routine. Private Sub pInitializeGrid()Dim l As LongDim strTemp A...

Capture the Network Connection Details

223 byte By bruce_b at 2007-11-20 9:53:59
I'm writing a code to capture the Newtowrk Connection status:Connected/disconnected; Duration; speed etc.<br/>Can you please help me which Windows inbuild api i can use to do this task?<br/>Will it be the advapi32.dll?

RichTextBox Context Menu on MouseUp event

1656 byte By pancakeparfait at 2007-11-20 9:54:14
Hello fellow coders,I have a child form with a RichTextBox to which I would like to add a popup custom Context Menu that appears under the cursor when the right-mouse button is clicked.I can't seem to find a way to edit any of the menu items in the default Context Menu, so I have set the AutoVe...

Converting Hex to decimal

326 byte By atuvy at 2007-11-20 9:54:18
I am doing a conversion of hex to decimal as listed below, it seems like if there is a "0" at the begining of the string the conversion results in a negative number, please help.sKDate = Val("&h0ed87")the result is -4729, if I do the conversion on a calculator I am getting the correct value which is...

Form Scrollbar

323 byte By cdude20 at 2007-11-20 9:54:34
I want to add a lot of controls to a single form. I only want the form to be 4500 x 6000 (not pixels, the other things). I want there to be a scroll bar to see the rest. I also would like it to be a simple as possible because the program is for school and I don't wanna end up spending days o...

Keycode finder

134 byte By dsrahul at 2007-11-20 9:54:42
Dear friends,<br/>How do I get to know that the user pressed Ctrl+Shift+Alt?<br/>& activate a function after that.<br/>Rahul

Resizing MDI Form Picture

245 byte By ShafaqatAli at 2007-11-20 9:54:56
I Add an picture on my MDI Form (from the Form picture property), I run this project on screen resolution 800*600 then there is no problem at all, but if i run this project on any other resolution then the form picture did not cover entire Form.

Dont allow to Terminate Process

586 byte By daftaryyog at 2007-11-20 9:55:20
I am a Visual Basic ProgrammerI want to develop a small module which can never be terminated (even with the TASK MANAGER) unless the USERNAME/PASSWORD is provided & is correct. It should not be terminated even with the END PROCESS, of course I am terminating the process only if the USERNAME/PASSWORD...

[RESOLVED] MSFlexGrid pls help out...!

799 byte By haggy at 2007-11-20 9:55:57
I am developing a database application and intend purging my retrieved result on MSFlexGrid row by row but i couldnt achieve this. i need assistance on this my code looks like this. Set TorridDbase = OpenDatabase("C:\Documents and Settings\" & GetName() & "\My Documents\MyDBase.mdb") Set MyRecor...

VB6 app via WInodws Mobile 5 RDP connection

1225 byte By KeyNoteSteve at 2007-11-20 9:55:58
My client has an existing VB6 application (SQL Server DB). The client would like to enable remote processing for one of the application functions to capture events in the yard. I have done a (very basic) prototype with WM5 running a distributed db and application ( I wrote this in VB.NET with SQL...

HELP: Run-time error 3219

1386 byte By rstringer at 2007-11-20 9:55:59
Hello, I am trying to insert a single, 1 column record into a table using ADO. Note that all variables have been Dim'd. Here is the code, with line #'s: 1. SqlInsertStr = "Insert into tblDummyS3ID (DummyS3ID) Values (NewMaxS3ID);"2. recset.Open "tblDummyS3ID", CurrentProject.Connection,...

How to create a custom Combobox in vb?

128 byte By dullboy at 2007-11-20 9:56:02
I want a custom Combobox to display a list of images. How can I do that in vb? Is there any sample code? Thanks for your inputs.

Force - Opens with:

293 byte By imosha at 2007-11-20 9:56:08
Force - Opens with:<br/>Hi <br/>I need 2 force "Opens with:" my_program (with code)<br/>Right Mouse button ==> Properties ==> Opens with:..Replace 2 my program<br/>How do i do that?<br/>Just that not register (the program is register) <br/>Thank you.<br/>imosha

sql....need your help

1670 byte By tirror69 at 2007-11-20 9:56:15
here's the problem: for example i made a table named(library)i save two person who barrowed many book's,let say 3 book per person..example:the name,address,book and day are the fields(name) (address) (book) (day)john smith...

data environment

350 byte By Cyrus at 2007-11-20 9:56:28
greetings,in data environment i have this;Select A.*, (A.value1+A.value2) as totalvalue from dbo.tablename as A.. it is not resulting to a total of value1+value1, the problem I've seen is that value2 is "null" value, how do i get around this problem, or is it possible in data environment.thnkx...

SHBrowseForFolder : set directory

167 byte By koenbuytaert at 2007-11-20 9:56:35
Hello,<br/>I have found the way to use the browse for folder api, and to add the button "new/add directory".<br/>But how can i set the directory to start at?

"Invalid TLV Record" Error in crystal Report

98 byte By c.sivasankar at 2007-11-20 9:56:53
I got the above error when i was used crystal report in VB 6.0<br/> <br/>How should i rectify it?

execute .msi file from vb6 app

178 byte By vbccoder at 2007-11-20 9:57:25
I need to execute .msi files to register and unregister application programmatically from vb6 application. I would greatly appreciate if any one could help me solve this problem.

LockScreenUpdate - LockWindowsUpdate

218 byte By imosha at 2007-11-20 9:57:41
LockScreenUpdate - LockWindowsUpdate <br/>Hi<br/>Dos anyone now how Can i lock My Screen 2 Update<br/>?<br/>LockWindowsUpdate Me.hWnd (not working)<br/>And<br/>LockWindowsUpdate GetDesktopWindow (not working)

winsock chat problem

901 byte By t3mpit at 2007-11-20 9:58:15
hello and welcome to the forum :Perm i made a program that thers 2 or more clients(that are the same) 1 server the clients connect to the server and send data thru the server.so the connection- works(2 or more clients can connect to the server)send data from a client to the server- worksserver sends...

Turn Off Drive Sharing

69 byte By ShafaqatAli at 2007-11-20 9:58:16
Plz help me to turn off sharing of any selected drive through VB 6.0.