| Subject | Date Asked |
|
| Access and Data Report | 3/2/2008 |
Q: Sir, Please, may I know the number or records that a table in MS Aceess can contain? I am having ... A: There is no limit on the number of records per se, however your table is limited to 2 GB in size ...
|
| Startup List.. | 3/1/2008 |
Q: ...Is there any code to get the startup programs list from visual basic 6.0? A: There are two places Startup programs will exist. One is the registry in the following location ...
|
| Help VB trouble! | 11/28/2007 |
Q: I really ran into a problem and I don't know if you can see anything on here, any help or insight, I ... A: Hey Jack, I'll be happy to help you out. I looked at your code in the text file (the zip file was ...
|
| For Loop | 11/24/2007 |
Q: I was a golfnut until rotator cuff surgery. Hope to be back playing in a month. I have a macro I ... A: I usually don't answer VBA questions but I've got a little experience in what your trying to do so ...
|
| vb6 save load text file | 11/22/2007 |
Q: i have 3 text boxes and a command button when i click the command button i want the text inside ... A: I read your follow up but I'm not sure what you are trying to accomplish. Why do you need a second ...
|
| vb6 save load text file | 11/21/2007 |
Q: i have 3 text boxes and a command button when i click the command button i want the text inside ... A: First of all, I suggest you reference the Microsoft Scripting Runtime library (scrrun.dll). This ...
|
| copy excel columns to txt documents | 11/18/2007 |
Q: Is it possible to copy excel columns to txt documents? I would like to transfer 50 columns from an ... A: I've put all the code in a Button Click event. The file name for the Excel file I used is Temp.xls ...
|
| const pii | 11/13/2007 |
Q: We are jointing to discuse about visual basic. We need to help your suggest. We are making program ... A: There is no function or Constant in Visual Basic to return PI. However, the following will return ...
|
| Log In form | 11/6/2007 |
Q: hopefully you can help me; i need a log in and password form only for like two or three users on ... A: Are you using a database to hold the User names and passwords? Can the user change his/her password? ...
|
| VB 6.0 list view | 11/5/2007 |
Q: how i can send listview data (to) datareport ( i need preview and print that reason i based data ... A: This depends on the report type. In most cases you wouldn't send the listview data to the report, at ...
|
| managing date and time in vb6 | 9/8/2007 |
Q: i have a vb6 application that get date and time form personal computer, then very often some end ... A: This is a problem that is not easily fixed. If you are on a network, you can get the date and time ...
|
| HTML mailing code | 9/7/2007 |
Q: I'm looking for some free VB6 code for editing and sending HTML mails with embedded images that can ... A: You're talking about two pretty involved parts here. VB6 code that allows for editing HTML. People ...
|
| vb | 8/31/2007 |
Q: e i should not get -ve values in the textbox) A: Use the Validate event of the textbox. Private Sub Text1_Validate(Cancel As Boolean) If ...
|
| vb help for crystal reports | 8/24/2007 |
Q: how to connect crystal repsorts 8.0 in a vb form please send as early as possible A: I haven't worked much with Crystal Reports but I am working on an application that is using it. ...
|
| VB doubt | 8/23/2007 |
Q: I want the coding to validate the text to accept only numbers or only text A: You can do this in the KeyPress event of the text box. You will also want to allow the backspace, ...
|
| vb-checkbox | 8/3/2007 |
Q: gud day! i have a report tommorow about vb-checkbox but idont what a checkbox is and what is it ... A: The check box control displays a check mark when it is selected. It is commonly used to present a ...
|
| get newline in textbox after pressing enter key | 7/27/2007 |
Q: i hav to design a form of onscreen keyboard i hav 3 buttons ("a","b","enter")& "text1" as textbox ... A: First of all, to make a textbox MultiLine you simply need to set the MultiLine property to True. ...
|
| Lists and Records | 7/24/2007 |
Q: i have created a list, which displays the results of a query. I would like to be able to select a ... A: What type of list, listbox, listview, combobox? Does your query result return a primary key that ...
|
| VB and Excell | 7/23/2007 |
Q: Is it possible to construct Excel formulas eg "=D2 + D3" using VB string functions and insert them ... A: I normally don't answer VBA questions but I happen to have done something like this before so I can ...
|
| MS ACCESS (VBA) - Queries: Append, Update, "Transpose" takes too much time | 7/21/2007 |
Q: Golfnut, I have 2 MS ACCESS tables. One is Receiver Data. One is Supplier Data. I'm trying to ... A: You pretty much described what you would do with SQL, however I'm not sure why you want to combine ...
|
| VB6 reading a text dataset | 7/20/2007 |
Q: I would like my VB6 program read a text file dataset. How would I go about this? Currently I am ... A: I'm not sure what your asking? What do you mean by a text file dataset? What do you mean by numeric ...
|
| Variables in multple Procedures | 7/14/2007 |
Q: Is there any way to get different Procedures to recognise their variables as the same: I want to ... A: You can pass the value to the second sub as an argument. You can pass the value ByRef or ByVal. ...
|
| read a text file, check for values, and update values | 7/10/2007 |
Q: I have a text file with many lines. Each line represents a record. I need to read positions 385 thru ... A: I suggest you use reference Microsoft Scripting Runtime (C:\Windows\system32\scrrun.dll) in your ...
|
| Refresh a pulldown menu | 7/9/2007 |
Q: The code you gave me last week for my pulldown menu works great however I need the pulldown list of ... A: I think your on the right track. You can unload all the menu items you added during run time but not ...
|
| read a text file, check for values, and update values | 7/8/2007 |
Q: I have a text file with many lines. Each line represents a record. I need to read positions 385 thru ... A: I'm assuming your question isn't about the reading of the values from the file. If so, respond to ...
|
| ms access 2007 | 7/7/2007 |
Q: how can i connect vb.net express edition to database of ms access 2007 A: You simply need to create a connection. For this you will need a valid connection string. I'm not ...
|
| Open PDF file from VB6 Form | 7/6/2007 |
Q: Firstly thank you very much for the code you gave me yesterday to populate a dropdown menu with a ... A: You will need the path of your pdf reader, in my case I'm using Adobe Acrobat Reader 7.0 and it's ...
|
| Array in pulldown menu | 7/5/2007 |
Q: I need to populate an Array of a pulldown menu with a list of pdf files from a folder. Then on ... A: Here is some code that looks into a folder and for all PDF files, it creates a new sub-menu item to ...
|
| Pulldown menu on VB6 Form | 7/3/2007 |
Q: I would like to know how to code the following... Using ADODB I have a form which displays unbound ... A: I want to make sure I understand what you are trying to do before I answer. When you say pulldown ...
|
| date as an array | 5/9/2007 |
Q: i want to store date and time in a characters array to manipulate them as separate characters. any ... A: There are quite a few ways to do this. I can give you the best answer if you explain in more detail ...
|
| Creating a find word in document | 5/8/2007 |
Q: i want to create a program which can find a specified word in a rich text box of a visual basic ... A: I've create a sample you can use to figure this one out. Basically you want to use the Instr ...
|
| Opening a modal exe from my VB application | 5/7/2007 |
Q: I have an exe file which I need to open from my VB application. Until the exe file is closed by the ... A: What are using to launch the external application? Basically what you will need to do is monitor the ...
|
| Visual Basci TAB STOP | 5/5/2007 |
Q: I want to prevent user pressing tab key. I am doing this using tab stop =false I run a loop and ... A: I'm curious why you would want to remove this functionality? People expect to be able to move from ...
|
| ranking records | 5/5/2007 |
Q: I was wondering if you can give me some tips on how to do this. I have an access database and it ... A: This is the problem I told you would have from the beginning. It sounds like you are using databound ...
|
| Extracting a MAC address and IP address in VB code | 5/3/2007 |
Q: I'm currently working on a VB coding, to essentially extract MAC address and IP address and display ... A: I'm assuming you want this for VB6 as you are asking this question in the VB6 forum. To do what you ...
|
| Backing up a access database through vb.net 2003 | 5/2/2007 |
Q: I'm writing a cosmetology program in vb.net 2003 and i'm using a database to store all the ... A: You will have to add a reference to "Microsoft DAO ..." to your project. Add the following code to a ...
|
| VB SQL Connection | 5/2/2007 |
Q: I am quite new in database programming. I now connect to my SQL database through the usual "set Con ... A: You could add a module to your application that exposes your connection globally (available to all ...
|
| ranking records | 5/1/2007 |
Q: I was wondering if you can give me some tips on how to do this. I have an access database and it ... A: Sorry it took so long to get back to this. Been really busy at work. You could create a drop down ...
|
| ranking records | 4/29/2007 |
Q: I was wondering if you can give me some tips on how to do this. I have an access database and it ... A: It's not difficult to enforce this in your database but it can be difficult to manage. To enforce ...
|
| database access vb6.0, ADO, MsAccess | 4/27/2007 |
Q: I refer to my question of yesterday about multiuser access to a database , and thank you again for ... A: Here is a page discussing the different types of database locks you can use on your database. ...
|
| databases ( Win XP , VB6.0 - ADO + Ms Access) | 4/26/2007 |
Q: Been waiting for u to return from ur vacation ;) Could you plz me me a guidance for developping the ... A: First of all you need to put your database in a shared directory on your network that is accessible ...
|
| keydown , validate events (vb6) | 4/18/2007 |
Q: the keydown(return key) event of a textbox requires it to set the focus to the next event. However ... A: Do you have a default command button defined on your form? This is done by setting the command ...
|
| Key Trapping? | 4/17/2007 |
Q: i am making a game, i have a 5 by 5 map and when the user presses a key he moves whatever direction. ... A: Perhaps this will work, but I can't be sure without seeing your code. Create a method that moves ...
|
| Vb6 | 4/17/2007 |
Q: Win xp , vb6.0 hello I have some textboxes on a form , and they all have a key_down event ... A: What are you trying to do? For instance, if you don't want the control to loose focus until they ...
|
| class and module | 4/16/2007 |
Q: watz the difference between class and module in vb6.0 and which one is gud and why A: A class requires you to create an instance of it before it's use and module does not. They are very ...
|
| How to allow control to form while running the VB Code | 4/13/2007 |
Q: I am new to VB Programming. I have written one application in VB that searches in the EXCEL and ... A: For the sample I gave in the previous answer, change the code in the Command2 click event as ...
|
| VB6.0 IDE: Highlight variable ocurrences | 4/12/2007 |
Q: I had seen the Eclipse IDE highlight all ocurrences of a selected variable (with tiny white boxes). ... A: I've not seen that before, but I've found another plug-in that does something similar. MZTools is an ...
|
| How to allow control to form while running the VB Code | 4/12/2007 |
Q: I am new to VB Programming. I have written one application in VB that searches in the EXCEL and ... A: When your application is running a process any control events (Button Clicks, etc..) are not raised, ...
|
| VB database help | 4/11/2007 |
Q: I'm writing a VB6 application that connects to a server. I want to know if it is possible to connect ... A: Yes and No. You can't connect directly to your database. However there are other means of doing what ...
|
| keydown/keypress event | 4/9/2007 |
Q: i am a student learning on vb 2005 express, and i've come across a problem that's given me more than ... A: You say the Form's mouseclick event is getting raised but not the Keydown event? When is the ...
|
| How do i make a scrolling picture? | 4/6/2007 |
Q: i want to make a picture in the background with a character pic on top of that to move around and if ... A: I've never really tried to do this, however you may want to try this. Add an image control named ...
|
| Encryption - could you explain how this code works? | 4/3/2007 |
Q: ' Encipher the text using the pasword. Public Sub Cipher(ByVal Password As String, ByVal from_text ... A: You've asked a very generic question about a lot of code. Basically this is a simple ...
|
| vb6 | 4/2/2007 |
Q: I am trying to use My.Computer.FileSystem object in VB6. I always get "user-defined type is not ... A: I'm not sure where you got the My.Computer.FileSytem Object from, but here is what you should be ...
|
| listbox control, multiple column data | 4/1/2007 |
Q: I am trying to add data from either an array or however else is possible to a list box the array is ... A: While a listbox does have a columns property, this is not relevant to what you are trying to do. The ...
|
| VISUAL BASIC FUNCTION | 3/30/2007 |
Q: WHAT ARE BUILT IN FUNCTION IN VISUAL BASIC? A: 'Built in functions' are functions that have been created for you and are always available. There ...
|
| how can i read the contents of a shared calender in outlook from VB | 3/29/2007 |
Q: I am developing a application which would open the shared calender of outlook and read the meeting ... A: I haven't done this before, but I know it's possible. Have you looked at the object browser for the ...
|
| VB6 Winsock Problems | 3/28/2007 |
Q: I have a loop that loads several winsock controls, using Load Winsock(i). This seems to create the ... A: You have a Winsock control on your form and an event handler set up to capture the event from the ...
|
| To question: | 3/28/2007 |
Q: *How can i play mp3 files automatically?? I want to apply it in the program where an mp3 file plays ... A: There are so many agents available it's impossible to know all the animations for all of them. ...
|
| publish website from visual studio 2005 | 3/27/2007 |
Q: In my project I first update database using vb of vs2005 on local hard drive with aspx, aspx.vb, ... A: Have you checked the ReadOnly property of the mdb file itself? Also, you will need to check the ...
|
| How can i read/write values into MPP from VB | 3/26/2007 |
Q: I am new to Vb programming.... I want to read /write values into particular cells in MPP using Vb.. ... A: I've used Microsoft Project but have never heard of it referred to as MPP (Ussaully MPP would be an ...
|
| visual studio 2005 and asp.net | 3/25/2007 |
Q: Defined in config.vb file connectionstring has absolute path. When files are copied to other drives ... A: If your using ASP .NET your relative path is quite different from your relative vb6 path. If your ...
|
| Temp. disable vb module | 3/19/2007 |
Q: Sir - first, thank you for your time.... I have a MS ACCESS dB with a module that allows the playing ... A: Create a module and dimention a boolean type variable with global scope (Public). This value will ...
|
| Network Path | 3/16/2007 |
Q: This is a little hard to explain but I will try my best to make sense. I am a network/computer ... A: I don't think it's going to matter if you get that path or not. Unless you have shared the path you ...
|
| Network Path | 3/15/2007 |
Q: This is a little hard to explain but I will try my best to make sense. I am a network/computer ... A: Correct me if I'm wrong, but your network path (if it's not mapped) should start with the machine ...
|
| making shortcut on desktop | 3/15/2007 |
Q: Respected Sir, would you please guide me , how to make shortcut of my vb form after setup is ... A: Creating shortcuts requires adding the following reference to your project. Windows Script Host ...
|
| online searchable database | 3/10/2007 |
Q: not sure if this is the right place but here is my question. I manage a website for my running club( ... A: YOu have a database in Exel? Why not use Access? Excel is a spread sheet application and Access is ...
|
| disable everything on screen except the my login form | 3/5/2007 |
Q: Im opening my own internet cafe and im thinking of making a program that would need every user to ... A: You can make the log on screen system modal. You will need to use a Windows API or two to do this. ...
|
| deleting folder at run time | 3/4/2007 |
Q: Respected Sir, Would you please guide me , how to delete a perticular folder which is present in my ... A: First, instead of the late binding CreateObject call, simply reference Microsoft Scripting Runtime. ...
|
| multiple stLinkCriteria | 2/21/2007 |
Q: I am building a database with a search form and a search results form. On the search form I have 11 ... A: Almost, your missingh an appersand If Not IsNull(Me![Type]) Then stLinkCriteria = stLinkCriteria ...
|
| multiple stLinkCriteria | 2/20/2007 |
Q: I am building a database with a search form and a search results form. On the search form I have 11 ... A: Each time you set the value of the variable stLinkCriteria, you are overwriting what you wrote into ...
|
| DLLs | 2/20/2007 |
Q: Sir, I have developed VB Application with access. I have connected database through Code. Created a ... A: I'm not familar with Inno set up. Have you tried creating an install using Visual Studio's Package ...
|
| DLLs | 2/19/2007 |
Q: Sir, I have developed a project with VB & Access. Created a setup with inno setup. Also created DSN ... A: Does this error happen everytime or just sometimes and only after the application has been running a ...
|
| tabstrips | 2/17/2007 |
Q: i have been building my aplication around the blue color , the sstab looks so ugly on it . what i ... A: Here are some MSN urls to help with both the SSTab control and the TabStrip control. ...
|
| VB 2005 EXPRESS | 2/17/2007 |
Q: WHAT CODE IS NEEDED IN VB 2005 EXPRESS TO AUTOMATICALLY "SELECT" TEXT IN A TEXTBOX ON A FORM? I ... A: The method to use is SelectAll. You will need to add this to the control's GotFocus event as well as ...
|
| tabstrips | 2/16/2007 |
Q: i want to use tabscontrols on my form. Have tried SStab control but what the hell , u cant even ... A: It's true you can't modify the backcolor of the tab control (or at least the tabs themselves) but ...
|
| combobox to edit values in multiple textboxes. | 2/16/2007 |
Q: Two textboxes with single combobox, but value is not gettin g inserted. Private Sub Form_Load() ... A: What value is not getting inserted? Inserted where? From what I can tell your code works fine, but ...
|
| ado, vb6, acesss | 2/15/2007 |
Q: i use vb6, ado , msacess databases i want to develop a simultaneous multiuser access database ... A: First of all your database has to be located on a shared drive of one of your computers. Your ...
|
| Connecting to database | 2/15/2007 |
Q: How can i connect to a msaccess database having password..using visual basic A: You can use an ADO connection. You will have to add the reference Microsoft ActiveX Data Objects 2.x ...
|
| arrays | 2/14/2007 |
Q: i have on a form 3 colums of 15 textboxes. The textbox keydown event (return key)in the 1st row of ... A: You can create a control array. If you name two textbox controls with the same name, the application ...
|
| converting tables | 2/12/2007 |
Q: how can I take a list of 64 items and make a list of (unique combinations of 2 of the items) from ... A: You can nest a for loop inside another for loop. In order to get every possible combination you ...
|
| .net 2.0 | 2/12/2007 |
Q: If you have any .net 2.0 experience here is myAll, Here is what I want to accomplish. Currently I ... A: This is a web application? A msgbox is going to run on the server, not on the client so it's not ...
|
| Visual Basic(vb+MSaccess), Iam an Inter | 2/11/2007 |
Q: My question is with MS Access. Please read the query below: INSERT INTO AppropriationTable ( ... A: It looks as if your SQL is fine, so I have to assume that there is a problem with your data. ...
|
| VB6 Listbox Control Question... | 2/9/2007 |
Q: Is there a way to add an alphanumeric value? If so, how? Thanks!Hi, For every item I add to a ... A: Unfortunately no. However, often times you can create an array of objects and store thier index in ...
|
| tabstrips controls | 2/9/2007 |
Q: i have inserted a tabstrip on my form. Am able to insert other controls on it at design time , but ... A: I think I can simplify things for you. Instead of using the tabstrip, try using the Tabbed Dialog ...
|
| VB6 Listbox Control Question... | 2/8/2007 |
Q: For every item I add to a listbox, I would like to assign a specific value for each item. How do I ... A: Assuming your value is numeric you can use the ItemData property of the listitem. You can do this by ...
|
| VB6 ADODB.Recordset | 2/8/2007 |
Q: If any possibilities for whole row and coloum values are put in a single object, using ... A: I do know of a way, albiet somewhat involved. I can give you the code and example of it's use. ...
|
| shell | 12/14/2006 |
Q: i was experiencing an 'invalid call procedure' everytime i run the shell command on my pc as i was ... A: There is another API, called ShellExecuteEx Private Declare Function ShellExecuteEx Lib "shell32" ...
|
| Why is this simple program so inconsistent? | 12/13/2006 |
Q: I wrote a simple program to find the largest value of five integers. The program sometimes gives ... A: Your problem here is that your variable Max is not declared as a type so it is defaulting to a ...
|
| RE: VB Loops | 12/13/2006 |
Q: How many times will the statements inside For/Next loop be executed? For intIndex = 2 to 12 step 3? ... A: Step 3 is telling your for loop to increment the value of intIndex by 3 for each iteration of the ...
|
| SQL Server 2005 varbinary(max) to VB v6 IPictureDisp | 12/11/2006 |
Q: I'm trying to pull graphic data (bit map format) from a varbinary(max) datatyped column in SQL ... A: I'm sorry but I've not worked much with SQL Server 2005 and have not worked with the varbinary data ...
|
| To retrieve a currency value in binary access file | 12/7/2006 |
Q: I would like to know how can I retrieve a currency value stored in a binary accessed file. I must be ... A: The problem here is you need to know the way it is stored on disk in order to retrieve the value. ...
|
| VB Run-time error 5:Invalid procedure call or argument | 12/5/2006 |
Q: Public Function GetInstalledCOMPorts(lst As ComboBox) As Long Dim Port As Long 'simply loop ... A: Remove ,Port - 1 from that line of code. It's not needed. So instead of this lst.AddItem "COM" & ...
|
| Internet Explorer status | 12/5/2006 |
Q: Programatically, how can I tell if my internet explorer is set to work offline? I have tried this: ... A: I can only assume that the offline setting is per instance of the Internet expolorer window opened. ...
|
| VB-SQL DataBase Ques. | 12/4/2006 |
Q: I have a VB-SQL Project.I have on Form Which Contain Listview(With CheckBox),DataEnvirnment and Data ... A: I'm not sure what you are asking. You have a listview with checkboxes. You want to loop through the ...
|
| login form connecting to ms access | 12/2/2006 |
Q: i have created a simple login form in vb. and all i want to do is to be able to login checking ... A: Here is how I would do this. In your project references, reference "Microsoft ActiveX Data Objects ...
|
| VB6 project on Server with stations | 12/1/2006 |
Q: I have developed a VB6 project and using mySQL as back-end. Both my .exe and mySQL reside on a ... A: You will need to install the application on both PCs. Your connection string needs to contain the ...
|
| Visual Basic 6.0 | 11/30/2006 |
Q: How Do I Write a Visual Basic Program that calculates an area of a circle,triangle? A: What information do you have? You will need some information about the circle or triangle. The ...
|
| Moving an object in run time | 11/30/2006 |
Q: I'm making a game with Vb6, and I wanted to know if you knew how to move a shape(or a label ex.) ... A: I think the easiest way to do this is to change your MousePointer. You can set the forms MouseIcon ...
|
| Urgent..Help!! | 11/28/2006 |
Q: I have written a code for installer in VB6.And right now its working perfectly fine. But this ... A: Sorry for the delay, my internet access has been limited due to power outages. You are most likely ...
|
| connecting database to a visual basic program | 11/27/2006 |
Q: please help me connect my database to a visual basic program by not using the data control. because ... A: There are many ways to connect to a database. I would suggest using an ADO connection if you are ...
|
| How to know the installation process is complete? | 11/27/2006 |
Q: I'm doing my research and i found a code that can make shell wait until the installation process is ... A: The first 3 lines are defining Windows API calls that the code is going to use. API calls are ...
|
| Why Does Scale Method Shift Output | 11/26/2006 |
Q: The scale method in the code below causes the word hello to shift to the right in the screen upon ... A: I thought I would explain what you are doing and perhaps this will help you understand what is ...
|
| iam beginer pls write in clearly. | 11/26/2006 |
Q: i am designing game.i want to add sounds to it.how can i add suond(.wav)in vb.net .it is deals with ... A: You will need to call a Windows API to play the sound. In this example, I call one of the Windows ...
|
| login form | 11/24/2006 |
Q: Can you give a code for Login User and Password.? Using Access for database. thanks in advance! A: You need to creat a connection string for the connection to Access. Part of the connection string ...
|
| How to know the installation process is complete? | 11/23/2006 |
Q: I'm literally writing my own VB6 installer and now I'm succesfully install JRE,Adobe and Flash ... A: Are you using the Shell command native to Visual Basic? There are window API calls that will give ...
|
| How to know the installation process is complete? | 11/22/2006 |
Q: First of all, I am a newbie in VB and currently making an installer using VB6. with my installer, ... A: I would suggest you create an installation package using the Visual Studio 6.0 Package and ...
|
| VB Speech | 11/21/2006 |
Q: What about if I had code that would put words that are spoken into a microphone into a text box, ... A: The problem here is determining what word the user spoke. YOu will not be able to enter that value ...
|
| VB Speech | 11/20/2006 |
Q: I want to write a VB program that displays a picture in the form (something simple), Then asks the ... A: Are you using VB or VB .NET? I think your going to need some kind of 3rd party voice recognition ...
|
| VB Nesting in Windows | 11/18/2006 |
Q: I am open to using either VB6 or VB.net, really depends on what can help me the most. Wouldn't ... A: A service would constantly run in the back ground, but it wouldn't (can't) have an interface. For ...
|
| VB Nesting in Windows | 11/17/2006 |
Q: I am currently on a BSc Comouting course and investigating the feasibility of some ideas for a Final ... A: Are you using VB6 or .NET? It looks like you need to create a windows service. However here is ...
|
| return value of a VB EXE file | 11/17/2006 |
Q: How can I create an EXE that will accept parameters and return a value? I have made a small utility ... A: You can pass the parameters using the command line prompt. Add this code to a Module. Public Sub ...
|
| Variables | 11/16/2006 |
Q: I am new to VB and I tried to create a variable. Here is what I wrote. Sub Variables() Dim ... A: Your variable declaration will work in VB .NET but not in earlier versions (Visual Basic 6 or ...
|
| input from serial port | 11/15/2006 |
Q: . i want to communicate between PC to serial com port.. Now m using mscomm1.. 1) how to take input ... A: I don't have an active serial port to test on so I can't help you much with the commport stuff. I ...
|
| Class creation with derived classes | 11/15/2006 |
Q: I am trying to work thru and figure out how to - Create a class Shape and two derived classes ... A: It sounds like you need to create a class named Shape. Add a method to this new class like this. ...
|
| tracing keyboard strokes | 11/14/2006 |
Q: How do I find out what was typed on my keyboard -----Answer----- This depends upon the scope. If ... A: Ah, the more difficult of the two, but still doable. Rather than me trying to give you all the APIs ...
|
| tracing keyboard strokes | 11/14/2006 |
Q: How do I find out what was typed on my keyboard A: This depends upon the scope. If you want to find out what the user types when they are in a textbox ...
|
| Get a cd Name vb6 | 11/13/2006 |
Q: Hai...I already get the cd Volume Name. Actually I want to create an auto installer for a CD using ... A: I'm not quite sure what you are asking? What are you trying to auto-intall? Do you have an ...
|
| Get a cd Name vb6 | 11/13/2006 |
Q: Hai..I am a newbie in VB6 (or any Vb platform).Thanks for helping me. My scenario is, currently I'm ... A: Is this a DVD or CD? I'm just wondering because of the example you gave. You are asking for the CD ...
|
| printer | 11/9/2006 |
Q: sorry for late i am use the microsoft data report that included in visual basic 6.0 in project menu ... A: Have you set the datareport's Orientation property to rptOrientLandscape? You should also be able ...
|
| Filling a datatable using a Select statement variable | 11/9/2006 |
Q: I am moving through a datatable on row at a time. I am creating another datatable from a different ... A: Not sure off the top of my head, but I noticed some differences here. You are using extra quotes ...
|
| Visual Basic Speech Question | 11/8/2006 |
Q: I want to write a program in Visual Basic which would replay the speech in real time. What I mean is ... A: I'm not sure why you would want a Visual Basic application to do this, I'm pretty sure Windows will ...
|
| printer | 11/7/2006 |
Q: how can i change printer mode from portrait to landscape and from landscape to portrait by code in ... A: I don't think that a printer has a mode of landscape or portrait. Each item sent to the printer ...
|
| Updating SQl server database using DAO Data Controls | 11/7/2006 |
Q: Yeah that's what I thought also at first but. I used windows authentication and tried using ADODB ... A: Sorry I haven't gotten back to you on this. I haven't found anything other than what you have found ...
|
| visual basic 2005 express-random number | 11/6/2006 |
Q: This is more complex than I need, but I am having a very difficult time with doing coding in Visual ... A: I think I may have confused with the Module level variable. The Module level variable refers to the ...
|
| VB6 ListBox results | 11/6/2006 |
Q: This may seem like a silly question But I cannot remember how to display the results of a listbox ... A: Private Sub List1_Click() If List1.ListIndex = -1 Then 'No item selected or list is empty ...
|
| visual basic 2005 express-random number | 11/5/2006 |
Q: I need to code the following program: It is a random number game that; generates a number by the ... A: I'm not sure what part you are asking help for, or do you need help on all of this? To generate a ...
|
| Linking Tables to MS Access | 11/3/2006 |
Q: I have an Access database (call it "A") that is somewhat dynamic-by that I mean tables are ... A: There are ways to programically link the tables between two databases. It's been a few years but I ...
|
| visual basic | 10/30/2006 |
Q: how can i link a menu option to launch a url specified in the body of menu option? A: Let me see if I understand the question. You want to launch a web page in a VB6 app by clicking on ...
|
| Objects in modules | 10/28/2006 |
Q: Is it possible to include an object from a form in the code within a module. For example if I have ... A: The simplest way would be to capture the click event in each form and in that event handler, add a ...
|
| Quickie | 10/26/2006 |
Q: I have an excel file with sheets labeled 1 to 100 in that order. I would like to have a code that ... A: You want to have a Visual Basic application that does this or a VB Macro within the workbook? Are ...
|
| database access visual basic | 10/15/2006 |
Q: how can hide my database to another because they can open that database in microsoft access so they ... A: how can hide my database to another because they can open that database in microsoft access so they ...
|
| Several Questions | 10/14/2006 |
Q: I am an expert on in this subject as well but I am crossing into new territory. I need a program ... A: I'm at home this weekend and don't have access to any Visual Studio apps prior to .NET. I'll look ...
|
| validation and databases | 10/14/2006 |
Q: could you tell me how validation is related to a database please A: Validation of what? Google database validation and you will get 26,300,000 sites. You are ...
|
| foxpro connection with DAO | 10/13/2006 |
Q: I have developed a program of stock correction for which I have used access as back-end and VB as ... A: You are trying to create a data import function to get the data from a FoxPro file into an Access ...
|
| Parent/Child Forms... | 10/12/2006 |
Q: For Each ctl As Control In Me.Controls AddHandler ctl.KeyDown, AddressOf ... A: This probably won't fix your picture box problem, but it might be important to consider. If your ...
|
| selecting a Datagrid row | 10/10/2006 |
Q: Good Day! Thank you for your advice. How can I select a entire row automatically when a record is ... A: I looked into this a little. I haven't ever used the datagrid as I have always used the flexgrid or ...
|
| selecting a Datagrid row | 10/9/2006 |
Q: Good day! In my form, I used datagrid to display data from a table in my database. It has a ... A: I think selecting the row is your best bet. You could always display a message to the user ...
|
| Parent/Child Forms... | 10/9/2006 |
Q: Ugh OK, what I mean is the standard KeyDown event for the form. Forget I said anything else, just ... A: Have you tried handling the KeyDown event of every control on the form? I have a child form I'm ...
|
| Basic ca culations Visual Basic 2005 | 10/8/2006 |
Q: I'm in a class on visual basic 2005 express and I don't understand how to code a car loan. I know ... A: Add three textboxes to a form. Name them txtLoan, txtYears and txtRate. Add a button named ...
|
| sql syntax | 10/7/2006 |
Q: I am trying to access a MS Access DB with the following sql statement: sql = "Select * from misc ... A: What error message are you getting? How are you trying to access the database? THe error you are ...
|
| VB6 MS ACCESS QUERY | 10/6/2006 |
Q: im a beginner in Visual Basic. I have created a simple record database that stores DAY#, DATE, TIME ... A: Since your day is stored in the database, why not simply give the user a combobox and load it with ...
|
| Parent/Child Forms... | 10/6/2006 |
Q: I'm using: Dim frmTwo as Form2 frmTwo.MdiParent = Me frmTwo.Show() I was told a couple days ago ... A: I've got a few more question. What do you mean there are no key down events for the form load? ...
|
| vb record | 10/5/2006 |
Q: I created a very simple program that records the Starting time, Finish Time, and its duration... ... A: First I want to point out that storing the duration isn't neccessary as you already store the Start ...
|
| vb | 10/5/2006 |
Q: I want to fill the MsFlexGrid using SQL Server 2000.plz help me. A: Here is a way to do it using an ADO connection and the Northwind database Private Sub Form_Load() ...
|
| Parent/Child Forms... | 10/4/2006 |
Q: I am using an MdiParent/Child control to open new forms in the main form due to a menu. The first ... A: I've tried to duplicate the problem you are having and couldn't get it 'not' to work. I loaded ...
|
| event handling | 10/4/2006 |
Q: i am using barcode scanner to scan a packing no. After user scan the barcode no , i want to fire ... A: Your barcode scanner should fire and event. I don't think you need to fire and event. I think you ...
|
| Difference Between Two Dates in VB 6.0 | 10/3/2006 |
Q: Iam Calculating Differences between two dates in terms of years,months and days.For this I was using ... A: I see your logic, you are calculating months as the 1st to the end of the month. However, that is ...
|
| Adding a records | 9/27/2006 |
Q: This is the code I use to display the corresponding details records for every master record. I use ... A: It looks as if your SQL statement above is causing your error. You are appending the value ...
|
| Macros | 9/26/2006 |
Q: I created a Pop-up field call defendants. How can I get the information I put in this field to ... A: You've created a Pop-up field in what? I'm sorry but I'm not sure what you are talking about. Is ...
|
| DISABLED MENU | 9/25/2006 |
Q: The problem only occurrs if there is a heavy resource use going on. The application is a cod code ... A: You wrote: Well if the doevents is removed other events don't fire, for example the timer won't ...
|
| DISABLED MENU | 9/25/2006 |
Q: The problem only occurrs if there is a heavy resource use going on. The application is a cod code ... A: This is not the first time I've seen issues with the DoEvents call. When you call the DoEvents you ...
|
| DISABLED MENU | 9/24/2006 |
Q: I have several menus on a MDI form; during operation of the program, several are disabled. If the ... A: I've tested what you say is happening and I do not get the same result. I have an MDI form with a ...
|