Need an help to code events for the dynamically created combobox in VB. As the combobox is created and filled with data at runtime, now if we want to access any event of this combobox how to code for that event. Please if anyone can help me out .... Thanx
How can I get Excel to scroll so that a given cell, say f13, is the top left cell?<br/>Sorry for the noob question. I'm used to Visual C++. Thanks.
296 byte By
TuNiX at 2007-11-20 11:52:30
Say im designing a simple program heres what i want to do.<br/>type a number into a text box, shut down the program and when it reopens i want that number to stay there.<br/>This is so i can change "options" inside of my programs and the program will remember those changes when it re-opens.
677 byte By
haydo at 2007-11-20 11:52:45
Hi There,At the end of the program I want it take an image or save all the information of the form. But I would prefer an image. Probably a print screen? That's just a guess!I know how to do the whole Form1.PrintForm1 thing but is there a way I can save the image of the form so the user can h...
1216 byte By
themaj at 2007-11-20 11:52:54
Can anyone here give me some advice on methods and strategy for maintaining and upgrading existing Access DBs as my VB6 (not NET) application develops and/or grows?The story goes like:MyApp.exe and my MyAccess.MDB are working fine together.Client asks for modifications that result in adding a Table...
524 byte By
hardik at 2007-11-20 11:53:42
Hello,I am having problem using CDONTS to send email through VB 6.0 App on WinXp machine. The problem I am having is that, when I use CDONTS in App, the App shows as if it generates the email. But email is not triggered until I log off from the Windows.The email comes to Inbox, only when I log off f...
969 byte By
derok at 2007-11-20 11:53:49
Hi,i am using visual studio 2003 and sql server 2000I have a program that connects to a database.the database contains two colums:example:ProductId--Name1----Casino Royale2----Silent Hill3----Lady in the Waterthere is a "Form1"when i click on a menu item on Form1, an inputbox is displayed asking the...
1105 byte By
Bezzie at 2007-11-20 11:54:11
I want to write a function to import my old database into a new database. The database consist of a number of tables (currently 14). In the function everything will work the same for each table except the select statement. This changes for each table. So there is a lot of code that can be reused on...
702 byte By
atuvy at 2007-11-20 11:54:13
I am writing code in VB6 which inserts data into a database on an SQL 2000 server, I have no problem inserting data but I cannot read it back. Please see code below.For some reason it does not read data and rst.RecordCount is always -1Public cnn As ADODB.ConnectionPublic rst As ADODB.RecordsetSet cn...
1230 byte By
dilsiam at 2007-11-20 11:54:17
Dear gurus: I'm trying to code a create new account button, but what it does is that it deletes the first record existing on the database. I would like help to create usr accounts without affecting the ones created, for an application that has a Log In form. Here is the code:Private Sub cmdCre...
357 byte By
furjaw at 2007-11-20 11:54:29
Visual Basic 2005: I have a DataGridView in Last Name sequence.Is it possible to when a user types the first letter of a last namethat it displays all rows with last names that start with that letter.When he types the second letter, it displays all records whose last name starts with those 2 letters...
436 byte By
bhuv at 2007-11-20 11:54:33
Hi, In class module I have created public property procedures Data source name, userid , password and databse name. In a sample form I am assigning for value for that. Initial Catalog = Databasename. First time it is executed, Second time I changed the value for datasourcename and database name. Wh...
Hi there, Hope everyone ok.I have a small Question. Is it possible to create labels in Data report designer having 2 labels horizontally in a page.Label1 Label 2Name 1 .... Name 2 ....How to write the details section so that it s...
Dear Friends<br/>How to insert data into office Microsoft project using vb6 application..<br/>If anybody knows ..please help me......i am needed badly<br/>Thnaks in advance.
i have created a web application using VB2005, i have stored date in one variable that i created in one page but when trying to access that variable in another page using request.querystring the variable return blank. Below is the code i am usingPage1.aspxResponse.Write(username)--saving the data fr...
1502 byte By
ai4u at 2007-11-20 11:54:55
I want to develop a POCKET PC application for PDA HP iPAQ hx2400 which have Windows Mobile. In my Local PC I have VS2005 and SQL 2000 on windows XP. When I try a simple application in VS2005 with local DB connectivity and run it on Pocket PC 2003 SE Emulator which is inbuilt in VS2005 it gives me "S...
935 byte By
SuperX at 2007-11-20 11:55:00
Hi AllI stumbled onto the forum and found it to be very helpful in some of the projects I am working on.. I am currently working on a project that requires me to have a grid on the main form, where by each coloumn represents a day of the month.. The software is going to show certain things happening...
Gutentag!<br/>I am working in VB6 and want to capitalize the drive letters in a drivelistbox when the form loads. Any suggestions?<br/>Thanks in advance,<br/>sweezapizza<br/>e.g. The drive list box displays c: or a: and I want them like C: and A:
309 byte By
roughan at 2007-11-20 11:55:06
Hi we are developing an application that uses Access links tables with an SQL SERVER 2000 DBif in a transaction (beginTrans)and i select then update a table and then select again it fails with an odbc error if i skip over the BeginTrans it is fine any ideas RgdsRoughan...
I want to open up a webpage in Internet Explorer and then save the displayed page as a text file. Worst case scenario, I'm willing to open up the webpage in Internet Explorer and read out the HTML Source code line by line and create my own text box... but I can't figure out how to do that...
280 byte By
sa_keles at 2007-11-20 11:55:32
how can i draw 3 different graphics on same graphic object? i have a x-y graphic and x=4 and x = 20 lines. how can i draw these two lines and the graphic on same objec (mschart or any other objects). i attached a picture, it could explain better what i mean<br/>thanks in advance
Greetings,I've created a com+ dll that uploads files, checks for a file extension and file size among other things. If the file is too large or has no extension an error is raised. This works like a charm in IE 6, but in IE 7 if the file is over 2048 kb and I raise an error that the file is to...
1015 byte By
kahyoong at 2007-11-20 11:55:59
hi, I'm having an error during runtime of my code.Dim theFile As String OpenFileDialog1.InitialDirectory = Application.ExecutablePath OpenFileDialog1.DefaultExt = "mpp" 'custom format OpenFileDialog1.FileName = "" OpenFileDialog1.Filter = "Microsoft Project File...
1796 byte By
TT-n at 2007-11-20 11:56:05
Here is an example of how to get the handle of the window, that currently has the keyboard focus.Since GetFocus is limited to the calling thread, this will attatch the thread input temporarily. Private Declare Function apiGetForegroundWindow Lib "user32" Alias "GetForegroundWindow" () As Int32...
How do i get it so that when i give my software to other people they don't have to download the odbc connector form mysql to connect to the mysql server to use the software.<br/>Thanks!
708 byte By
nbCathy at 2007-11-20 11:56:58
For some reason the following quit working in the MS "Vista" operation system. It opens notepad but it blank and it should contain data.Private Sub OpenResults_Click() SetFocusTotbN1 Dim CallWord As Long On Error Resume Next dummy = Dir(App.Path + "\TVRF_Results.txt", 0) Open dummy For Ap...
I have an application which does InvoicingI normally show my input form by InvForm.ShowI also have variables used globally in a Module for the applicationI want to be able to process as many InvoicesI need, (without having to close any other Invoices in Progress - Ie, I want to achieve multiple sa...
579 byte By
rutu at 2007-11-20 11:57:03
I am developing an application which will retrieve the information of register Dll in registry. I am searching the info under HKEY_CLASS_ROOT under Typelib to get the path of aplication by which it is registered.I am able to get the path name when i am compiling it through code but when i am making...
I am extremely new to VBScripts, but I am trying to teach myself. Any help will be greatly appreciated.I have created a VBScript that will open a certain application. However, I am unable to figure out how to enter the username and password to login to the application.Is it possible to use SendKeys...
Hi to all. I want to open and close local ports like port 25 or port 80 with vb.net. Can you help me pls?