948 Posted Topics

Member Avatar for lukename

Autodesk 3D Studio Max (not free) Milkshape (free) Lighthouse3d <-- not a modelling program but has some excellent tutorials on OpenGL.

Member Avatar for mike_2000_17
0
101
Member Avatar for pseudorandom21

Google came up with [URL="http://devio.wordpress.com/2011/04/06/adding-application-directory-to-path-variable-in-visual-studio-setup-projects/"]This link[/URL]. I believe it does everything you need it to =) (I suggest following its instructions by the way and doing it as a set-up process or perform some kind of detection so you don't add it repeatedly during your program execution)

Member Avatar for pseudorandom21
0
131
Member Avatar for L3gacy

The code is actually incorrect. Although syntactically correct, your closing parenthesis is in the wrong place. On your line: [icode]MessageBoxPrintf (TEXT ("Screen Resolution"), TEXT ("The screen is %i pixels by %i pixels high." ,cxScren, cyScreen));[/icode] Now I have removed the line feeds you should be able to see the problem …

Member Avatar for L3gacy
0
250
Member Avatar for r.cromwell

Computers aren't magic. How does it know you want to do it again? This is what loops were made for ^^

Member Avatar for r.cromwell
0
363
Member Avatar for lttleastig

There are specific utilities built into server operating systems for just this kind of task. Also, I'm pretty sure Google will produce results of a piece of software pre-built. I only suggest this because you seem interested only in the business solution and not the process of creation. If you …

Member Avatar for Ketsuekiame
0
93
Member Avatar for Usmaan

App.Config is probably a bad place to put this information as it's not designed to be variable. if you still wish to go that way, it's simply [icode]ConfigurationManager.AppSettings["keyname"][/icode]

Member Avatar for Ketsuekiame
0
186
Member Avatar for Jazerix

Change line 1 to read [icode]String SteamPath = String.Empty;[/icode] You haven't initialised the String and when you try and return it, it is possible that you're trying to return a non-initialised string.

Member Avatar for Jazerix
0
221
Member Avatar for skydust

You will need either files or a database (such as MySQL). Your application stores all the data it requires at runtime in RAM. RAM is known as volatile memory, because once you remove power to the device, it resets. This is intrinsic to the electronics and cannot be changed. The …

Member Avatar for skydust
0
163
Member Avatar for mrjimoy_05

File.ReadAllLines has been in since .net 2.0 Make sure you're using the full .net library and not just the client framework.

Member Avatar for nick.crane
0
1K
Member Avatar for becool007

[URL="http://en.wikipedia.org/wiki/Singleton_pattern"]Singleton Pattern[/URL] or make the entire class static. Personally I prefer the singleton pattern, but without seeing your code it's difficult to judge. As you mention "main", I can hazard a guess that this contains your application instance that you're launching from the entry point. In which case, Singleton would …

Member Avatar for Ketsuekiame
0
252
Member Avatar for srikanth2321

It would be odd for the user folder to have an illegal path name, as it would be an existing path, therefore, allowed by the operating system... EDIT: Unless it's been typo'd of course ^^ EDIT2: Check for illegal characters in the text you're pulling back from the file. I …

Member Avatar for Ketsuekiame
0
704
Member Avatar for dennysimon

Pretty much as it says. The CurrentCulture ought to be the culture of the machine, whereas the UI Culture is the culture of the program you're currently running. This is prevalent in WPF, where the UI Culture is automatically set to en-US by default for some reason regardless of the …

Member Avatar for Ketsuekiame
0
93
Member Avatar for C#Jonathan

You should be able to do "ReadToEnd". This will read in your entire file contents. Once you have this string, you can "Split" it using a specified character. (In your case '\n')

Member Avatar for Momerath
0
500
Member Avatar for dennysimon

You're trying to use a culture specific decimal format. Use a . instead as your decimal point and instead convert to the local culture format for display. Your other option is to change the locale of the database from its default en-US setting. Instructions on how to do this can …

Member Avatar for Momerath
0
180
Member Avatar for Panathinaikos22

I'm struggling to follow what you're trying to say but maybe I got the gist of it. With C# you can add projects to your solution. It's not "stupid" because each of these projects is a separate part of your program and may or may not be used in other …

Member Avatar for Ketsuekiame
0
148
Member Avatar for Panathinaikos22

[QUOTE=Panathinaikos22;1624399]Well, C# is not C... At beggin i confused a bit because in Visual Studio there is not any option for C... anyway C# Is part of C C++ is part of C well i think C# dont support Inheretic/polymorphism... anyway #Tellacla Yea my mistake, some time i forgot that …

Member Avatar for ddanbe
0
278
Member Avatar for zachattack05

[QUOTE=zachattack05;1622384]Clever. I like it![/QUOTE] I know this thread is solved, but here is something I think you will find useful. [url=http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=25175]MDT 2010[/url]

Member Avatar for Ketsuekiame
0
114
Member Avatar for judithSampathwa

I think they're asking how to design a separate interface for each option in the menu strip. Which is in essence, just making another form, designing the interface and loading it when you click the option. Could get more advanced by using a base window and overlaying UserControls.

Member Avatar for nick.crane
0
271
Member Avatar for james6754

Personally, I don't think so. [b]But this is my own opinion[/b] My argument being, why use .net (a Microsoft Product, subject to their often over-zealous licensing terms) when you can use Java to create a true multi-platform application, with the same ease as .net? Also, C++ allows for multi-platform development, …

Member Avatar for Ketsuekiame
0
121
Member Avatar for moshe12007

I'm not sure what "other answers" you're going to get. Not anything closely resembling realtime. Your best solution is what zachattack has offered. Computers aren't magic I'm afraid, you have to send the data from one to the other and the best way of doing it in this case is …

Member Avatar for Momerath
0
104
Member Avatar for Kalpesh_9876543

Just as a side note to Narue, it's certainly possible that he's learning C++ and being taught [icode]#include <stdio.h>[/icode] A lot of colleges and universities still teach using this header file, for no reason I can fathom, other than changing it would mean updating a metric ****-ton of teaching material …

Member Avatar for ilovec++
-2
158
Member Avatar for winonus

By pure DOS executables, does this mean you need them to be 16 bit? What version of DOS are you running?

Member Avatar for winonus
0
119
Member Avatar for eoop.org

[QUOTE=nick.crane;1620009]Each process is a totally separate entity in the Windows OS. It is possible to have communication between processes, but it is not possible to encapsulate one process inside another to the extent that one appears to be a child window in the other. Although I do not have sand …

Member Avatar for Ketsuekiame
0
172
Member Avatar for tuancoltech

Hi, the error message states where the problem is. You must go to the WinCore.cpp file at line 906. From there you should be able to back-trace where the problem is actually stemming from. EDIT: This is an assert failure. So the line should look something like ASSERT(<some equality statement>); …

Member Avatar for tuancoltech
0
668
Member Avatar for v1nc3nts

This is code to enable a user to cheat during online play at warcraft 3. I would kindly ask that you at least remove the post of the code before/after you close it. It wouldn't be so bad if he was trying to write one himself, but this is blatant …

Member Avatar for Ketsuekiame
0
327
Member Avatar for GPXtC02
Member Avatar for saqi1986

To take whackyboy's post one step further if you want to be really adventurous, convert it to a Char array and then use LINQ on it ;) (Complete overkill btw)

Member Avatar for Ketsuekiame
0
738
Member Avatar for westony

In this case you need to either, include the windows forms library reference or use P/Invoke. Out of interest though, why don't you just set [icode]this.WindowState = WindowState.Maximized[/icode] (This can be set in XAML as well in the Window tag [icode]WindowState="Maximized"[/icode] This will make your form fill the full screen. …

Member Avatar for westony
0
612
Member Avatar for shridharmaster
Member Avatar for Momerath
0
345
Member Avatar for dennysimon

You've actually been told the exact problem. Maybe you should read the [URL="http://dev.mysql.com/doc/refman/5.1/en/datetime.html"]DateTime specification for MySQL[/URL]

Member Avatar for Ketsuekiame
0
154
Member Avatar for Mitja Bonca

Hi there, the solution is actually the same as one for a normal client/server interaction. When you start your server, you bind your TcpListner to a port and listen for connections. When you get a connection, through Accept, you also receive a new socket (which goes to the client), your …

Member Avatar for l3l4c7_h4t
0
430
Member Avatar for Kerlix

Hey, I do something similar for work. I use a DLP-IOR4 board to bridge connections. It's USB attached and utilises a virtual com port. It's very easy to use, just two simple commands fired down the serial port. [url]http://www.dlpdesign.com/usb/ior4.shtml[/url] There are other more powerful and better rated models, choose the …

Member Avatar for Kerlix
0
175
Member Avatar for hmortensen

It seems to me, that this is because your object was created in your data collection window's UI thread and has been attached to UI elements (intentionally or not) What I suggest is making a copy of the class before you pass it to the async worker and pass your …

Member Avatar for hmortensen
0
315
Member Avatar for galhajaj

When you put a thread to sleep, everything executing on that thread stops. So if you put the UI Thread to sleep, it won't update the form. If you aren't using multi-threading, then you're effectively putting your entire application to sleep! Timers can be set to execute at a set …

Member Avatar for galhajaj
0
217
Member Avatar for xenhancd

Hiya, well I've had a look through the code and there's more than a few errors in it. To begin with, I suspect that this shouldn't even compile as "rerun" is being used outside of the scope in which you declared it. Related to this, you have failed to initialise …

Member Avatar for Ketsuekiame
0
275
Member Avatar for Price_Dany

I don't really understand what you're trying to do, but that extracted and ran fine. Executable files aren't supposed to be opened with 7zip, which is a file packing compressor/de-compressor. If you want to make an executable that you can open with 7zip, then you need to create an archive. …

Member Avatar for Ketsuekiame
0
116
Member Avatar for bhagawatshinde

I'll go out on a limb here and say this is something to do with testing your threading ability/logic. Although implausible to reduce the time by 50%, if you had 2 threads writing the data (say thread 1 does all odd records and thread 2 does all even records) this …

Member Avatar for Ketsuekiame
0
100
Member Avatar for amaanbhae

[QUOTE=amaanbhae;1613788]I don't need ur comments... if u don't have any class why are u waisting ur time and my time...[/QUOTE] Perhaps... But you definitely need to learn to pay attention in class. As for a class of string...How about cotton, or nylon?

Member Avatar for Ketsuekiame
-5
181
Member Avatar for nora-s

Look up strings and their manipulative functions. You should be able to split the string into its separate words and count the result.

Member Avatar for NathanOliver
0
232
Member Avatar for micmo

There may be a better way. [URL="http://msdn.microsoft.com/en-us/library/kwdt6w2k%28v=vs.71%29.aspx"].Net Remoting[/URL] Another one is [URL="http://msdn.microsoft.com/en-us/library/ms735119%28v=vs.90%29.aspx"]Windows Communication Foundation[/URL] if you're adamant about using sockets, then send the method you would like to run as a string at the beginning of the stream, then at the other end use Reflection to call the method.

Member Avatar for micmo
0
655
Member Avatar for WildBamaBoy
Member Avatar for CJdamaster

Hi there, You have set your Mutex to be initially owned. This will cause it to wait on the first hit of xmlMutex.WaitOne(); As you never release it before you hit one, your code deadlocks. Where you create your Mutex on line 2, the parameter passed to the constructor should …

Member Avatar for CJdamaster
0
168
Member Avatar for bhagawatshinde

The InternetGetConnectedState actually only tells you if you're connected to a network. What we do here, is pick a website and attempt to ping it. As you're wanting internet connectivity I presume there is a target machine somewhere that you're looking for. Try pinging that, if not, try google?

Member Avatar for Momerath
0
168
Member Avatar for JannuBl22t
Member Avatar for borkarparesh

In my opinion, you shouldn't do it that way. In order to do it "properly" I suggest in your child/sub form, you create an event which is something like "ButtonOneClicked" or something. When you click the button, you fire the event. In your parent form, you hook the event and …

Member Avatar for Ketsuekiame
0
108
Member Avatar for Jessurider

You have to create a Visual Studio Setup Project. I don't think this is available in Express edition but I don't know. Otherwise, use one of the many free installer designers on the web. Google for them

Member Avatar for Ketsuekiame
0
137
Member Avatar for mnorgate

There is one key combination you cannot trap unless you write a filter driver and that is "Control+Alt+Delete" This is a "security" measure by Microsoft. Supposedly it lets the user know that by pressing CAD they are "truly" at a Windows login page or performing a "real" Windows task. So …

Member Avatar for zachattack05
0
100
Member Avatar for manugm_1987

Get the row count of the table, if it is less than 5 (or 6 I'm unsure what you want) then insert the new entry, otherwise, show some error message and return from the method. To do this at the database level you would need to create a trigger which …

Member Avatar for manugm_1987
0
117
Member Avatar for ansari.wajid

It's exactly as it says. The operation you are trying to perform is taking longer than the specified time-out. You should look at where the exception occurs, what operation is being performed and the data it is working with. Also check that the database service is up and running and …

Member Avatar for ansari.wajid
0
218
Member Avatar for pacheco

You need to change your SQL Query. Please see the [URL="http://www.w3schools.com/sql/sql_where.asp"]WHERE clause[/URL]

Member Avatar for Ketsuekiame
0
132

The End.