Answer Questions
souma Edit And Continue won't let me make changes ... why?
Hi, My main reason for downloading the Visual Studio 2005 professional beta was to get the edit & continue functionality that I miss so much from VB6. However, when I break into my code at a break point and start to make a change the IDE tells me that: "You have made edits to the sourcecode that cannot be applied. Changes are not allowed if debugging has started via attach. If you continue to debug, your source code and applica ...Show All
Xserv4real imagelist icon to be blank
How do you create an icon that is actually blank so that I can reference it in my imagelist and when I use it, it is blank next to the node text Or does someone have one that I can use I tried to take an Icon and remove the color/lines ect... and saved it and it was displayed with weird shades. Any ideas or suggestions Thanks Theresa Thank you. The website was very helpful and I was able to create a b ...Show All
poo Screen capture
In VB6 I could do a screen grab using a key event for the Print screen button then get the image from the clipboard and write that image to a file. keybd_event vbKeySnapshot, 0, 0, 0 ' send a print screen button up event keybd_event vbKeySnapshot, 0, &H2, 0 ' paste the clipboard contents into the picture box ScreenCapture.Picture = Clipboard.GetData(vbCFBitmap) SavePicture ScreenCapture.Picture, "C:\Caliprogs\Result ...Show All
rich4542 Windows Forms Problem
Am I going mad I have a form with a bindingNavigator bar and a bunch of text box controls. It appears that Click events on the bindingNavigator buttons fire before the control that loses focus fires the Leave and LostFocus events Is this behaviour by accident or design or am I doing something wrong Unlikely....Code sample please! Here are the relevent code fragments. The scenario is that if the user amends the text in the Lo ...Show All
AzizDsoua no output visible from debug.print(...)
Hi I create a simple Windwos Form Application, place one button on the main form which executes debug.print("hello") Pressing the button while running the application in IDE generates no output in the Output window. (neither 'Show output from: Debug' nor 'Show output from: Build' Debug is the active configuration and 'Program Output' and 'Exception Messages' are enabled to show in the Output window. My IDE is: Microsoft Visual Stu ...Show All
big3 Delete Key
i am using a a textbox and a keypress method i need to capture when the user presses backspace or delete i have the backspace but i cant get delete as it does not call the keypress method. any help would be appreciated Also, if you want nothing else to handle the key press but your code, you should use e.SupressKeyPress = True in your handling code. --Matt--* Handling the delete key and all the other keys such as function ...Show All
greg_burns Graphics Persistence
I am using VB in VS 2005 Beta 2 and have a windows form (call it form A) on which I draw a few lines using the DRAWLINE method. Everything appears OK ... but then I display a message box (on top of form A) and when I close the box the portion of the lines on form A that happened to fall under the message box are erased. How do I specify that the lines are to persist and not be erased if another form is displayed on top ...Show All
RobSmith How does VB app go about authorizing itself to modify SqlX 2005 database?
Environment: VB 2005 Express Edition Sql 2005 Express Edition. XP Pro, 1GB of memory, 160 GB disk space, Pentium IV processor Project Goal : Develop a desktop app which connects to local database instance named ".\sqlexpress". This app is intended for distribution to other desktop users. The app needs to perform database and table modifications. This may be done through stored procedures. i.e. change database options ...Show All
David Johnson MCSD How to write smart application VB 2005/.NET
Hi, I am a new programmer in VB basically I want to write a database programm in visual basic 2005/.Net managed by a central server(the user will be login from remote locations) means user does not need to install a whole programm on its PC only some runtime files, is it possible in VB 2005/.NET. waiting for reply. Khawar If you encapsulate your data access behind a business tier housed on the server, then you can eliminate deploying the ...Show All
JonasSvahlstedt GDI+ Questions
I have this beloved old VB6 program that has been converted to a sleek new vb2005 program. It's name is "Color" Color is a utility. It will sample pixels color anywhere on the desktop. It also gives me the x-y coordinates for a given location. It gives me the RGB color value in hex and decimal. I find that I used Color to measure dimensions a lot. and that I'm always having to(x1-x1) and (y1-y2) and awful lot. It's natu ...Show All
davidwj VB.net to word 2002 automation
Is it posible to determine if you have it the end of a page then insert a pagebreak and add the title of the page again on the second page or would i need to use bookmarks to the head and footer of the pages any help would be appreciated i'm guesing there is a boolean endof thing for this as there is with the recordsets. thanks in advance. i have some code i suspect would work dont have time to try it as i went with the using he ...Show All
michaelp Start Up program
how do i make my program a startup program Actually your path is correct I transposed my last 2 directories.... You can create a shortcut to put in the startup directory or put the path of your program in the registry key ...../run as suggested Alternatively you can put a shortcut in C:\Documents andSettings\UserName\Programs\StartMenu\StartUp If you want it to start every time you logon you can put a shortcut in the St ...Show All
dib56115 roll over text
hey i was wondering if it was possible to make it so when you roll over a button(in a VB.NETapp) and it displayssome text, like how to use that button thanks You're talking about a tooltip, I think. I believe the button has a tooltip property. Hi, I have to agree, you might be talking about a tooltip. In the designer window of your project add a tooltip from the common controls in your toolbox ...Show All
rikidude label wont update text
I have a group of dynamic label controls hosted in a groupbox. I have created event handlers for dbl click which pops up a dialog box to alter the text property of the control.For some strange reason the change only occurs if I minimise and then maximise the form. ANy ideas cheers I'm not 100% sure, but i think calling refresh() will only draw portions marked as dirty. If it's not getting marked as dirt ...Show All
Grant Smith Assign Datasource to DataGrid at Runtime
hi I want to assign datasource to the datagrid ( or any other compatible grid..if u have suggessions pls tell me) This is my code [ VBCODE] Dim cst, sq As String sq = "SELECT * from TABLE" Dim con As New ADODB.Connection Dim rs As New ADODB.Recordset con.Provider = "Microsoft.Jet.OLEDB.4.0" con.Open "F:\Trial\trial.mdb" rs.Open sq, con, adOpenDynamic, adLockOptimistic, adCmdText DataGrid1.DataSource = rs.Source ...Show All
