1,372 Posted Topics

Member Avatar for TasostGreat

Actually, even with threading, the hard-drive can still only do one thing at a time. So, you'll likely have one thread blocking on the HD to finish the write from the previous thread before the second thread even gets a chance to do anything.

Member Avatar for Salem
0
172
Member Avatar for vishal_nut

oof. That's a heck of a job. I would imagine you would need to include the header in the other files as well, and PROBABLY have to modify the header so that it holds the new size of the split file.

Member Avatar for vishal_nut
0
59
Member Avatar for mjsmikey

I have an idea (was gonna write the code myself, but your project is a little full-fledged already with the textboxes and all). As you read in a new line from the file, basically make a variable that contains the "old" variable, and then replace the current variable with the …

Member Avatar for mjsmikey
0
267
Member Avatar for brothertse2008

At the very top of your form: [code=vb]Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long[/code] Then in your picturebox_click: [code=vb]shellexecute me.hwnd, "open", cstr(url), "c:\", 1[/code]

Member Avatar for brothertse2008
0
192
Member Avatar for rajeevppm

I was recently trying to do this myself for a business project at work. What I learned was, that the ID was the same for all the chips in my computer lab (same manufacturer). After reading a while, I learned that by default, Intel now has the processor ID disabled. …

Member Avatar for Comatose
0
89
Member Avatar for lehe

It typically represents a new line. Try it at a command line... type in say: mkdir \ your prompt will probably change to >, which means the command is not complete yet, and requests more info. I don't know the context or the script, so it makes it a little …

Member Avatar for Fest3er
0
141
Member Avatar for eitan

I'm not going to build the calculator for you, but here is a project that basically does what you want, but only adds up the sum. First, type a number in the bottom box, and then click the button. Type another number in the bottom box, and click the button... …

Member Avatar for eitan
0
295
Member Avatar for neoseeker191

[code=cplusplus]int calcList() { std::string inputVal; int cnt = 0; int list[100]; while (inputVal != "complete") { std::cout << "Enter an integer: "; std::getline(std::cin, inputVal); if (inputVal != "complete") { list[cnt] = (int)inputVal.c_str(); cnt++; } } return 0; }[/code] or something.

Member Avatar for neoseeker191
0
245
Member Avatar for green_lakers
Member Avatar for green_lakers
0
103
Member Avatar for gggchurch

wm6? [code=vb]If Process.GetProcessesByName(Process.GetCurrentProcess.ProcessName).Length > 1 Then MsgBox("Already Running") End End If[/code]

Member Avatar for Comatose
0
105
Member Avatar for cppnewb

You are using std::string, you need to be using array of char. EDIT: Didn't see Narue Posted... My responses never do so well following hers... discard this :p

Member Avatar for cppnewb
0
414
Member Avatar for tomtetlaw

go to a dos prompt (start, run, cmd) go to your DarkGDK include folder (cd \program files\DarkGDK\Include) probably, and do [inlinecode]for %x in (*) do type %x | find /i "#define" >>c:\outputfile.txt[/inlinecode]. Then, double click my computer, double click C: drive, double click "outputfile.txt", and read it.

Member Avatar for Comatose
0
114
Member Avatar for firoz.raj
Member Avatar for kirimaru

A) make sure you are not firewalled. -Windows Firewall -Router firewall / port forwarding B) Use a sniffer to see if the packet is even coming in on your network. C) Attach the project so I can look at it.

Member Avatar for Comatose
0
75
Member Avatar for rajeshkhanna_in
Member Avatar for yara.008
Member Avatar for berillio

.vbx files are typically related to modern day .ocx files. They are basically old-school custom controls. In order for the software to work, it will require this file. Chances are it was a file written by the person or company responsible for the software, and has sense gone the way …

Member Avatar for berillio
0
137
Member Avatar for yara.008
Member Avatar for yara.008
0
325
Member Avatar for RayvenHawk
Member Avatar for ShadyxxLady
Member Avatar for Ronen444

You need to either Prepend std:: to your cout [inlinecode]std::cout[/inlinecode] or add a [inlinecode]using namespace std;[/inlinecode] before your main function (and typically after your includes)

Member Avatar for Comatose
0
106
Member Avatar for javaAddict

[QUOTE=RamyMahrous;781077],,,someone professional in Java, the next step should be C# not VB.NET:)[/QUOTE] I couldn't agree more. To answer your question, however: AddHandler :)

Member Avatar for javaAddict
0
502
Member Avatar for Iruka_86

Well first, you should put a meaningful topic. "need help" doesn't give us any kind of idea...... what your situation is, or if it is even relevant to something I know. If you had said "class behavior blah blah blah" I might be able to say "oh, he needs help …

Member Avatar for StuXYZ
0
180
Member Avatar for college.student

It can't find the file, because it's not compiling or linking (very likely). Sooooo, how about showing us the code?

