Answer Questions
Nigel Stratton Counting Letters in a string
Hello, I am trying to get VB to count how many A's B's C's D's E's etc... that are in a declared string, can someone tell me how to do this. thanks Ray RFeather[AT][NOSPAM]chstaffing.com This looks like alot of code, but thats because it is in VB. . . download source code here ok. . . create a new Windows Application drop a ListBox on the main form drop a TextBox and call ...Show All
alden Getting VB 2005 to install
This is the third time I have asked this question. How can I get VB 2005 Express edition to install. Either from disk or from download, my 3.2GHz CPU locks up and refuses to handle the installation. I'd like to get it past the instalation. Is this usual or is this program impossible to run for every body Can anyone tell me how they got their program to install Do I have to load other software before it will install, if so what Please help. JEPC ...Show All
Joe Mordetsky Connecting to a server
im using the exportXML command in Microsoft Access 2003 to export a .xml file to my website. I have been experiementing with the exportXML command and have been able to export a table to a folder at my website. The problem is that before the table is exported i get a connect to website dialog box where you enter your server user name and password. Once submitted the .xml file is exported successfully. I would like to write some code that h ...Show All
smitaB creating ad.exe ''open
how do you create "yourprogram.exe ''open " things for your program Please read http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=227781&SiteID=1 Your description of what your problem is - is very weak and doesnt adequately describe what you are trying to achieve. Providing a more complete description will allow you to obtain a quicker more accurate response. ...Show All
name wb Urgent !!!!!!!!!!!! Services Status...
Hi All, Now again I stuck at an interesting point... I want to know that specified service is running or not... Like if I give the name of the service than I want to know that its running or not or hanged or stopped... STATUS Please Help me out of this probs. NateV wrote: Hi there, I believe that you can get the information you require by using the ServiceController class, which is contained in the System.ServiceProcess names ...Show All
Chowkilla Nagarjuna Cannot find file
Dim options As String = ( "/quiet /norestart /overwriteoem /nobackup" ) Dim updates As String = ( "F:\Updates\" ) Dim di As New IO.DirectoryInfo( "F:\updates" ) Dim diar1 As IO.FileInfo() = di.GetFiles Dim diar2 As IO.DirectoryInfo() = di.GetDirectories() Dim dra As IO.FileInfo 'list the names of all files in the specified directory For Each dra In diar1 Dim myProcess As Process = System.Diagnos ...Show All
Troy Cui Query returns records in Access but not from VB6
If I run the query in Access it returns 137 records. If I use the code below the recordset is empty. Both eof and bof are true. I have tried several different ways to execute, but I can't seem to get it to work. I use this process all the time and this is the first time I'm having this problem. I'm totally stuck. Set cmd = cat.Procedures("qinpatientcount").Command cmd.Parameters(pardtStart) ...Show All
SkySigal Sequence of Execution of Program Statements
I am trying to print out a status message to a text box just prior to loading a large file. The printing to the text box is not occuring prior to the download and I am confused about what I need to do to force the desired sequence of steps. Thanks, Fred Herring Dim b As Integer Dim OFD As New OpenFileDialog OFD.Filter = "Media Files|*.wmv;*.wma;*.avi;*.ram;*.rm;*.mpeg" OFD.ShowDialog() If Not ...Show All
Tiago Tavares How do I use Excel from VB2005?
I am currently attempting to port data from my VB2005 application into Excel but am unable to attain a connection from my program to Excel... I added the COM references "Microsoft Office 11.0 Object Library" and "Microsoft Excel 11.0 Object Library" and have declared the following under "Public Class frmMain" (for my program's main form): Dim Excel As New Microsoft.Office.Interop.Excel.Application I have tried declaring other namespaces ...Show All
Ross Smith Process inside a thread
I am experimenting with running a Process inside a thread. The thread works fine for running the process but I am unsure how to detect when the process ends so as to close the thread. In my previous code version I waited in a 'while' loop for the process to end. Thanks, Fred Herring The Process class has a WaitForExit method. It will block the calling thread until the process exits. ...Show All
Kolle Splash Screen Uses 100% of Processor
I recently noticed something that I wanted opinions on... If I create an empty application in VB.Net 2005 (with no controls and no code) and add a splash screen through the application properties... When I launch this application is runs my process utilization (as displayed in the Windows Task Manager/Performance) up to 100% while displaying the splash screen Even launching he VB.Net IDE doesn't run the utilization up that high. If it does thi ...Show All
amzayle Debugger is extremely slow
Has anyone else experiance really slow debugging in VB.Net Beta 2 Yesterday was the first time I used it to step through code line by line and I was shocked. It's a simple project with one form using a datagridview and it was horrible. We are talking a 3 - 5 second delay every time I hit the F10 key to step over... Thanks, Aaron Hi, Yes, I'm fighting with a very slow debugger, yesterday I went to add remove pro ...Show All
alexis.sourceau Listing the variables in a structure
Hi, Does anyone know how I would list the variables in a structure I have a requirement to load a fixed length disk record made up of many fields into a structure - and I was looking for an automated way of doing it instead of hard coding each field position. Regards Michael I think you're going to have to do what you said. I don't know of anyway to list the fields of a structure. 'yo ...Show All
Gavin T.D. Greig Newbie dumb question...
Is there a way to print out details associated with all my VB.net forms at once Including properties, associated classes, variables, data source bindings, etc Forgive my lack of the VB lexicon. Cbrad; Try right clicking on your solution name in the solutions explorer (ctl + alt + L), and select "view class diagram". This will create a new file in your solution. You can open it and see the properties, variables, meth ...Show All
Alsin Auto Tab
Hi guys, it's probably really easy, but I'm just starting out and need a bit of help. How can i get my form to go automatically to the next textbox once the maximum charcters have been filled in (If I'm posting in the wrong place tell me) thanks, chris (it's hard being new :-( ) just tried it but get: an error that: "length is not a member of System.Windows.Forms.Form" Private Sub TextBoxZichtrekening1_Tex ...Show All
