query to Retrive Table Structure

140 byte By mimivahid at 2007-11-20 10:27:12
Dear All,<br/>have any SQL query to Retrive/show the structure of a perticular table. (SQL Server200). <br/>Regards<br/>Vahid

Macros, Outlook 2007, and ActiveWindows

1336 byte By daffed13 at 2007-11-20 10:27:25
Ok, so I am rewriting the macros for my job, and I am stuck.This is what they are suppose to do.1) Open a work doc2) Copy the text3) Close word4) Post text in the Email it was executed fromI am running in to an issue with I believe activewindow. Here is my script:Sub Test2()' We need an easy p...

[RESOLVED] VB6 - Spreadsheet (Runtime error 1004 Application-defined/Object-defi

3535 byte By Giftx at 2007-11-20 10:27:27
Hi everyone,I have a weired situation right here. My module was working perfectly all along. This morning I tried to run and got a run-time error: 1004 Application-defined or Object-defined error on this line of code. With xlWksht.Range(Cells(ii + 1, 1), Cells(ii + 1, 5))Below is my entire module:...

Howto Control a click event in a seperate application

482 byte By wdugdale at 2007-11-20 10:27:34
I need to automate a start up procedure and I need to enhance a VB 6.0 application.I need it to Automatically click a radio button and then an OK button on a seperate .exe. I do not have source code for this 2nd app....just the.exe .The application pops up on startup and my server will not continue...

[RESOLVED] VB 6.0 - Drawing an underline at the end of each record

3519 byte By Giftx at 2007-11-20 10:27:37
VB 6.0 - Drawing an underline at the end of each recordHello members,I am trying to underline the end of every record in my spreadsheet. but it's not working. I am using the codes below and it has no effect on the spreadsheet whatsoever. Could anyone tell me what I'm doing wrong?ii = 5...

CreateThread problem

637 byte By daftaryyog at 2007-11-20 10:27:52
I want to create a thread for a SUB (procedure) which will open a connection & recordset based on the parameters passed to the SUB. I had created a thread which works fine, but without any paramter. But now I want to create a thread which will pass the parameter to the SUB & then it executes.Declare...

create table vb6

165 byte By Cyrus at 2007-11-20 10:28:01
greetings<br/>is it possible to create table from vb6...<br/>the fld that i have to use is stored in a table..which is being updated..<br/>thanks<br/>cyrus

How to change the skin?

386 byte By mark103 at 2007-11-20 10:28:13
Hi guysI have create the forms with the images on it but I want to know if there is possible to change the skin on both forms at the same time and save into the registry so on the next software start the skin stay the same where it was, if I wish to change it then I have to click the button to excha...

[RESOLVED] how to know parts of an Image

496 byte By chunks at 2007-11-20 10:28:41
hi all, i have a problem.Suppose: you have an image (jpg, gif) of OPEN Dialogue Box. How to come to know about the parts of this image when i click on the image different parts like When i click on the OPEN button prog tell me by a msgbox you clicked "Open button of the image" And when i click on th...

GetTickCount

550 byte By nthaby at 2007-11-20 10:28:43
I am trying to measure the exact time it takes to get a solution in my program. I have used timeStart = gettickcountprocesstimeEnd=gettickcounttimeTaken = timeEnd -timeStartThe problem is that its like the time takes is in factors of 10's. Its like time is not being registered every milli secon...

datareport

272 byte By Cyrus at 2007-11-20 10:28:45
greetings,<br/>I was able to create ADO table thru VB6, using another table to create the fldnames, my problem now is making a report out of it,<br/>is it possible to insert labels to datareport, this labels will be extracted from a table.<br/>thanks<br/>cyrus

EAT browsing - testing

858 byte By bisiek at 2007-11-20 10:28:49
HiI don't have problem with doing such application, but I have it completed, and I'm not sure whether it works good.My program browses EAT list of a loaded library, and shows:- name of all APIs (including 'empty' ones)- their addresses (calculated from library)- addresses retreiv...

[RESOLVED] Problem With PropertyBag

610 byte By chunks at 2007-11-20 10:29:13
hello all,i have a project in which i have to save all images needed for the project at run time. In a saperate file also i have to store some string in that file. MEaNS: i have to store both images and string in one saperate file. The problem i can not do it with Resource at run time. But i found t...

insert data into database

469 byte By abhit_kumar at 2007-11-20 10:29:22
hello all,i have a table "Employee"Table fields are:-1) ID int type2) Date1 date type3) Reason varchar typei have made a application in VB, in which this three text field i have taken.in VB, those fields names are: 1) IDname 2)DateDisplay 3)ReasonDisplayNow if user enter any data on the form, this s...

