1,372 Posted Topics

Member Avatar for hinde
Member Avatar for ally1002

That depends entirely on how your game works.... are you using a timer control for your loop? Are you just doing a big ass while loop and putting your code in that? The code for the pause button will differ based on your method of implementation.

Member Avatar for vb5prgrmr
0
425
Member Avatar for winrawr

Setting Aside [url=http://www.ddj.com/windows/184403996]Minor Language Quirks[/url], It's slow as hell. Don't believe me? Add a button, and 2 labels...(I've done this without a form too, using sub main() with debug.prints, but the difference is negligible) [code=vb]Private Sub Command1_Click() Dim retval As Double Label1.Caption = Time Me.Refresh For I = 0 To …

Member Avatar for winrawr
0
263
Member Avatar for jado

What version of windows is this.... what version of messenger is this, and how many other people use msn messenger on that computer? Do you have trayserver running?

Member Avatar for DrLupus
0
244
Member Avatar for NewVBguy

I'm guessing zip is the external EXE file, and data(n) is the filename? There are a ton of different method's to handle this kind of ideal. The easiest way to go about this, is to use a VbScript. There are others, with shellexecute, waitforsingleobject API's and others... but the easiest …

Member Avatar for RodneyKocot
0
173
Member Avatar for sirving

Are you sure there is no macro, formula, or function that is forcing the cell to behave this way in the template? Another solution, is to force the change by using "format" on the cell AFTER the paste operation...

Member Avatar for geraldscm
1
1K
Member Avatar for Robert Walker
Member Avatar for Comatose

Swaps Two Elements Of An Array (So that say, indice1's value would become indice2's value, and vice versa). Simple Code Piece Really...

Member Avatar for vb5prgrmr
0
259
Member Avatar for UrbanKhoja

Net send is a command line utility that comes with later versions of windows. It's layout is: net send IPADDRESS Message So, for example, if you wanted to send a message to the IP Address 202.9.101.10 (made up) then you would do this: net send 202.9.101.10 hello world! Now, keep …

Member Avatar for ruchi_sobhit
0
173
Member Avatar for BillWebber

[QUOTE=agrothe;246972]I'm sure one of the expert residents (nudge at comatose) can explain a lot more....[/QUOTE] No Pressure There! :eek: Here is a small breakdown of the way it works. When you call the rnd function, it keeps the seed value in memory. Calling rnd again will give you the same …

Member Avatar for Kelbow-Mendes
0
2K
Member Avatar for Comatose

Another Small And Simple Function To Take Each Character of a string, and put it into an Array, This helps significantly when you need to sift through a string. This Function Uses The spush (String Push) Function, Also In Code Snippits.

Member Avatar for jfc2k4
-2
911
Member Avatar for Shefali

Do you already have code for this (naturally, not all of it, or you wouldn't be asking) but my question is... have you started the project? The layout of how I would go about it, is I would make a query for the birth year, and then retrieve all the …

Member Avatar for Quick-T
0
132
Member Avatar for wiglaf

you can't concatenate it? [code=cplusplus]float Pi = 3.14; system("AdjustSeaLevel.exe " + Pi + " 5.4 11.2 c f g"); [/code] or make a variable that contains the string to pass in, and then issue that? [code=cplusplus]#include <iostream> #include <cstdio> #include <cstring> #include <sstream> using namespace std; int main(int argc, char …

Member Avatar for Frej
0
2K
Member Avatar for omnis

Use cookies. google it with javascript and cookies. There are a ton of functions for it.

Member Avatar for wrivera
0
3K
Member Avatar for an_nurif83

Here is a fantastic tutorial covering the use of ADO with Visual Basic.... This should help quite a bit: [url]http://www.timesheetsmts.com/adotutorial.htm[/url]

Member Avatar for vb5prgrmr
0
617
Member Avatar for apiss_nurz
Member Avatar for mucikera
-1
738
Member Avatar for gurutheja
Member Avatar for azizulkhn
0
391
Member Avatar for snostar

I'm sure if you google it, there is 1 or 2. The problem is this, though. The dll's that you create with VB are not "true dll's", they are "activeX dll's", and it's sort of complicated, but it has to due with "Entry Points". So, if you need to "up …

Member Avatar for eladkarako
0
2K
Member Avatar for lordnikotine

[url]http://www.officecomputertraining.com/vbtutorial/tutpages/page42.asp[/url] is a pretty good tutorial about classes in VB. Hopefully it will help some.

Member Avatar for AndreRet
0
6K
Member Avatar for u8sand

You can use ioctl on the socket with FIONBIO. Should make the socket "non-blocking" which allows it to basically continue if there is nothing on the socket. Alternative, use threads, with function pointers (or functors), and let the socket block ;)

Member Avatar for lashatt2
0
116
Member Avatar for ArvindRaja

What I can tell from googling around, is that this has to do with mismatched STL headers. Something about the sizes, and something about the type definitions. One solution was to sift through all the #includes, and comment them out one by one, but I see that causing more problems …

Member Avatar for md37
0
215
Member Avatar for gebbit

I'm not a C guy by any means, but I think you can cast it.... such as: [CODE] newvar = (int)x + (int)y; [/CODE] Someone who Codes a lot of C, please check this over...

Member Avatar for themoon49
0
2K
Member Avatar for kv123

In C++ A Struct [b]IS[/b] a Class. The only difference is that in a class, the members by default are private. In a Struct, they are by default public.

Member Avatar for YousefAB
0
128
Member Avatar for gemini2011

I see this is your first post, So, Welcome To Daniweb, and I hope you enjoy the site. One favor I am going to have to ask you, right off the bat, is not to piggy or resurrect ancient threads. This thread has been dead for a year, and it's …

Member Avatar for nikhilvsbunty
0
584
Member Avatar for paprworknotdone

I'm guessing you are talking about the programs in the system tray (next to the time), and that you are talking about on startup. If you are not talking about on startup, then you can usually remove icons from the system tray by right clicking on the icon, and choosing …

Member Avatar for Bob_180_Bob
0
610
Member Avatar for badbloodyeyez

[code]Private Sub Form_QueryUnload(Cancel as Integer, UnloadMode as Integer) if UnloadMode = vbAppWindows then ' // Windows Is Shutting Down ' // Instead Of This Stuff, Send Signal To USB Port retval = msgbox("Really Shutdown Windows", vbyesno) if retval = vbno then AbortSystemShutdown vbnullstring ' // Abort Localhost Shutdown end if …

Member Avatar for Satishsr
0
122
Member Avatar for stan yost

[CODE]retval = inputbox("type stuff") if retval = "" then ' /* Cancel Pushed, Or Left Blank */ msgbox "You Entered Nothing..." else ' /* They Typed Stuff */ msgbox retval end if[/CODE]

Member Avatar for lanze12
0
106
Member Avatar for FBIRyan

Once of the biggest problems you are going to face... is how yellow is yellow? From [url=http://html-color-codes.info/]this site[/url] alone I pulled up 7 different values of "yellow". So how yellow is your slider bar's yellow.... is it pure 255, 255, 0? I've got some basic code that will retrieve the …

Member Avatar for nFectid
0
2K
Member Avatar for crash override

I wonder if the [code=cplusplus]#if (_WIN32_WINNT >= 0x0501)[/code] isn't working correctly... (In ws2tcpip.h)

Member Avatar for ndarkduck
0
4K
Member Avatar for khess

A universal distro might as well be as monolithic as the proprietary alternatives. When you start trying to tame a lion, you get bit in the ass...

Member Avatar for jbennet
0
271
Member Avatar for khess

> 3. Focus on the positive side of Linux--people are tired of Microsoft bashing. I disagree Reginald. If people continue to use garbage, it should be thrown in their face that they use trash instead of something worth using. My two cents.

Member Avatar for khess
0
382
Member Avatar for happygeek
Member Avatar for happygeek
0
255
Member Avatar for de_groot

Not sure how this helps.... it would be difficult to determine what is in folder 1 or 10.

Member Avatar for Comatose
-1
126
Member Avatar for Comatose

The Relative of push is pop. Pop removes the last item in an Array, and returns the value into a single (scalar) variable. Again, due To VB Limitations, this one works on strings.

0
201
Member Avatar for Comatose

Simple Function To Simulate The Push Command, due to VB's limitations, This one is Specific To Strings. (Simple enough to modify for integers or variants, etc)

0
208
Member Avatar for Comatose
Member Avatar for willdove
0
314
Member Avatar for gsuraj02

line 79.... q.queue[q.rear] = put_inq; You are assigning an entire struct to this other struct (they are not the same kind of struct)? put_inq might need to have a member attached?

Member Avatar for asadmalik
0
109
Member Avatar for sham
Member Avatar for onaclov2000

I would make the .pl file, look for a temp file. Something like clpdata.dat or something, and have perl write the entry to the temp file. Then, I would have it scan the process list for other instances of my program... and when I see that I am the last …

Member Avatar for onaclov2000
0
269
Member Avatar for MidiMagic
Member Avatar for smelf1

What's interesting here, is that both methods are pretty great..... [b]but[/b] neither one of them gets the typed URL's of a browser other than IE. What about getting the history of Firefox.... Opera.... Chrome?

Member Avatar for rapture
0
834
Member Avatar for vb_programmer
Member Avatar for zwr
0
256
Member Avatar for Dilbert137

I suggest you use [url=http://www.libsdl.org/projects/SDL_net/]SDL_net[/url] For networking. The library is pretty much procedural, but writing a quick wrapper class so it behaves in an OOP manner is trivial. One thing about Anti-Viruses, is that they rely on a signature database. Typically there is an underlying engine that simplifies the majority …

Member Avatar for tux4life
0
120
Member Avatar for astropirit

is SWBF2SERVERMANAGER the window class, or the caption/title of the window? Also, are you sure that the ID of the control will always be 1000? I tested the same code, but removed the double exit points and the check for 1000... I made a quick VB program with a button …

Member Avatar for aces27
0
116
Member Avatar for bennyp

I have Attached A Zip File, That includes A VB Project that authenticates a username and password from a textfile. This project does just that. In order to make the password file a bit more secure (Than what I have done here) would be to encrypt the password that is …

Member Avatar for HNgoc
0
333
Member Avatar for astroboy_x4

Adding it is a lot easier than deleting. Namely, because deleting usually requires that the key be empty, so that it can not contain any sub-keys or values. Adding The key/Value is pretty easy with scripting, like so: [CODE]dim wsh set wsh = createobject("WScript.Shell") wsh.regwrite "HKCR\Folder\shell\Use Zip Help\command", "C:\Program Files\Zip …

Member Avatar for ROYALPINTO
0
326
Member Avatar for Sturm

Heavens Yes! Watch this thread get deleted... just like my tutorials.

Member Avatar for happygeek
0
186
Member Avatar for Debangana

FTP uses two ports (typically 20 and 21). One of those ports is meant to handle all of your commands. The other one, is meant to return data to you. If you receive an EOF on the command channel, it likely means that the command channel (port 21) is indicated …

Member Avatar for Debangana
0
236
Member Avatar for mat1989

You could tokenize (strtok) by "<" and stick each piece into a vector or so... then get it's size().

Member Avatar for Xlphos
0
1K
Member Avatar for rana03

Wait What? You're running a script on *nix, and want that script to map a drive on a windows machine?????

Member Avatar for rana03
0
787

The End.