Answer Questions
Saravanan.W.S How to pause execution in a Form?
DOes anyone know how to pause execution in one form/method until another form/method is through then finish its own program. I want to be able to switch to another form, run some execution, then take the results to pass back to the original form and let it finish execution. WHen I try it, it will switch over and even pass info back, but the original form will fishish its sub-routine with out waiting for the results. Know it sounds confusiong. ...Show All
Kuma1 File Properties
I would like to access the file properties of a file (summary, title, author, etc). I need to do it for all files, not just office documents. Any assistance is greatly appreciated. Does look like it is something that has some pretty serious ramifications on its use. Look at the FileInfo class I'm not sure that all file contain this information. Office document ...Show All
Milque SQL Database Search For Logon Screen - Visual Basic 2005 Express
Hi All, I am currently working on a project designing a system for managing accounts. I need to make a logon screen, that will search through a table in an SQL database created within Visual Basic 2005 Express. The idea is it will search the logon ID until a match is found, when it will procede to check the password, or until no match is found, when it will return an error. If the logon is found to match one in the database, it will ...Show All
TareqFityani console applications
I am currently taking a class on Visual Basic. We are learning about console applications. We did a simple program in which everyone completed including myself with the exception that i am using Microsoft Visual Basic 2005 Express. Everyones dos window after running the program stayed open but mine opened ran and then closed in a blink of an eye. How do I keep the the dos window open ...Show All
JonT populate a form textbox with results from db query.
When users open my file in their browser, I want them to click on a button and populate a textbox on a form with the results of a query. Here is the code: <!--#INCLUDE VIRTUAL="/includes/connection.asp" --> <!--#include virtual= "includes/adovbs.inc"--> <script LANGUAGE="vbscript"> Option Explicit DIM mySQL public recnum Public objRS mySQL = "SELECT A12345 FROM Employees" Set ...Show All
CodeJunky Checkbox enables multiple fields
I have several groups of combo boxes with a check box next to each group. I'd like to make it so that if the user check the checkbox, the combo boxes will become enabled (they default to enabled=false). That wouldn't be so difficult, but in an effort to create what I'd consider more efficient code, I'd like to find a way to use the same routine to enable all of my groups of combo boxes by sending the name of the checkbox that was turned on into ...Show All
adolfo2005 deleting from database
i got a button called delete and when i enter in a order id (shown in the pic) and click on delete it goes into the database find the id and the row of information and deletes it, i want some information on how i can this can be done idea anyone please its not deleting the row :-S and the table names are right :-S okay i've moved it to my c: drive and changed the source, what do you mean by "run the script " ...Show All
MLU Shell and locale
Hi Hi, I need to call a command line program to download some Korean data from AS400. My computer is in Chinese so I change the Thread's CultureInfo to ko-KR. However, when I run the command line program by the SHELL function, the locale is still Chinese. I know I can use AppLocale in this case. My codes as follows: Console.WriteLine("Initial culture:" & Application.CurrentCulture.EnglishName) ' the prog ...Show All
Mr S IDRISI API SERVER
I have tried your code, but that it is not the problem I am having- I supect it isn't working because the API I am accessing is an exe file not a dll and is designed for VBA not for the new VB.net framework. The structure and way of dealing with API is different, therefore it doesn't work. Thanks anyway Leo Are you forgetting add the imports <module reference name> at the top of your code I hav ...Show All
F.Costa Saving gif files
Hi people, For a jpg file, you can save the file with the save method of the image object and you can specifiy a quality. code: currentImage.Save(SaveFileDialog1.FileName, _codec, GetQuality()) First parameter is the name of the file. Second is the ImageCodecInfo, here a jpg. Thrid is the quality as encoderparameters. Now I would like to save a .jpg file as a .gif file and I want to set a number of colors that it wants to use ...Show All
THERAOT Populating a Data Grid
In VB 2005 Express Edition, how do I populate a data grid on my form. The database I am using is MS Access. I have a total of 14 tables. Hi, Yes VB2005 Express Automatically generates a tool strip IF your gonna use databinding through the IDE. The sample that i showed you also would work if doing your databindings through code. To add, edit, delete through code, you must use dataAdapter and implement its insert, update, delete command. Or ...Show All
Stefan P Help.
How do I create a grid of pictureboxes (25 x 25) on Visual Basic 2005 and auto-name them pbx(row)_(column) for the picture boxes It is to slow and hard to manually rename all 625 of them. Ok question answered, thanks. New question: OK, I ran into another problem. I want it be so that if I click the picture box with the person in it, you can move him by clicking on another tile. How do I do this (I tried (got from Dustin_H 's sample code) : ...Show All
googleit Date Difference
I have two month calendars. Monthcalendar1 and monthcalendar2 I have set monthcalender 1 to be the computers clock date monthcalendar2 date can be chosen bu the user How do i get the difference in the number of days btw those to calenders Dim date1 As DateTime = MonthCalendar1.SelectionStart; Dim date2 As DateTime = MonthCalendar2.SelectionStart; Dim diff As TimeSpan = date2.Subtract(date1); Dim daysDiff As Double = diff.TotalDays; ...Show All
ieddy Hiding Parent from the grid ??
Dear Team beside the parent in the grid there is a "+" if it is pressed the details will be shown At the top right of the caption there is 2 small buttons, 1 to goback to parent, 2 to hide parent HOW to make the grid shows only the details directly without doing this steps any idea Thank you very much Hi, so that I can better understand your problem, ...Show All
shawncm217 Midi in - midiInOpen and callback / delegate functions
I'm using vb.net and have got the midi out functions working properly. I'm now looking to add midi in functionality to my project and I am confused about the use / syntax of MidiInOpen and the associated midiInProc placeholder function. I think I need to understand and use a Delegate function to point to my Midi in handling procedure but nothing works for me and I can't find a suitable example anywhere. Does anyone have any advice or examples ...Show All