System Tray

493 byte By NotepadGuru at 2007-11-20 10:30:27
Dear friendis it posible to check weather our own application system tray icon is loaded or not in to the tray? coz some time i see when xp starts, my app is running but the icon is not shown/loaded in to the tray.May be i have called the system tray icon code after some critical startup routins (os...

Send Fax using Visual Basic 6.0

654 byte By sharad.k at 2007-11-20 10:30:38
Hi :We need to send fax using visual basic 6.0. Fax numbers are stored in database. We are using canon fax printer (canon IR4570). We have installed Microsoft Fax service on windows 2003 server. We are able to connect to Microsoft Fax Server using Fxscomex.dll from visual basic but unable to connect...

Its Urgent (Project file or Exe)

218 byte By ShafaqatAli at 2007-11-20 10:30:50
How to Determine that Currently running VB project or Exe <br/>I tried <br/> If Command() <> "FromVB" Then<br/> RptPath = App.Path & "\Reports"<br/> End If<br/>but not working properly

Problem with FileCopy and Shortcut file type

782 byte By Hank07 at 2007-11-20 10:31:12
When I attempt to copy a Shortcut file from one location to another using the FileCopy command, I receive the following error: Run-time Error 53 File Not FoundNote: when I copy other file types such as excel, or access etc. from and to the same directories, there is no problem. Heres a snippet of t...

Wheres best place to purchase VB6.0 Professional

159 byte By Hank07 at 2007-11-20 10:31:25
I understand that VB6.0 is no longer available through retail. Any suggestions on where to purchase a slightly used product?<br/>Thank You,<br/>Hank

[RESOLVED] Formatting In a label

206 byte By chunks at 2007-11-20 10:32:00
how can i do formatting with a part of a label caption?<br/>consider <br/>label1.caption="This is Some TeXt"<br/>when i click on button then label caption should be like<br/>This is Some TeXt

[RESOLVED] When Memory is allocated?

283 byte By chunks at 2007-11-20 10:32:03
suppose i declare an Array <br/>Dim MyArr[100] As Integer<br/>when memory of the above declared array will be allocated? suppose i use only 10 indexes of the Array and leave remaining 90 Indexes.<br/>will remaining 90 indexes will grab memory or not if they are not in use?

VB Coding Doubt

295 byte By mimivahid at 2007-11-20 10:32:11
Dear All,<br/>While going through the Vb code , i saw a code like below.<br/>ACounter = ACounter + 1: FldNameVal(ACounter) = UCase(Trim(!FieldName) & "")<br/>Why they are using Colon( : ) after Acounter+1<br/>Expecting your Valuable reply ASAP<br/>Regards<br/>Vahid

Read text file...help!

1209 byte By lanne at 2007-11-20 10:32:16
Hi,I need to retrieve some data from a text file. Below is what I did but how could I retrieve student's name & result on history paper?Results.txtEnglish PaperNames ResultsChris 98Jenny 66Mark 73Josh 64Ella 70Zinky 64Stanley 55Resttiey 30Mathew 82...

[RESOLVED] Picture1.Cls

175 byte By chunks at 2007-11-20 10:32:18
this code does not clear the picture :(<br/>Picture1.Cls<br/>please tell me what is the method of clearing the picture if i have loaded a picture in the picture box?

Search for a file or folder

254 byte By DarkVB at 2007-11-20 10:32:27
1- is there any way to use VB 6 to search HDD very fast for a file or folder ? ( like installers )<br/>2- how can i get the CPU/GPU temperature ?! <br/>3 - tell me something about savesttings and getsettings .<br/>4- thanks<br/>6- ...

insert icremented data into database

346 byte By abhit_kumar at 2007-11-20 10:32:31
Hello Friends,i have to write a logic in VB, in that when i hit submit button on the form, there is one database field "ID", it will icrement and store in database always + 1.when i hit first time, it will store like that L0001, then L0002Datatype of this ID = varchar(5)please help me.thanksabhi...

Com port framming error

837 byte By akshye at 2007-11-20 10:32:37
I am using a hardware which has UART pin shared with some other serial protocol pin. So when the hardware is handling data with the other protocol, I get garbage on the UART.Now I have written an application in VB 6.0, which reads this data from the hardware. But I never get the data reliably with t...

VB6 and word

880 byte By j.offermans at 2007-11-20 10:32:46
I have build a macro in word 2003 and started from word it works perfectlynow I am taking the next step and I want to open the word document from a VB6 application and start the macro.Opening the word file worksStarting the macro works also.But here it comes: Halfway through the macro I get an error...

VB6 program needs to run and install without admin rights.

481 byte By chfyin at 2007-11-20 10:32:58
We have an in house application developed using VB6. Everyone whoneeds to use the program are not allowed to be local admins on theirPCs. I was wondering if there was a way to code the application tonot require admin rights (for modifying/creating excel and text filesas well as modifying the regist...

[RESOLVED] 12002 - Timeout Error

725 byte By dglienna at 2007-11-20 10:33:30
I have an app that is being tested at different locations. On my machine, things worked fine for about a week. Elsewhere, I sent it last Friday, and it worked fine across town.Saturday after noon, I started getting TIME OUT error every time that I run it.( not SERVER NOT FOUND, which happens when...

[RESOLVED] need urgent help

771 byte By noister at 2007-11-20 10:33:32
I have made an application that receives data from a server using windows socket component. It's already running for almost 3-month ago. Just last 2 days until today, I receive a wrong data instead of something like... "120203 0745 2004 0011...", now my application receives this information "...

detect if using Classic start menu

1107 byte By gnznroses at 2007-11-20 10:33:38
i've searched and searched and can't find how to do this. i need to detect if the Classic start menu is being used, as opposed to the XP Style one. note that this is separate from whether or not the XP Visual Style is being used.all i can find info on is a registry key in the Policies sect...

[RESOLVED] BIG Problem[Cant Think Title]

1133 byte By chunks at 2007-11-20 10:33:43
hello all,i have got a very big problem of my life now :( please solve this out. i got fever when i came to know i can not do it myself. i searched approx 4 hours last night but could not find any solution :(the problem is related to my project about which i have been bothering you all.The Problem I...

Save several Textboxes with CommonDialog

180 byte By BraveNewWorld at 2007-11-20 10:33:47
good morning to all.<br/>i have a problem and no solution.<br/>how can i save/read the input of, for ex. 4 textboxes with the commondialog.<br/>many thanks in advance and greetings

twain driver and duplex scan

368 byte By dsperry101 at 2007-11-20 10:34:07
Hello all, I am writing a VB6 app to complete work orders as the forms are turned in. I want to have the app scan the work order (8.5 X 11) duplex and save to a work order file number . The scanner is a docketport 485. Is there a free twain driver out there , I want to scan duplex , pdf and sea...

Recognise Registry Setting Changes

686 byte By DevHead at 2007-11-20 10:34:25
I someone can help. I have a VB6 ocx which sets a DWORD value in the registry which enables and disables a USB card swipe reader. My problem is that the registry settings only take effect after the card swipe reader is unplugged from the USB port and then re attached. Do u know of a way how I can ge...

make an icon for my program in notification area

100 byte By DarkVB at 2007-11-20 10:34:40
how can i do it ? i want to place an icon and a menu in notification area just like other programs ?

[RESOLVED] VB6 - spreadsheet - Format text paragraphs

2572 byte By Giftx at 2007-11-20 10:34:45
Hello everyone.I need to format how a row in my spreadsheet prints. Please see attachment for clarity.Each record is split into two lines, first line prints on the first row and the second prints on the second row. The second line that prints on the second row contains the field "comments". This "...

[RESOLVED] Simulated Desktop

80 byte By chunks at 2007-11-20 10:34:52
Please tell me what is the meaning of Simulated Desktop?<br/>thanks for any help

ScrollBar in Form

208 byte By chunks at 2007-11-20 10:34:54
if i have a Form under MDI Form. it has too much controls which can not be adjust in the available size of the form.<br/>so how can i adjust them using scroll bar? what could be the solution of it?<br/>thanks

INI file handling help please

861 byte By shudogg at 2007-11-20 10:35:02
I am writing a program. I have a list box on the left that will load only the section names from the ini file. so say this is my ini file:[APP1]location=c:\xxx[App2]location=c:\xxx[prog]location=c:\xxx[something]location=c:\xxxI need, on Form Load, to open the ini file and grab everything between th...

How to do Package and Deployment Wizard?

132 byte By koyuuken at 2007-11-20 10:35:11
After using that wizard, when I install it back, The program cannot detect the database. Can anyone guide me properly how to use it?

How to get coordinates in pdf document

221 byte By mgbtech at 2007-11-20 10:35:21
hi,<br/>can anyone tell me how to get coordinates in pdf document using VB or .NET, suppose if some text is written in pdf document then how can i get coordinates of that text. Its very Urgent.<br/>thanks in advance.

ActiveX Installtion Problem

512 byte By try.test.abc at 2007-11-20 10:35:22
Hello all, I have Created My ActiveX control and it works fine on my PC in Internet Explorer. I have to use it on web page. so i create a internet package and the html file works great on my PC but when i install it on Client PC it shows the Install option but actually nothing is ins...

Login Problem

2024 byte By abhit_kumar at 2007-11-20 10:35:36
Hello Friends,i have made login Form, in that three fields are there, 1) LoginID(Varchar) 2)Password(varchar) 3) EnableUser(Bit)when i press submit, Its access data from database, and validate the information and move to next page, else it will display error msg.(Its working).Now iam get stuck in th...

Problem Auto Mail sent

379 byte By abhit_kumar at 2007-11-20 10:35:44
i want to made an application in VB, in which when i press submit button the form details will sent to particular mail id.For ex:- i have form, in which two fields are there 1) ID 2)Descriptionwhen i press submit button on this form, the details of this form, will mail to "abc@yahoo.com".how to do t...

how to update records

207 byte By rekha_chaudhari at 2007-11-20 10:35:45
how to update records rollno,name in a stud_info table, using update query . <br/> code:<br/> "update stud_info set name=" & text2.text "where rollno=" & text1.text<br/>but for this i am getting error

Process Hook or alternative?

207 byte By Learn!ng at 2007-11-20 10:35:53
Hey<br/>I can get the processes with a snapshot with enumprocesses api... but seems like a waste with a timer... is there a system wide process hook that is triggered everytime a new process is started?

[RESOLVED] VB 6.0 - Some Data in in spreadsheet rows are not visible

2875 byte By Giftx at 2007-11-20 10:36:06
Hello everyone,I am having a display problem within my spreadsheet. The data in the spreadsheet row is hidden. Looking at the spreadsheet, you will see that the row that contains the "comments" is hidden, but when you manually expand the cells, you see the data. I have a code within my module where...

Best Free VB IDE

72 byte By Marcham89 at 2007-11-20 10:36:39
Hello. Im wondering what would be the best free VB IDE? Any suggestions?