Member Avatar for Comatose
0
112
Member Avatar for npasma

1. You didn't use code tags. 2. This thread is ancient.... like, year 2005. You think he figured out his issue yet?

Member Avatar for Comatose
0
463
Member Avatar for gaurisweet2

The only two ways I can see this going down, is that either you have the program go to the hard-drive and copy the .frm file (which they won't be able to open/see/use without VB) or to take a screenshot with VB, for example, and then mail the screenshot as …

Member Avatar for Comatose
0
73
Member Avatar for jorgeberber
Member Avatar for gaurisweet2
Member Avatar for gaurisweet2
0
84
Member Avatar for u8sand

To my knowledge this isn't plausible. This is why: you have an internal IP address, on your computer, probably something like 192.168.1.101. Loopback (127.0.0.1) is an entirely different interface... so, let's just say that your connection to the internet is through Ethernet 0 (eth0). eth0, basically asks the router for …

Member Avatar for u8sand
0
184
Member Avatar for J-P

I've been working on this with sendmessage, and to be honest, I've been having a hell of a time with using sendmessage in .NET. I can write one in less than 2 minutes that sends a minimize message to a window in VB6, but .NET has somehow made it much …

Member Avatar for J-P
0
129
Member Avatar for mmmark

[QUOTE=debasisdas;779980]that is not possible (to reverse engineer the EXE to get the source code).[/QUOTE] It's very possible to get the code to the EXE... just not in a visual basic program. They have programs called decompilers (google it). You can decompile code into assembly language, or decompile it (sometimes) into …

Member Avatar for jbennet
0
124
Member Avatar for egolovin
Member Avatar for Emerogork

Not sure why time variables are required..... I'd simply use integers (cast the time function or date function to int) and have a timer that updates once a minute (or second). A Few if's a few minute = minute + 1's and you should be good to go. Just remember, …

Member Avatar for Emerogork
0
103
Member Avatar for aiyer

yeah, try using return instead... *mumbles something about multiple exit points*

Member Avatar for Comatose
0
741
Member Avatar for smelf1
Member Avatar for a10m84

I'll wager a bet that he means "The most efficient" means by which to add a value to all items in an array.

Member Avatar for Salem
0
145
Member Avatar for RahulV

What do you mean search a file? Are you trying to make a program that the user can type in a search text, and it will find the file name? or will it find that phrase/word /INSIDE/ the file?

Member Avatar for RahulV
0
481
Member Avatar for sackymatt

it seems your AddToListBox procedure doesn't do anything. [code=vb]Private Sub AddToListBox(ByVal barcode As String, ByVal item As String, ByVal price As String) list1.additem(barcode & " " & item & " " & price) End Sub [/code]

Member Avatar for sackymatt
0
340
Member Avatar for regberds

First problem: you didn't use code tags. you can do that by typing (without the added spaces): [ code=vb ] ' your vb code here [ /code ] Second Problem: it seems you are closing your file two times, but only opening it once... Tsk, Tsk. Lastly, it seems that …

Member Avatar for regberds
0
93
Member Avatar for =IceBurn=

If you are running apache, I believe it runs as user apache, or as nobody.... you could in theory, make the php script setuid and run as someone with permission to write to the directory. However, this is pretty glaring security risk, but if you keep it contained, it shouldn't …

Member Avatar for =IceBurn=
0
219
Member Avatar for nor_d83
Member Avatar for nor_d83
0
172
Member Avatar for arazum
Member Avatar for massivefermion

[url]http://downloads.sourceforge.net/codeblocks/codeblocks-8.02mingw-setup.exe[/url] <<-- you got this one?

Member Avatar for VernonDozier
0
399
Member Avatar for ribena500

1) You shouldn't post in red. It doesn't alter our level of urgency, and actually annoys us. I know your reason was probably to distinguish between your code and your words, but see 3 for that. 2) Let's not post in all caps. Makes it seem like you are yelling …

Member Avatar for Comatose
0
98
Member Avatar for kanaku
Member Avatar for jbennet
0
104
Member Avatar for tableray

Eah, I'm not sure how long SendWait waits, but when I did this type of thing in visual basic 6, I had to add sleeps after every sendkeys event... I also had to add doevents (app.doevents). Even then, it never worked 100% correctly. It has been my years of experience …

Member Avatar for Teme64
0
182
Member Avatar for dinilkarun
Member Avatar for alfred210989

I'm pretty sure you are going to need some kind of graphic library (sdl probably will do) in order to do what you are talking about. edit: maybe you'll need a physics engine too.... I vote newton.

Member Avatar for alfred210989
0
1K
Member Avatar for smelf1
Member Avatar for noodlecode

"The only thing that interferes with my learning is my education.” -=Al Einstein=-

Member Avatar for Freaky_Chris
0
160

The End.