Answer Questions
WendellB PointToScreen
Hi guys, below is my code for copying an image from a form to a picturebox on another form. I figured by taking the difference of the PointToScreen of the top/left for each of them would give me a point on the picturebox where the form was sitting. It mostly works but is slightly off. It is off by 10-12 pixels(guess) left and top. Dim myPoint As Point Dim PixTop, PixLeft As Integer Dim result As Point 'first find where the Dis ...Show All
G72 So where are the tutorials? (DirectX)
So I've downloaded visual basic several weeks ago, done alot of tutorials, and downloaded the directx sdk (april release). So where are the tutorials for vb Do you have to download them somewhere else The directx 9.0b was the last version of the sdk to support vb. Thanks, I'll download that one then. I'll post in this topic when I have another problem (I hope not). I do ...Show All
reboard 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
Daniel Rosales Question about tabcontrols
I have a tab control (tabControl1). When I click on an entry in my menustrip (menu1) it creates a new tabpage in my tabcontrol (tabControl1). What I want to know is how I can make it so if the tab has already been created, then instead of creating another one it will instead focus the tab that is already open. Thank you. Dim Found As Boolean = False For Each Page As TabPage In TabControl1.TabPages If Page.Text = "N ...Show All
joemele opening files
hi i installed visual basic 2005 express edition beta, but for some reason i can't open my files from school on it. another thing when i make programs how am i supposed to save them because they save but when i open them they won't run wat happens is when i save it and then try to open it again i could see my code, the object browser and the form designer. but i cannot see my form and i cannot run my code. ...Show All
Big H How can i get the Status...........
Hi, Can anyone tell me that How can I get the Status of services. Its Running or not or Start / Stop / Paused / Hanged etc..... I am using Visual Basic 6.0 I also have tried EnumServiceStatus, but its just cont the no. of services.... Please Help me.............. * I'm sorry, VB6 is three iterations old, and is no longer supported. As such, VB6 questions are off topic on these forums. Y ...Show All
DLSeth PROJECT FILE MODIFICATION
MY PROJECT FILE GOT MODIFIED SOMEHOW . IM WORKING WITH VISUAL BASIC EXPRESS 2005. THE COMPILER DIRECTIVES IN THE PROJECT FILE ARE LOOKING FOR 3 VISUAL BASIC FILES ON DRIVE A: WHICH IS MY FLOPPY DRIVE. I WANT TO CHANGE THE PROJECT FILE SO THAT THE FILES ARE ON MY C:DRIVE WHICH IS MY HARD DRIVE. ANY IDEAS Why are you SHOUTING I TRIED TO MODIFY THE PROJECT FILE WITH NOTEPAD. I INCLUDED THE FULL PAT ...Show All
irislogic Server Explorer errors PLZ
I have been struggling for days with this problem, and i cant find a forum with the answer. Im running VB.net Standard, on XP service pack2. I have both Access, and MS SQL... In VB.net I click on server explorer, then add connection. I have tryed both Access(Jet) and SQL, after I enter in all the correct info I click the test connection. It always says successful. Then I click ok, and I get the same error over and over: Server Explorer, unable t ...Show All
Corneloues Windows and Console Application
I've got a Windows application which now needs to be changed to allow the user to also run it from the command line (with args passed in and also so its output is sen to to the command line) in addition to running it from the desktop (i.e. a GUI and none GUI Version). My current thinking is have a console application which checks for the switches if there are non then it starts up the GUI version else we run the non-gui code, is this the best wa ...Show All
kangalert Making a private sub run another private sub in microsoft access visual basic
I am currently making a databse for my coursework. It contains a login form which obtained source code off the internet for. I have adapted the code to work on my database and it works fine but I have come to a problem now. Can anyone show me how to make an OnEnter procedure for a text box run the same command as a button This is the code: Option Compare Database Private intLogonAttempts As Integer -------------------------------- Priva ...Show All
Arnolds Tabbed Layout
Well basically I need help with doing a tabbed layout on my app. I am making a form that if I succeed will, Show all of my other forms via clicking the appropriate tab button, and will start up in the main form filling it. What I need to know is how to show my forms within the tabbed form, and make it so they're not an extra window, but glued to the form and I also need to know how I could start up the tabbed form in my main form, and make ...Show All
Nishan Jebanasam Using a like statement to find a pattern.
I have a large Access table with words, definitions,... what I have been trying to do for too long is to type a word pattern (p r or t n* -even tried _ and % ) in a textbox and after a button is depressed to have a datagrid populated with words similiar to what is requested. I have utilized the data source wizard to add the source, added the adapter, binding source and dataset. I have dragged the datagrid into the form. when started it ...Show All
Rob Schripsema Cannot open project
I went to open recent project and this is the message that appeared C:\Windows|Microsoft.NET\Framework\V2.050215\Microsoft.Common.targets:The import file could not be loaded. Root element is missing. Can someone please help me fix this,I tryed to re install VB 2005 express again no help also tryed to install VB studio 2005 from dvd same message when i tryed to open a new project. Thanks Bruni I typed it in and made a error sorry it should ...Show All
JUNKMAN WYSIWYG - converting inches to pixels
I have a RichTextBox that needs to be displayed as accurately as possible a certain size set in inches. The RichTextBox Width and Height are set in pixels. How can I find out how many pixels per inch for the current monitor Windows doesn't know the physical width of the display device (it might be part of the monitor's name string I suppose). If the user hasn't messed with display properties->appearance->font size then a 17 inch ...Show All
Mario Ruiz Blair Allen Stark
Here is the problem I am working on. It asks me to use the method CalculateCharges, but I don't fully understand how to do this or how it works. I would be grateful for any input. Lab Problem III A parking garage charges a $2.00 minimum fee to park for up to three hours. The garage charges an additional $0.50 per hour for each hour or part thereof in excess of three hours. The maximum charge for any given 24-hour period ...Show All
