Answer Questions
drymedia Can I combine code and included objects to one program file?
Can I combine code and included objects to one program file It seems that included objects like forms, buttons, text boxes etc. together with their properties are stored in another location than the program file. This destroys the overview of the program. For example, the name definitions of the objects are not visible from the program, so the names seem to be grapped out of the air. A class is a "blueprint" of an object, but I have ...Show All
scottm87 OCX use in C# Express
I would like to use an OCX built in VB6 in a C# Express application. Is this possible If so, where can I get example code OK. That was easy. Why after a million searches in MSDN could I not find that simple answer! Anyway, thanks. Right click on your toolbox and select Choose Items. Add your .ocx. Add it to your form and use it. ...Show All
John C. Strauss Can anyone provide me with the right code for sending these AT commands using the new SerialPort class?
Can anyone provide me with the right code for sending these AT commands using the new SerialPort class Serial Port Setup COM2 1 start bit 8 bit data No parity 1 stop bit I need to send these AT commands to the device: AT+CMGF=1 follow by a carriage return As soon as I get this string returned Ok I then must send thi ...Show All
Timiscool9999 New to Visual Basic 2005 / Need Suggestions for books, tutorials, etc
Hi all I am new to programming, and new to Visual Basic. I just downloaded VB 2005 Express Edition about a week ago, and I have been taking the msdn video lessons. I am on video 6 of the 16 videos. There are so many books out there for Visual Basic that I don't know where to start. Maybe if I tell you what my goal is for using Visual Basic that will help you point me in the right direction. My company has an Information Technology Applic ...Show All
et3ishak Books, tutorials of VC++ Express Edition for newbies
Hi guys, Since VC++ 2005EE does not ship with MFC/ATL, this makes most of VC++/MFC books irrelevant. The sample codes and tutorials on MSDN are plenty, but few apply to Express Edition. So my question is where can I find good books, tutorials to accelerate my pace in learning VC++ Express I remember Charles Petzold's "Programming Windows" is entirely focused on Windows API. Is it still apply to Win32 SDK programming Leonard ...Show All
Amy Greenwood Edit Start Pack Banners
Is it possible to edit the pictures in the banners of the startkits Yes you can edit those banners, but I would go the http://forums.asp.net and ask any questions regarding the club starter kit in the forums on that site. In that forums you will find other users who are developing systems using the starter kit that will be able to help you more. To edit the banners you should be able to edit the image files to change the look and ...Show All
stumblingandfumbling Newbie Question
Hello all! I am so new at this that the styrofoam packing is still sticking to me! I have a quick question for anyone out there... Can I use C# to develop instrument gauges for simulation aircraft in Microsoft Flight Simulator 2004 If so, is there a topic or a site that I may reference for further information on this subject Thanks Much! Sincerely, Farmboyzim I believe that the Software Development Kit ...Show All
Javicho_ A Question about converting between string and int32
Hi, all In the program I get a string "0x100" from a file, I wonder how to convert it to Int32 It warns me wrong when i use the Convert.ToInt32( "0x100"). The result I want is 256. Thx all. int n = Int32.Parse("0x100", Globalization.NumberStyles.HexNumber) Try specify the good NumberFormat: Int32 myInt = In32.Parse( "0x100", System.Global ...Show All
Dave Kang Close error window?
Is there a way to close an error window of another application I am using proc.start & proc.close to programatically start & close an application, but when my VB app executes the .close method, the other app does close, but it gives an error. It is the common error window where you have the option to send or not send the error report to Microsoft. Is there a way I can close that error window programatically Thanks... ...Show All
Zafoe .exe file to change screen resolution settings
Can VB Express Edition be used to develop an .exe file that, when run, will change screen resolution from one setting to another (e.g. 1024x768 to 1280X720) If so, what template would/should be used and where might I find more information on how to do it Any feedback would be appreciated. Thank you Here is the way i do it, works in 2005 [code] Private Declare Auto Function EnumDisplaySettings Lib "user32.dll ...Show All
mert-1 How to I create a login form with visual basic express editions and mysql
Hi everyone, I need some help here, I'm new with visual basic express. How to I create a login form with visual basic express editions and mysql. Anyone can help me For example : After I submit my Login ID and Password at "Form1". How to I connect it to mysql and pass the posted value into the mysql query to checked whether is a valid member or not. If is a valid member how to I create a SESSION to store the member details like "user ...Show All
ETopGun Polling Access Database
Hi there, I have an access database that is used on an online ASP system to book holidays, now I'm wanting to create a VB application that can look at the database and as soon as a new record appears have the display update and a message window appear. Problem is that I can get the program to look at the database and display the content, but I don't know how to get it update and refresh the screen automatically, or even to get a message de ...Show All
jon galloway Backup CD
I was wondering how to make a self-executable backup CD for this program. Let me explain what I mean. In computers class my teacher gave me a CD so that I could install this onto the school computer, it had all the files that you need to download from the net installed on it already (400-some Megabytes of them) and all I had to do was install them. Also, as soon as I inserted the disc, an installation window popped up. I didn't have to go dig ...Show All
Rowjie ODBC32
Hi,everybody. I am using Visual C++ 2005 Exptress Eidtion Beta 1 to build a project. The following were reported: 1..\Sample1.rc(10) : fatal error RC1015: cannot open include file 'afxres.h'. 2.LINK : fatal error LNK1104: cannot open file 'odbc32.lib' (after I canceled afxres.h) I have tried to add "MFC ODBC Consumer class" in the project. However, it cann't be found! How can I solve this problem. Thanks. ...Show All
CWinKY Newbe help with Receive Serial Data
Hello everyone, I'm new to visual VB and I am trying to setup communications using the Function ReceiveSerialData() As String example found in the help section of Microsoft Visual Basic 2005 Express Edition. Sample Code: Function ReceiveSerialData() As String ' Receive strings from a serial port. Dim returnStr As String = "" Using com2 As IO.Ports.SerialPort = _ My.Computer.Ports.OpenSerialPort("COM2") D ...Show All
