No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
39 Posted Topics
the complier shouldn’t matter at all a few years back I developed a program in VB to get user input with a touch screen as far as the software was concerned it didn’t know or care if the user was touching the screen with his finger or clicking the buttons …
I have a java program that dispays the temperature in digit format ie 87.7F. I would like to make a thermometer using graphics to do this. I have only been using java for 2 weeks now and just wonding if someone could give me pointers on the best way to …
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim b As Integer = Convert.ToInt32(TextBox1.Text) Dim c As Integer = Convert.ToInt32(TextBox2.Text) Dim a As Integer = b * c MsgBox(a, MsgBoxStyle.OkOnly, ) End Sub Private Sub TextBox1_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles TextBox1.KeyDown Select …
here you go ‘” & Int(DateDiff("d", DateTimePicker1.Text, Now(), FirstDayOfWeek.Monday, FirstWeekOfYear.FirstFourDays) / 365) & "'
I need to define a two dimensional array and assign values. I was wondering if there is an easier way in vb.net to do this other then how I have it below. some of my other arrays have over 700 elements in them. Dim L1(8, 2) As Double L1(0, 0) …
I want to set up an array and have 100+ items in the array anyone know how to split the line Dim row() As Integer = {1, 2, 3, 4, 5, 6} like this Dim row() As Integer = {1, 2, 3, 4, 5, 6}
Can anyone tell me if there is a way to make your own variables for real numbers. I need at least 30 digits of precision so it would have to be a 128 bit or 256 bit variable. Is there a way to make your own variables using a header …
Yes I am in agreement it should run fin on a XP OS. Must have been a problem with the install I would try to reinstall it.
Have you tried using Direct I/O? The web site is [url]http://www.direct-io.com[/url] I hope that helps.
if you are using visual C++ it is very simple to write your own functions. // function definition -- requires windows.h void gotoxy(int x, int y) { HANDLE hConsoleOutput; COORD dwCursorPosition; cout.flush(); dwCursorPosition.X = x; dwCursorPosition.Y = y; hConsoleOutput = GetStdHandle(STD_OUTPUT_HANDLE); SetConsoleCursorPosition(hConsoleOutput,dwCursorPosition); } // function definition -- requires process.h void …
If you are talking about a virtual partition that is created like ghost does to restart your computer in DOS mode, then I would like to see the source code on how that is done as well. Let me know if you find out how its done.
Actually going from qbasic to VB is not all that difficult. You will be surprised how much faster you can make programs.
What brand is the USB Parallel converter? I am just taking a guess here but it could be that the converter is using 0x278 for the memory location of the port and not 0x378 . Look at the manual and see what location the port is using. Let me know …
Any one know if you can develop software for pocket pc windows 2002 using visual studio 2008. I get an error saying my device needs a new version of windows to load.
Can you use a static library on visual studio 2008 that was complied on visual c++ version 6 or do I have to recompile the static library?
Just add a if statement [code] if(minrange<maxrange) { cout <<"The numbers that are divisible by " <<increment<<" are "; cout <<endl; for(count=minrange; count<=maxrange; count++) { if(count%increment==0) { cout <<count <<" , "; sum1 = sum1+count; if(sun1%5==0) { cout <<endl; } } }[/code]
Can someone tell me how to add a static library file to a project in visual studio 2007.
I am using Visual C++ version 6. I need to know how to add a .lib file to a project. I want to add it as a static lib file.
I was wondering if anyone knows of a good resource online to learn the IDE of visual studio 2008. I have been using an older version (visual studio 6), I need to learn the 08 .net IDE. If any one has any suggestions on where to go online or even …
int rename( const char *oldname, const char *newname );
something like this int main () { double feet=0,inches=0; double meters=0,centimeters=0; char letter; char answer; do { // start loop here getValues(feet,inches); calculate(feet,inches,meters,centimeters); print(feet,inches,meters,centimeters); system ("PAUSE"); cout << "Do you want to Exit! (y/n)?\n"; cin >> answer; } while ( answer != 'y' ); return 0; }
Can anyone tell me how I can read the resistance between pins 4 and 6 of the serial port using VB or c++?
You could use a program called VirtualBox but you would still have to have a windows OS running in the VirtualBox. VirtualBox is a program that will allow you to run multiple OS at the same time. download link. [url]http://www.virtualbox.org/wiki/Downloads[/url]
I am a new to linux and the gcc system I was just wondering if someone could answer a couple of questions about the including hearder files like the math.h file. I was making a simple program and using some math trig functions. I keep getting the error cosf undefined …
Could someone recommend a C++ compiler to write programs on a linux platform. I am just looking to write some programs in the shell not really looking to do any X-windows programming right now.
Do you have a reason why you are running borland c++ 3.11?? I can tell you that the program will not run on a computer that has no clue what DOS stretch mode is .
If you could post the code you have so far I would be happy to help you.
The extended ASCII key codes are F1=59,F2=60,F3=61,F4=62,F5=63 F6=64,F7=65,F8=66,F9=67,F10=68 Is that what you are referring to
here is a link for qbasic [url]http://www.geocities.com/TimesSquare/Arena/5451/qbasic/downloads/[/url]
I was wondering what versions of visual studio are compatible with Vista?
This error occurs because the Spooler service has not been started or has stopped working. To start the Spooler service, follow these steps: I. Click Start, and then click Control Panel. II. Double-click Administrative Tools, and then click Services. III. Double-click the Printer Spooler service, and then change the startup …
You do not need to have pairs of memory sticks in the motherboard, depending on the MB you can have 3 different sizes of memory sticks on your board. Look up the specs on your MB and it will give you the type of memory required.
I am trying to get the system date into 3 different varibles Month,Day, and Year but I cant figure out how to get the system date from the OS.
Does any one know of a complier that supports the 80 bit long double?? Or do you have any idea how to get one on VC++ 6.0 Thanks
When you output data to the screen do you recommend using cout or printf, I must admit when I first starting using C++ last week I really liked cout. Now I like printf better, It seems easer to format the output like you need it. I am not really sure …
I have a general question about compilers, I just want to know the opinions of people that have been using them for a while. I want to know what is your favorite one (the name and version) and why you like it the best.
In borland there is a function gotoxy to position output to the screen is there a command in visual c++ 6.0 that does this.
I have only been playing with visual c++ for a couple of weeks now and was just wondering what is the advantage of using pointers. To me that seems to be the hardest thing to understand so far. I am not sure how to use them and what the advantages …
I have not done any c++ programming yet but was wondering how you use arrays in a for loop for example the code below int i; double D_Nath(11),D(11),er(11); for( i=0;i < 11; i++) { D_Nath(i)=PI*D(i)/er(1)*.76554; } how dod you get this to work correctly. Thanks for any help with this.
The End.
guy40az