|
Where can they find the .Net framework. Is it included in windows XP?
Yes, I mean an installer. I read a tech doc on the Internet that said I can create a setup.exe as an installer.
|
|
|
|
|
AAGTHosting wrote: The program '[3952] lessonProgram.exe' has exited with code 0 (0x0).
This is a standard debugger output whenever a thread exits. It is not something to be concerned about, unless that thread wasn't supposed to exit.
In this case, if you're seeing this and instead you expect to see your program open, it means your program is exiting before you see it. Either there's an exception, or you're explicitly closing it somewhere.
AAGTHosting wrote: What does code 0 mean?
In almost all cases, it means the thread exited without errors. If there were an error, that would be non-zero.
The early bird who catches the worm works for someone who comes in late and owns the worm farm. -- Travis McGee
|
|
|
|
|
|AAGTHOSTING Wrote:
I tried to compile a program I am writing with the Debug Compiler and it said there were no errors. The compiler game the following message. What does code 0 mean?
The program '[3952] lessonProgram.exe' has exited with code 0 (0x0).
|AAGTHOSTING Wrote
As the guys have said, you dont need to worry about this, it means everything has compiled fine.
Dont confuse the debug and build, when you Build, your Form will not come out. after you build by Pressing on your keyboard (Ctr + Shift+ b) , then you press F5 to see your Form.
|AAGTHOSTING Wrote
When I am done with my program do I use the release compiler?
What is the meaning of your Question, you release the Compiler?, when you are done with Debuging and you feel that your code is fine , then you can change from Debug to Release before you Deploy your application.
|AAGTHOSTING Wrote
Where do I get info on how to create a startup.exe for a final release of the program.
Firstly, dont learn Programming and VS here on the Forum, Google and Buy a Book in VS www.Murach.com sells books. follow the link
http://www.vbdotnetheaven.com/Articles/ArticleListing.aspx?SectionID=2&SubSectionID=103[^]
And i saw you asked a Question , about .NET if its not installed in XP. when your users have no .NET installed into their system,Automatically when they attempt to install the Application the Message will popup for them informing them that .NET need to be installed and ask them if they want to download it. if they say yes they will be pointed to a microsoft site where they will download it.
Lastly you have to know the version the framework you are using.
Hope it helps
Vuyiswa Maseko,
Sorrow is Better than Laughter, it may Sudden your Face, but It sharpens your Understanding
VB.NET/SQL7/2000/2005
http://vuyiswamb.007ihost.com
http://Ecadre.007ihost.com
vuyiswam@tshwane.gov.za
|
|
|
|
|
i using my computer to receive data from a device. however, the device is a 16bits device and it will send 2 ASCII code a time and this make me headache in retreive back the character i want.
for example. if i set character "AB".. it wil send &H4241 or decimal 16961.
can anyone help me in retrive this data back to "AB" instead of &H4241? thank you for the viewing.
|
|
|
|
|
You can use bit masking
char a = (val & 0xFF00) >> 8;
char b = (val & 0xFF);
The bit masking strips either the high or low byte, and the shift moves the high byte down. Untested, but this is the general idea.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
An even easier way to do this is to use ASCIIEncoding.ASCII.GetString(byte[] )
It will assume each character is encoded into 1 byte each, chopping the bits itself.
This assumes, of course, that one can read the data in as a byte. Since he's reading from a device, I suspect that isn't a problem, but if it is, you can use the BitConverter object to convert from int to byte[].
Edit:
By the way, hex 4241 (decimal 16961) is
01000010 01000001
in binary. If you notice, that is two values: 66 and 65, the ASCII codes for the letters B and A, respectively (note capitalization).
So the bytes will need to be re-ordered, also, as they are apparently Big Endian. There are methods in the .NET framework to do this as well.
The early bird who catches the worm works for someone who comes in late and owns the worm farm. -- Travis McGee
|
|
|
|
|
Hi all!
Its been a while, ive got just one question, previously I was accessing my database which is on SQL Server 2005, but now that I have exported that db out and included into my project space, ive changed the connection string to access the so called 'local' db at the directory folder where my project is.
The problem is, during application runtime, I could still insert, update and delete but when I close the application and reload it back, the changes made to the DB is lost. So im wondering where ive gone wrong, btw im not using any dataset.
Thanks in advance!
Regards,
Jensen
|
|
|
|
|
Alright I think I might had just solved this.
It seems that the effect is not written to the DB during debug mode but works normally when the application is executed after its been published.
Regards,
Jensen
|
|
|
|
|
This is probably because you're using an Access database in your project folder. When you compile the app, the database file is flagged as "Copy Always" and is being copied to the target folder when your app's .EXE file is written to, usually ...\projectFolder\bin\Debug. So, every time you compile your app, you're overwriting the database your the Debug version of the app is using with the copy in your project folder. Look in your project folder tree and you should find multiple copies of your database.
|
|
|
|
|
I thought the OP said he was using SQL Server 2005?
"Find it your bloody self - immediately!" - Dave Kreskowiak
|
|
|
|
|
It works exactly the same with an SQL Server 2005 Express database file.
---
single minded; short sighted; long gone;
|
|
|
|
|
I didn't know that since I usually just have all my stuff sitting on a server
"Find it your bloody self - immediately!" - Dave Kreskowiak
|
|
|
|
|
how to zoom image or picture in vb.net
Aamir Mustafa
|
|
|
|
|
Don't ask twice. You can Scale a graphics object, which will zoom. Or you can use the DrawImage overload that takes a size to draw from, and a size to scale to. Depends really on what you're trying to do.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
how to zoom in vb.net
Aamir Mustafa
|
|
|
|
|
Be more descriptive of what you want to do. If you want to take an image and zoom it in, that is rather straightforward.
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
My question is how to connect a database with a data to blank database using vb 6.0?
|
|
|
|
|
Why would you learn VB6 in this day and age ?
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
newbie@vb wrote: using vb 6.0?
Why VB6? It is no longer supported by Microsoft and it is pretty much dead now.
"Find it your bloody self - immediately!" - Dave Kreskowiak
|
|
|
|
|
Hey man
i Suggest you Buy a book on introduction to vb.net, i used to use vb6, but i cant now.vb6 its a toy, come and enjoy OOPS with us in .net. these guys are right its 2007, by this time you should be using VS 2005, come on man Technology is not a Culture its not stable, it gets upgraded.
Vuyiswa Maseko,
Sorrow is Better than Laughter, it may Sudden your Face, but It sharpens your Understanding
VB.NET/SQL7/2000/2005
http://vuyiswamb.007ihost.com
http://Ecadre.007ihost.com
vuyiswam@tshwane.gov.za
|
|
|
|
|
Dear Friend,
I want to collect the information of the hardware of my pc with there details using .net technology i know that it can be possible but dont know the direction can any one help me regarding this give me the proper direction and knowledge so that i can know exactly what is happening (i mean i dont want to copy pest the code but want to know the steps so it will be easy to me for my future also).
thanks in advance for your reference i have .Net 1.1 framework install on my pc as well as Microsoft Visual Studio 2005.
Thanks and Regards
Sasmi
Sasmi
|
|
|
|
|
First, you have to define what data you want to gather about the machine. Motherboard, BIOS, drives and their types, volumes on those drives, RAM, O/S installed, ... Then you have to can define WMI queries for all of this stuff to retrieve all the data you're looking for. You can then use the classes in the System.Management namespace to execute these queries and get as much data as you can.
Sasmi wrote: thanks in advance for your reference i have .Net 1.1 framework install on my pc as well as Microsoft Visual Studio 2005.
Visual Studio 2005 only works with .NET 2.0, not 1.1. If you have VS2005 installed, you automatically have .NET Framework 2.0 installed too.
|
|
|
|
|
Thanks for the info.
I will get understand the namespace for any other help i will disturbe you.
Sasmi
|
|
|
|
|
hi friends,
i have some values in my Db table, i want to show that datas in TV screen as flash data, like airport information screen. how can i do this, can anybody give any idea or link.. its urgent....
cheers
|
|
|
|
|
SamRST wrote: its urgent....
It's rude to say this. If you problem is so urgent, why aren't you paying for assistance?
Anyway, you haven't expressed your problem in a coherent enough manner for me to know what you are trying to do. Do you want to write some sort of real-time information system? Is it web-based or windows-based? You probably want to employ some sort of timer to update the screen periodically and read the latest information from your database.
Paul Marfleet
|
|
|
|