1,372 Posted Topics
Re: [CODE]<A HREF="#">Link Here</A>[/CODE]? | |
Re: 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. | |
Re: 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 … | |
Re: 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? | |
Re: 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 … | |
Re: 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... | |
| |
Swaps Two Elements Of An Array (So that say, indice1's value would become indice2's value, and vice versa). Simple Code Piece Really... | |
Re: 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 … | |
Re: [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 … | |
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. | |
Re: 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 … | |
Re: 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 … | |
Re: Use cookies. google it with javascript and cookies. There are a ton of functions for it. | |
Re: 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] | |
Re: Is this a homework assignment? If so, how much do you have coded already? | |
Re: How about starting a new thread, and not responding to one that is like, 3 years old? | |
Re: 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 … | |
Re: [url]http://www.officecomputertraining.com/vbtutorial/tutpages/page42.asp[/url] is a pretty good tutorial about classes in VB. Hopefully it will help some. | |
Re: 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 ;) | |
Re: 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 … | |
Re: 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... | |
Re: 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. | |
Re: 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 … | |
Re: 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 … | |
Re: [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 … | |
Re: [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] | |
Re: 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 … | |
Re: I wonder if the [code=cplusplus]#if (_WIN32_WINNT >= 0x0501)[/code] isn't working correctly... (In ws2tcpip.h) | |
Re: 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... | |
Re: > 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. | |
Re: I've read a lot of good ones since you've been writing, but I really like this one. | |
Re: Not sure how this helps.... it would be difficult to determine what is in folder 1 or 10. | |
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. | |
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) | |
A Simple Function To Generate A Random Password Of A Given Set Of Characters | |
Re: 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? | |
Re: I haven't used either one, but the [B]Rumor[/B] is that crystal reports is "really good" | |
![]() | Re: 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 … ![]() |
Re: 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? | |
Re: Hmn, does it have to be from the .dbx file, or can you use vbscript to retrieve the addresses? | |
![]() | Re: 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 … |
Re: 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 … | |
Re: 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 … | |
Re: 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 … | |
Re: Heavens Yes! Watch this thread get deleted... just like my tutorials. | |
Re: 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 … | |
Re: You could tokenize (strtok) by "<" and stick each piece into a vector or so... then get it's size(). | |
Re: Wait What? You're running a script on *nix, and want that script to map a drive on a windows machine????? |
The End.