Answer Questions
barloworld I have problems in my registry app, please help?
Hello, I got this application which was compatiable with Visual Basic 6.0 so i upgraded to Visual Studio (basic) 2005 BETA 2 and then it didnt work. What it does you click a command button and it inserts keys to the registry and adds a Shell Context Menu and 'Upload to GuruImages' will appear when you right click a .png file. Could somebody tell me why this doesnt work, and how would I make it insert these keys into the registry on installati ...Show All
Marcus Adkison Status Strip - RTF Location
Hi All, Would like to know, what is the code for status strip text location. I am developing an advanced notepad for some customizing text etc. and cannot find code or examples anywhere of how to put a text label in the status strip for the text "Column" & "Row" location. Its basically the same as the windows notepad feature. Can anyone please help me with this. Thank You. Di ...Show All
Herve ANCHER VS 2005 IDE Unresponsive
We had originally installed Beta 2 of the product which ran better than expected. After using the tool from MS to uninstall the beta software we then installed VS2005 Final which we downloaded through our msdn subscription. The IDE becomes just about unusable. Not only that but it pretty much renders the computer useless while it eats up CPU cycles. This occurs during the following conditions: 1.) We make a small change in code and the edi ...Show All
sgrathikala Pasing a string to a textbox
Hello All, I have a small issue with passing a string to a textbox.. the senario is as follow: Form1 is opened with textbox1 and button1 When pressing button1, form2 opens to allow searching in a database. Results of form2 search are listed in listview1. selecting the required reslt is by clicking the desired item in listview1. Now.. I need to pass the result to textbox1 in form1 that is already opened. How Hi, In your form1, you could ...Show All
ClearSearch VB Application Settings
Im trying to build a program that runs on a database. I have tryed everything i can think of to change my connection string at runtime. What i want to do is enable a user to select a local SQL server that containes a copy of my database, and save it to the application settings. i keep getting a read only message when i try to change the app settings connectionstring setting. im not sure if i worded that right, if you need ...Show All
vishalsingh More Code Snippets
I was wondering if it was possible to have more code snippets; like; - Open a file and place text in that file in a text box. - Save text in a text box into a file. - Save text in multiple text boxes into a file. - Open a file and place the image in that file in a picture box. - Save image in a picture box into a file. Hi Jason, I think you can do the first three tasks using snippets ...Show All
Trevor Clark 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
lauramc FileStream.Write
I use a filestream to write a byte array back to a file. Dim filepath As String = "c:\program files\ApplicationData.doc" Dim fs As New FileStream(filepath, FileMode.OpenOrCreate, FileAccess.Write)fs.Write(BLOB, 0, CInt (BLOB.Length)) Next Instructions Will code operation stop on the fs.write until the file write operation to disk has completed, or do I need to trap the end of the write operation before allowing my 'Next Instru ...Show All
Marcelo - MSFT What's the limitation of VB Express?
Still the old 32K limit on controls, etc VB 2005 any better Does this mean you CAN'T evaluate SQL Enterprise Edition with VB Express And will VB Express run flawless on VB 2005 Are you saying that VS 2005 will help me write SQL into VB2005 Feel free to correct me at anytime.... I'm doing everything in VB Express and SQL express and when it works, create a SQL database with ...Show All
lambeauguy how to pass a variable to eventhandler
well first of all i must say i'm not a pro and may question may look stupid to someone:) so here is my situation: i have all the user form created on runtime on that form i create two or one listbox (dependeds on data) and a button control. When i review the check list and pick some items and push the button i need it to sort out some values from the Genre Arraylist wich is declared in the following. For that i need to pass that Arraylist dec ...Show All
Jim Bish Exception handling doesn't catch errors
I seem to be missing a fundamental point regarding exception handling. My understanding is that when an error occurs, it can be caught by Catch without abnormally terminating the program. Mine will always abnormally terminate when an error occurs. An example is below. When the connection fails to open, the application breaks instead of executing the Catch block. Why Try cnSQL.Open() xMainMenu.ShowDialog() Me .Close() cnSQL.Clos ...Show All
Gwired Arraylist in Arraylist
As a newbie I'm struggling how to set up an arraylist in an arraylist. dim TickerName as new arraylist dim Data as new arraylist Each tickerName contains an item with 1 Name, 1 MaxValue, 1 MinValue etc. (Class1) Additionally, each tickername must have an arraylist called Data, containing Prices, Volumes and Times (Class2 ) I've Googled for this but without result, at least one I could understand.. All help is appreciated ...Show All
YasserAli Form Design Goes Blank when switching between code and design?
Hi, I am running the release version of VS 2005 Professional. I have noticed a really annoying problem. I am developing a SDI application using a tab control to provide access to multiple pages that allow the user to input data. There are 5 tab pages and they have approximately 30 or 40 controls on each (labels and textboxes mostly and usually a single ListView, 3 command buttons and 3 or 4 drop downs). I often switch back and f ...Show All
shankarr How can I get the text in a particular textbox NOT to clear when I click on the AddNewItem button?
I have a form with a text box for a purchase order number. I want the number the user inputs to stay in the text box when the user clicks on the AddNewItem button on the BindingNavigator. Right now every time I click the button, everything is cleared out to start anew. I would like the user te enter the PO number once and it will stay there as each new item is added until the text is manually cleared. Thanks I understand about storing ...Show All
Fran M. Printer Object (Please Help)
HI! Im trying to print on a 2" x 1.5" continous form Sticker Tag to an Epson LX300 dot matrix. With PRINTER OBJECT, i set the ff. properties (scalemode=5 {inches measurement} ; height=1.5 ; width=2). The problem is, it doesnt EJECT to its defined paper lenght. Please Help! ...Show All
