417 Posted Topics
Re: based on these two methods is there any gain over one, is one safer than another? | |
Re: repost that using the code tags [ code="csharp ] your code here [ / code ] without the spaces of course. | |
Re: without booring you too much or reapeating valuable information already posted i will tell you how i began to understand arrays. when i first started programming i had no idea what they were or how they worked untill i started thinking about them like this Boxes. as simple as that … | |
Re: some code i wrote that basically does what you spoke of [code="cplusplus"] #include "stdafx.h" #include <cstdlib> #define length(a) (sizeof a / sizeof a[0]) void ArrayGenerator(int * MyArray, int ArraySize) { int lowest = 1, highest = 50, range = (highest - lowest) + 1; //act like we are generating random … | |
Re: What have you written so far? try writing some pseudo code first :) you will want an IP and a specific range of ports to check. you will need a method for sending a ping to them and a method for listening for a response (three part handshake for networking … | |
Re: I this is solved but if you are using the newer version of express 2005 you can simply create a masked textbox that only accepts INT values | |
Re: let's see some of your examples. looks like you will be working with some basic arrays and file reading. probably wont be much in the ways of memory to hog unless you are talking about reading thousands of students at once :P | |
Re: i cant think of a better resource than [URL]http://www.msdn.com[/URL] for all your programming needs really. when you find what you are looking to do if you need examples this is teh place to come to. I use MSDN for pretty much all of my research. Personal Books i found of … | |
lastnight when browsing daniweb i realized something. when i first started browsing this site back around 2004 i was offering PC troubleshooting support. I spent most of my time on this site offerent support for others at zero cost because i love to do that sort of thing. Around that … | |
Re: [quote=nottoshabi;391278]Yes Maya is built in C++. As for your first answer you just made me more confused then I was when I first asked the question.[/quote] i believe he is trying to say that if and when you write this DLL and begin testing since you cannot execute/run the DLL … | |
Re: [quote=taineechan;389809]I'm writing a peer to peer network in c# with .net 3. I'm using a tcp/ip architecture where each device acts as both a client and a server. If one pc wants to download a file from another, how will it know what port the server on the other pc … | |
Re: [quote=Narue;373754]There's no general ratio. If you're expecting one, you'll be waiting until somebody spends his life doing benchmarks.[/quote] so true, the client i work for is constantly asking for well if it is going to x ammount of time to develop this how long do you think it will take … | |
Re: post some of the code that you have, what you need to do is make sure that the text box you are printing to is public. also you may run into some issues with the fact that you are working between two different classes see. we come into scope issues … | |
Re: are you trying to refresh a part of the application that is not directly associated with the thread? this is common and can be a pain in the but to fix. if you would like to share a sample of your code i may be able to help you write … | |
Re: what do you mean how to recognize the computer move? you are writing the code that will basically control the AI for the computer. what you need to recognize is when the players turn is over so you can start your AI which would be simple. you are controlling the … | |
Re: [code=csharp] public class ManageDigits { /// <summary> /// when the class is called the array is built for the first time /// </summary> public ManageDigits() { x_DigitSearchedFor[0 , 0] = string.Empty; x_DigitSearchedFor[0 , 1] = string.Empty; x_DigitSearchedFor[0 , 2] = string.Empty; x_DigitSearchedFor[1 , 0] = "One"; x_DigitSearchedFor[1 , 1] = … | |
Re: [QUOTE=Asif_NSU]Everyone, have a look at(if u want to) the flash movie in the follwing page: [url="http://www.newgrounds.com/portal/view/176283"]http://www.newgrounds.com/portal/view/176283[/url] And let me know how u feel... I got some serious issue with this one.[/QUOTE] its a flash animation...is there really any reason to have an issue with it?? i mean its just supposed … | |
Re: determins what you are looking for. since you have String s you can say if s == what i am looking for break; that will terminate the loop and continue. so [code=cplusplus] while(cin >> s) { if (s == "what i want") break; count++; } [/code] | |
Re: [QUOTE=croft]I want to load an image on the same page.. Hmm Check this site out and how the screenshots work and you know what i mean. [url="http://www.eve-online.com/screenshots/collection.asp?col=24112004&n=10"]http://www.eve-online.com/screenshots/collection.asp?col=24112004&n=10[/url] I want t5o have small thumbnails belove a larger image. When i klick one of the smaller thumbnails i want it to load … | |
Re: [IMG]http://www.aherninteractive.com/flash/turkey_screenshot.jpg[/IMG] creamed peas | |
Re: im not sure if a machine will ever be 100% idle but you can watch process so you could easily watch the System Idle Process which gives the % of system that is idle at the current moment in time. i cant quite remember the namespace right now but one … | |
Re: sounds like your app is going to be using a lot of loops. not too hard, i wont do your homework. post up some of your code and what you think it should do and we will go from there. a good starting point method 1: Y = starting point … | |
Re: [quote=iamthwee;340730]>can you example of a counter please? [code] counter = 0 While read in a line counter = counter + 1 writeToConsole + counter + "." + line endWhile [/code] >After i put them in a file like this i want to search and delete based on the numbers. e.g. … | |
Re: The binary Reader/Writer used for IO streams to files. i do not believe that they can be used in the manner you wish. try an ASCIIEncoder as that has the option to get bytes/strings | |
Re: written in vc++ though [URL]http://www.codeguru.com/cpp/cpp/cpp_managed/threads/article.php/c4875/[/URL] | |
Re: Im personally a big fan of Photoshop and Fireworks. | |
Re: [quote=scru;330543]I have 2 issues:rolleyes: : 1. I'm creating a combobox from inside code (sort of dynamic, when the user finishes a row, another row appears) and I would like to know how to set the list of items the user chooses from.[/quote] is it possible to see a snippet of … | |
Re: [quote=redalienz;331733]Hello, I want to know that how to run or execute the SQL DTS Package in C#.NET. Any person can help me. please...[/quote] have you checked out the help and support for your SQL package? check out this link [URL]http://www.15seconds.com/issue/030909.htm[/URL] (looks like its written in some VB though, but easily … | |
Re: its an alright model for a beginer, but its in need of alot of work. i used to model in 3d...a whole lot. but i just got bored with it. anyways. i would recomend boxmodelling, and trying to make it all one single object except for moving parts (clip, arm … | |
Re: [url="http://gmail.google.com/gmail/a-55c3a8315-972c53adb0-d4b08db546"][u][color=#0000ff]http://gmail.google.com/gmail/a-55c3a8315-972c53adb0-d4b08db546[/color][/u][/url] [url="http://gmail.google.com/gmail/a-55c3a8315-4d0b3464e3-5c696684b6"][u][color=#0000ff]http://gmail.google.com/gmail/a-55c3a8315-4d0b3464e3-5c696684b6[/color][/u][/url] [url="http://gmail.google.com/gmail/a-55c3a8315-10d37bf037-3db44c5b05"][u][color=#0000ff]http://gmail.google.com/gmail/a-55c3a8315-10d37bf037-3db44c5b05[/color][/u][/url] [url="http://gmail.google.com/gmail/a-55c3a8315-23541e7cd6-a25dc4fbb6"][u][color=#0000ff]http://gmail.google.com/gmail/a-55c3a8315-23541e7cd6-a25dc4fbb6[/color][/u][/url] [url="http://gmail.google.com/gmail/a-55c3a8315-2b8039e000-8a73a29ee0"][u][color=#0000ff]http://gmail.google.com/gmail/a-55c3a8315-2b8039e000-8a73a29ee0[/color][/u][/url] [url="http://gmail.google.com/gmail/a-55c3a8315-65bffa11d3-869d7532d1"][u][color=#0000ff]http://gmail.google.com/gmail/a-55c3a8315-65bffa11d3-869d7532d1[/color][/u][/url] as i get more invites ill post more. ![]() | |
Re: [QUOTE=mrshotdog]Ok, LOL. Call me dumb. :o But what and where is the heat sink and what can I do to fix it if anything.[/QUOTE] the heatsink is located above the processor, usualy under a big fan. you can find it by looking at your mobo manual for exact location, or … | |
Re: [quote=SebFr;304693]Hi, I'm working on an application in Microsoft Visual C# with an embedded webbrowser. After I loaded a page, I'm using the event DownloadComplete to execute an action. On my computer it works fine, but in some other computers, the event DownloadComplete is never reached, even if the page is … | |
Re: [URL]http://www.codeproject.com/csharp/CSharpRipper.asp[/URL] tutorial covers how to make a cd-ripper in C#, which covers how to eject the drive...etc this may lead to other discoveries of your own. hope this was of some help. | |
[B]Intro[/B] Before we start need to create a databse to work in (i will assume you are using phpadmin to do this) just go to (databases)... and in the blank textbar create a new database, and call it phpforms then open up your command prompt and enter your mysql shell … | |
Re: [quote=Narue;287982] The nice thing about C# and .NET in general is that threads are dead easy to work with. [URL="http://www.codeproject.com/cs/threads/multithreading_cs.asp"]Here[/URL] is a tutorial introduction, and also a whole website that you should bookmark when working with .NET. :)[/quote] thank you very much for that link. it is an incredibly helpful … | |
Re: [quote=sureshshanmugam;284755]Dear All [IMG]http://forums.microsoft.com/MSDN//emoticons/emotion-6.gif[/IMG] I have very bad bug in my program as it's run fine on windows 2000 but can't run on windows xp I try to run my coding, the system will produce Error.ie) "unhandled exception of type System.Runtime.InteropServices.COMException occurred in system.windows.forms.dll Additional information: Class not registered" with green … | |
Re: programming is a very fun and complex field ;to get into. I happen to really enjoy and love programming and have been dabling around in it ohhh since i was about 14ish (6th grade, not sure how old i was). My first language was C, then C++, then i backed … ![]() | |
Re: [quote=cancer10;273489]Yes I am using Access and Jet Any other solution?[/quote] suppliment his solution a little. what language are you using to build the database. you may be suited to just use that language to get the current date and then pass that into the query. | |
Re: [quote=chuck577;286460]I did a little more research and found that I was going about this all wrong. I am going to use a DataSet and that should do what I need done here. Thanks[/quote] another option could be simply running a select statement to grab what you need since you are … | |
Re: i will respond to this tomorrow but i have a general idea how to :). | |
Re: [quote=nissa2424;284106]Hey guys, This is my first time using Daniweb and I think I messed up! I need HELP--- I need a electronic addressbook. I need 8 text boxes: 1) name of contacts 2) company name 3) Address 4) city 5) state 6) phone 7) fax 8) email address But the … | |
Howdy everyone again, Just thought that i would post another snippet for those interested in working with databases and C# in the windows forms environment. I did some searching on this and found that there was not really any clear concrete answer on how to do this. After some searching … | |
Re: [quote=davvid;280518]hello, I wana show the cards in randomly from the array when I click the start button. ex: I have 12 picture boxes. and if click the button , the randomize cards come out to those boxes. How should I do ? :eek:[/quote] use the random function, start the seed … | |
I am working on a website right now and have come to a halt. I need my clients to be able to click on a piece of text like [html]<a onClick="funciton to change text">Webby Stuffy</a>[/html] and i need it to change the text within a table to something else. I … | |
Re: well for both of you this will help alot, check out the code snippit area, i and many others have submitted code for your very purpose, download them, play with them, learn them =)! it will probably be the very best way to learn, that way you can see how … | |
Re: [quote=stymiee;255480]Well, it took a few months but I finally made it into the top 100 in post count. I wonder how hi I'll go?[/quote] still gotta beat me!! im in 49th place :P | |
Re: just a question though...does it matter to have the src="location of script" then?type="text/javascript" also, have you tried removing the actualy <script tags from it? i know that when i went to do what your doing but for an image swap program, that i had to remove the <script> and </script> … | |
Re: [quote=vicec64;255383]Alternatively you can just hit the win(start)/r key on the keyboard at the same time. Nice tip.[/quote] Deffinately my favorite way of doing it. i already have way too many icons on my desktop :lol: | |
Howdy there all again. I have been working in C# for some time and think i am ready to graduate to a real language that can actually work hand in hand with memory managment :P so my first venture is to write a piece of software that will open a … |
The End.