Answer Questions
mschray Opening a Help File from a C# Application
I'm using C# Express B2, and I am very new to programming. I'm trying to have a help file (.chm) that I created open when the "Contents" option on the "Help" menu is clicked. I have added the help control to the project and set its namespace property to the location of the file. Now I'm stuck; I can't find the exact steps/code I need to make the menu item click actually open the file. How do I tell my application, "When the user clicks the "Cont ...Show All
delu Screenshot
Hi, I am formerly a VB6 developer and have been having problems with Visual Basic 2005 . What I want to do is take a screenshot of a form, and put it into a picturebox. This needs to be done while the form I am taking the screenshot of is hidden. Here is some code I have tried: Thanks so much, this code worked exactly as I needed it to! The form must be visible for drawtobitmap to work I tr ...Show All
Geoff Garside font install
hi I use a special font in my app with textbox and drawstring methods. How can I install this font with the apllication i tried to copy the fontfile to windows\fonts folder but even on restart the font does not show up until I manually open the fonts folder and click on the font Hi is this thread still alive I'd like to comment on it.. I was having the same issue as Dewald was describing, I tes ...Show All
thedawn Hello from a returning learner...
Hello from England! :) I learnt VB a while back but I've lost my skills since then and now I've decided to learn how to program in VB 2005 Express Edition and I was wondering if I can copy the code that I have from the programs that I previously created into the new version... Also, where can I get software that allows me to create customised splash screens from, especially transparent ones and also are there any good tutorials that teach ...Show All
JanusKH using the createUserWizard tool from the Toolbox on Visual Web Developer 2005
I am new to Visual Web Developer Express 2005 and also went through all the 14 lessons on the msdn web iste. The question I still have is on using the Create new user wizard from the tool box. How am I going to copy the data entered on the web form (new users are asked to create themselves an id and passord) to an MS access database table The tool is not bound to a database but do not know as to how I will do i ...Show All
Jacob Cynamon ListView sorting question
Hi I have a ListView control called HSlist on a form which has 3 columns. The adding data seems to work OK, but the sorting is weird to say the least. Initially, I thought that the list would be sorted on the contents in the first column, so I added to the ListView with the Item containing the data that I wanted the list to be sorted on (numerical). Then I found that the list was being sorted on the second column (strings), so I swapped th ...Show All
NimeshPatel Kudos
Congratulations to the VS crew, as always, the product keeps getting better and better. I imagine it's the express editions that force us to use individual UI's instead of having one UI run all the installed compilers Not a big deal I suppose. I haven't seen this anywhere yet, but is there a way of migrating UI settings from 2003 to 2005Exp Nice work folks, Hi Don, Thanks for the compliment! You are correct - with the Express Editions, ...Show All
Mike Coxeter Power control of windows: How to reboot and wake from hibernate/standby?
Hi everyone: I have only found system.windows.forms.application.setsuspendstate method could make system into standby or hibernate state, but I don't know how to reboot the system via .net method. Must I call API functions to reboot the system And I want to know how to wake up the system after hibernate/standby For example, if my user input "3" and hibernate, the system should enter hibernate and wake up itself after 3 minutes. Is ...Show All
Vyle LPCWSTR doesn't work with reg commands
I am making some functions that use regcreatekeyex, regsetvalueex, ect. So I made them and tested them by making a command prompt program and had no problems. Then I tried using the in the form designer and the compiler keeps telling me it can't convert my parameters that are strings into LPCWSTR. So I add the (LPCWSTR) in front of the parameter to convert it. Well my project compiles but recreatekeyex and stuff never succeed. How can I fix this ...Show All
Darren Baldwin Clinet and Server Windows Application
Hi, Is it possible for VB Express Edition 2005 (VBEE 2005) to develop a Client & Server based Windows Application I mean the database is stored in the server and the application is installed at client's PC AND the system (at client's PC) is able to retrieve the data from server for updating, adding or deleting IF YES How to manage it As VBEE 2005 and SQL 2005 both are installed inside the development PC...so how can we install the SQL d ...Show All
TimToennies Access Database Connection,
Dear Friends, I am very much familir in VB 6.0 but I need to develop a similar project in VB 2005. I use the following code and variables for my database caonnection. Public db, db1 As Database Public rs, rsFDEprod, rsFDEtime, rsOPSprod, rsOPStime, rsANAprod, rsANAtime, rsQA As Recordset Public Function connect() Set db = OpenDatabase("C:\Documents and Settings\bedwin\My Documents\EX1.mdb") Set rs = db.OpenRecordset("s ...Show All
StevenPo Multiple MsgBoxes
In my program I have If x < 5 Then MsgBox( "Error: Not enough songs. Song count: " & CStr (x) & " Songs required: 5" ) End End If But when x < 5, the screen fills up with MsgBoxes continuously until I manage to click one. How to I only make one box appear Thanks I've seen this happen in some of my VB6 apps when I generate events ...Show All
k.Rahul Reader machine
ask for proffisional can i connect to H ardware and design application for it with visual basic 2005 this hardware like reader machine to read barcode yes you can but contact the vedor first as what nobugz said , and see if they have API for their product that will make it easier for you hope this helps Probably. Call the hardware vendor for support. ...Show All
Abubakr Express editions trigger sound schemes?
How do I get C# Express to emit a sound on Build Cancel, Build Fail, or Build Complete Are there other options that failed to install If Control Panel -> Sounds doesn't provide this functionality, it looks like this feature is only available in the higher editions. ...Show All
mausau LNK1104: cannot open file 'c:\Program.obj'
I am converting 3 different projects to C++ Express. Each time I started with "New" -> "Project" - after correcting my errors, setting Includes, adding Libraries, I always get the error LNK1104: cannot open file 'c:\Program.obj' Can anyone tell me what's causing this problem From what you said I take it you are not upgrading the project. Well, the only thing I can think of ...Show All
