Answer Questions
dgVisioscopie An Efficient Way to Check String Variables?
I have a program that needs to check through strings and retrieve contents from them. The strings are formatted like so: ex: dim string1 as string = "5467,5829 keyword" Now, what I need to do is to check to see if input from a textbox matches the text in place of "keyword", and if it does, to then extract the pixel coordinates at the beginning of that particular string to then be converted into integers. So, I was lo ...Show All
adinaronson InputBox
I would like to know if it is possible to place text progamatically into an inputbox control. For example, if I would like to rename a record and would like to use an inputbox to allow the user to see the old text and make changes. Thanks, Fred Sure you can set the default text in the input box Dim s As String = InputBox( "Enter some text" , "Heading" , TextBox1.Text) TextBox1.Text = s This ...Show All
Alberto Manzanilla Xml representation of Typed DataSet.
How can I see the xml representation of myDataSet.xsd file Thanks Hi, What I meant was in the IDE itself. Right click the file in the Solution Explorer... In the "open with" list of programs, I tried using XML Editor and It just opened in the IDE... cheers, Paul June A. Domag Of course you can. Visual Studio supports XSD format and there is also a XSD Designer included in Visual Studio. Regards, Vikram Hi, Tr ...Show All
vincentvdb sql delete statement to change two tables
Hi im trying to delete data from one table if it exists in another i have this code but it deletes all data from server table please help DELETE FROM Server WHERE EXISTS (SELECT [Product 1], [Product 2], [Product 3], [Product 4], [Product 5], [Product 6], [Product 7], [Product 8], [Product 9], [Product 10], [Product 11], [Product 12], [Product 13], [Product 14], [Product 15], [Product 16], [Produ ...Show All
MicScoTho VB6
Hi It's been a while since I've done any VB programming, and I need to get back in to it for work purposes. I've quite a bit of experience at VB 6 programming and have lots of code and examples that I need to use again. Is the latest VB development package backwards compatible with VB6 I'm sure all of these questions have already been answered so appologies for that. Thanks John I totally agree Rob. For t ...Show All
Crirus Splash Screen...
With the default template for the splash screen in 2005, how do I make it show longer Thanks, Tom the splash screen unloads after the main form has fully loaded, so if you want it to last longer you need to introduce a delay. As the initial connection to a database can take a few seconds it's often an idea to add an open and close into the splash screen so that the delay performs a useful purpose (the closed connection will be in avai ...Show All
olapdummy Deploying a windows form with a database
Hi, I have created a windows app (its a phone book that uses a database to store names, phone numbers addresses and email addys) for the database, Im using an Access database (mdb file extention) and in Visual Basic 2003 I use the Microsoft Jet 4.0 OLE DB Provider for the DB hookup, now what I need to do is be able to deploy this app by creating an Installer for it. How do I get ALL the nessary files needed to run this app with the database on a ...Show All
dazza70 Reading a "text" File
Im trying a read a "text" file that is a storage file for a proprietory software package. I can open the file up in notepad and read it all fine, all the data is there and visible in a plain text format, and i can also import the file into excel or basically anything else.. My problem is that when i attempt to read the file into a VB 2005 richtextbox, or textbox it won't read the whole file. (doesn't matter if i use read, rea ...Show All
bennyboy18 thanx
What I'm trying to do is have a text box for a user to enter a name into, then extract each letter from that box in order, turn letters into numbers, then screw with that to come up with an apparently random number for later verification (see if the name matches the number). My question is- how can I get each number into a seperate variable, then change it into a number (and all letters be pre-defined, so it's always the same number for each let ...Show All
Peca Search function
Hi! I need help to make a search function to my program. I want to search after Spyware (my program is an antispyware program) So then i need help with the search thing. I thought that maybe I must make a file or database with all the spyware names in. Then my program reads the names fro the file\database and search after it. Just think about a anti virus program that search after viruses. Could somebody help me with this Ok thanks, it w ...Show All
LorSmith Can't run SnippetEditor.exe
it says, "Unhandled exception has occurred in your application. If you click....will close immediately. "Object reference not set to an instance of an object." Details: See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.NullReferenceException: Object reference not set to an instance of an object. at SnippetEditor.Snippe ...Show All
Manmeet Panigrahi Migrating Access Form to .NET
In the article found on this webpage ( http://www.microsoft.com/technet/prodtechnol/sql/2000/Deploy/accessmigration.mspx ) it says, "Re-create your forms using .NET and migrate your reports to Microsoft Reporting Services. For more information, see the Microsoft white papers , “How to Migrate Access Forms to .NET” and “How to Migrate Access Reports to Reporting Services.” But when i do a search on that article, i find nothing. I've tried ...Show All
Uzzy Error: "The file exists"
Hi, everytime i try to compile my program or when i open the 'screensaver template' i get following error msg: The file exists. And there is no error-code nor anything.. After it compiles a windowApplication, it just opens the stock form1.vb instead of the form i just made. - MrNielsen PS: Sorry if i post this the wrong place, im new to this community If you step into the debugger do you get the same error ...Show All
Infinite Dimentia DoEvents() - How many times, where and when to use
Hi, How often should one utilize the Application.DoEvents() procedure Where should it be used most often or in potential trouble spots Some good guidelines on it use and best practices would be greatly appreciated. TIA! Use when necessary. I suppose the answer is better implemented by understanding what it is doing. http://msdn2.microsoft.com/en-US/library/bd65th41.aspx An example of this is ...Show All
jaspi How to Add DropDown (sub)menu items
I have a toolstrip bar with a dropdown menu. I can add menu items to the dropdown while the program is running; however, I'm having problems adding a submenu (dropdown) to that newly created item while the program is running. I can't seem to get a reference to the newly created dropdown to create the new dropdown. Hre's my test code: Dim ddm As New ToolStripMenuItem Me .tsb_ddbTest.DropDown.Items.Add( "m1" ) ddm = M ...Show All
