282 Posted Topics

Member Avatar for Jboctor8

When it comes to Excel and C#, the only help I can offer is in Interop, as I have experience from using it. Not sure if this is what you are using, but I have provided pretty much all the code you'll need (you will have to add the reference …

Member Avatar for JOSheaIV
0
860
Member Avatar for untitled69

Oh man ddanbe, how far we have come with computers right? My rig cost me 2k a fear years back ... I can do lower case characters, full three-dimension ... LOL sorry couldn't help but comment

Member Avatar for JOSheaIV
0
192
Member Avatar for JOSheaIV

So currently I have been working with a program that is working with 2 threads, one is used to scan a webpage, download it's data, parse it, and then update a form. The other thread is responsible for running an elapsed time, that gets the elapsed running time, and then …

Member Avatar for JOSheaIV
0
214
Member Avatar for csss

Hey so I did some looking around online. Found a post by another user somewhere else who was having a similar issue as you. Their fix > "ok..i solved this one...it turns out to be ...I need to set the padding to either zero or no padding." However when I …

Member Avatar for JOSheaIV
0
553
Member Avatar for vebi1000

I really haven't worked with user controls myself, something I have been meaning to look into myself. But based on what you're asking, I want to say you could use delegate? I have really started to sink my teeth into these lately with a current project related to threading, and …

Member Avatar for JOSheaIV
0
4K
Member Avatar for silvercats

LOL When in doubt, convert to a string. To all my more experience member, think about how many times this has fixed an issue (at least this seems true so many times for me)

Member Avatar for JOSheaIV
0
426
Member Avatar for csss

You could use riahc3's comment to generate random numbers and then say apply each number to each character of a message. The problem here is that you key is the time, which is extremely hard to deal with because if you are one second off, the decipher could be ruined. …

Member Avatar for JOSheaIV
0
2K
Member Avatar for JOSheaIV

So I have been working on a program lately, or actually was working on it and came back to check on it. The program is being developed for someone else, who unfortunately has not been cooperative in giving me the stuff I need to test it. The program is used …

Member Avatar for JOSheaIV
0
875
Member Avatar for sujit.patil

I will also advise not to use the hash code as there is a risk of having the values not functioning correclty. From the MSDN website > The default implementation of the GetHashCode method does not guarantee unique return values for different objects. Furthermore, the .NET Framework does not guarantee …

Member Avatar for Ketsuekiame
0
2K
Member Avatar for xHellghostx

I Know you've got your answer but I wanted to add my 2 cents. As deceptikon points out you should look on using List<> The reason I felt I wanted to point this out is because when I learned to program in Java I quickly fell in love with using …

Member Avatar for Ketsuekiame
0
629
Member Avatar for AstralPlain

The Daniweb community is not a place to come and just ask for someone to write code for you, it's here to help not do your school work. How about instead, putting some effort into the project yourself, trying to get it to work, and then if you have issues …

Member Avatar for tinstaafl
-2
106
Member Avatar for AstralPlain

Oh I have a perfect class for this, I have been meaning to make a CodeProject for this but I wrote this class that is designed to read in a file, and return a list with each new line as a new index in the list using System; using System.Collections.Generic; …

Member Avatar for tinstaafl
0
210
Member Avatar for silvercats

> Try the .NET decompiler by jetBrains Second this. I have actually used this for competitions that involve where you have to revese engineer code. This is the only C# one that I found to work (if this is what you are looking for)

Member Avatar for JOSheaIV
0
162
Member Avatar for JOSheaIV

So lately I have been starting to notice some weird stuff going on with my W7 Prof. It all started a few weeks back when I plugged in an eSata drive. When I was done with the drive I looked for the ability to "eject" it, but didn't see anything. …

Member Avatar for JOSheaIV
0
92
Member Avatar for Asper

There's a lot of code that can be done to do this. I speak first hand as I have been trying to find ways to monitor sites this way. You can use the WebBrowser, HttpRequest, WebClient (for example), there's also external libraries to help. For instance cURl (http://curl.haxx.se/libcurl/dotnet/). I have …

Member Avatar for tinstaafl
0
176
Member Avatar for melvic.gauci

I second ddanbe's comment. I looked at your code ... umm does this code even run? No offense but you are declaring a SeniorStudentsClass inside itself. Maybe you should rebuild this code. Start with a main. If you want a print class make it like public class SeniorStudentsClass { public …

Member Avatar for Momerath
0
174
Member Avatar for paul.meeuwissen.106

Okay I am actually about to leave but I have some old code that might help. **NOTE THIS IS FOR PANELS NOT BUTTONS** but the concept might give you some assistance Control [] controls; controls = new Control [] {null, panel1, panel2, panel3, panel4, panel5, panel6, panel7, panel8, panel9, panel10, …

Member Avatar for JOSheaIV
0
233
Member Avatar for hiral2cool

Can you give us some more details please? What exactly are you searching? You mention database, am I to assume this is what you are searching? If so what type? Please your question is kind of vague

Member Avatar for JOSheaIV
0
124
Member Avatar for Webbsta

Can we see more of the code? It might help. Also this wouldn't have happen to be a bot for a game? Like a macro would it?

Member Avatar for Webbsta
0
227
Member Avatar for nivarshn

I know you said VS 2005, .Net 2.0, but I found this link http://omegacoder.com/?p=555 It's for 2010, 4.0, but it should be able to give you an idea. It's been awhile since I worked with office, but you'll be looking into something called Interop.

Member Avatar for NanaYee
0
1K
Member Avatar for Cally_Law

I really don't have much knowledge here, but may I ask you something. Why don't you assign the fileupload to a string, and have the string hold the value? Or am I misunderstanding this?

Member Avatar for JOSheaIV
0
164
Member Avatar for ravenj92

Okay I am looking at you array. You declare it with size 4, but then try to add 5 elements Here's something to remember with arrays. When you declare it "new int[4]" you are saying we have indexes [0, 1, 2, 3]. The size is 4, but index 0 counts …

Member Avatar for JOSheaIV
0
268
Member Avatar for WDrago

I know this is answered, but I thought I would mention this (since I use SQLite) I downloaded my SQLite from here http://system.data.sqlite.org/index.html/doc/trunk/www/downloads.wiki But not the .exes, but the .zips. Then I just used the .dlls from the file. You do know how to add references to your project right? …

Member Avatar for JOSheaIV
0
334
Member Avatar for diya45

Please provide more of the code, if not all of it. Usually when you see something like this it means you didn't do like "rec = new Button()" or something like that (this is an example ... not saying do exactly do this). But again providing more of your code …

Member Avatar for JOSheaIV
0
188
Member Avatar for jason007thomas

Okay I am going to take a shot in the dark. I haven't done a lot with images, but when the GUI doesn't display an image like it should I do a Update(). It can sometimes force the system to update. You could try myImage.Update(); Let me know if this …

Member Avatar for JOSheaIV
0
149
Member Avatar for jake.lawton.12

Few quick things. Completely delete you Minecraft folder (C:\Users\USERNAME\AppData\Roaming\.minecraft) then redownload the .exe and try again. Secondly did you try any mods or texture packs? Or is this a clean download with no alterations? Mods and what not can mess with start up (I am no stranger to this). Also …

Member Avatar for JOSheaIV
1
537
Member Avatar for Programmer629

Do you have an experience in other languages? That might help alot to. I will say this. You'll want to have a List or Stack or Queue that represents the card deck and to shuffle it you randomly select an index and add into a new List (or queue or …

Member Avatar for Programmer629
0
459
Member Avatar for night_sky32

Based on how you wrote it, it appears you are creating a non-static class (for either example). Personal opinion, if you are just using it to access resources (like number crunching for example where you pass in and wait for a return) I would go static, but if you want …

Member Avatar for getnit
0
3K
Member Avatar for elenizi

Okay let's see if I understand your question right. You want to update values in your existing database correct? If so I can help you a little here (I am in the long delayed processes (thank you school) of learning how to use SQLite). Okay so I was going to …

Member Avatar for JOSheaIV
0
401
Member Avatar for Jsplinter
Member Avatar for anisha.silva

You need to add an event like ItemChecked that links to all your checkBoxes. I can't write out the code at the moment (lol don't have time), but I can explain the concept quickly. So have an ItemChecked event (this is a checkedListBox event but you should be able to …

Member Avatar for JOSheaIV
0
230
Member Avatar for alvy

The way I learned was a class in C#. The assignments and class taught me well. Of course that was the same class the professor docked my on my final project, and had no valid reason (I think I showed him up, my code was more efficent then his ... …

Member Avatar for JOSheaIV
0
152
Member Avatar for tboctavan

Dang Momerath you beat me to it. Actually the problem is "I am never taking a C# class again." LOL just kidding, I love C#, and if I have the choice it's the language I always choose ... don't give up on it, it's a very nice language (it literally …

Member Avatar for JOSheaIV
0
168
Member Avatar for JOSheaIV

Hello DaniWebbers, So I have been hard at work on a new program that reads in a webpage every X amount of seconds. Once doing so it detects if there has been a change on the webpage, if so, updates a form, and let me know of the change. Well …

Member Avatar for JOSheaIV
0
7K
Member Avatar for harishbansal90

2nd the Encoding. Speaking from past experience (I built a code used to read in webpage sources), I had to read in funky characters and other stuff, and UTF8 seemed to clear it up. BTW The way to check (at least I think so, this is what I just did) …

Member Avatar for JOSheaIV
0
343
Member Avatar for jonathan.oberhaus

While Mikey's way would indeed work, I usually try to avoid this just incase somehow the two go out of sync (never the less Mikey's would work). What you coudl do is make a custom object array public class scoreData { string name; int score; public scoreData(string name, int score) …

Member Avatar for Momerath
0
122
Member Avatar for stefano.a.feltre

First of all never heard of "ValoriText", also do you mind posting more of your code? I am having a little trouble understanding what you are asking but if I see more of your code I might be able to figure it out

Member Avatar for JOSheaIV
0
124
Member Avatar for naui95

I know this is solved, but I wanted to post this piece of code I use all the time and love to use (mainly used when reading in a document or something but works here) string s = "one,two,three,four"; List<string> words = new List<string>(); words.AddRange(s.Split(new String [] { "," }StringSplitOptions.RemoveEmptyEntries)); …

Member Avatar for JOSheaIV
0
271
Member Avatar for Ismail Issa

Yeah an error and for instance line # of message would be nice. But as ddanbe pointed out, all those Console.Writeline and Console.Readline are intended for like command prompt (a console). So if you plan to run this in a form (as you have coded it from all the events), …

Member Avatar for JOSheaIV
0
99
Member Avatar for richjohn.bulante

Well if you are looking into facial recognition, you might want to look into something called [OpenCV](http://opencv.willowgarage.com/wiki/). However I looked into this stuff awhile ago and it was confusing. It's pretty much a library of code. They have demo code somewhere (it's been years since I looked into it) where …

Member Avatar for JOSheaIV
0
180
Member Avatar for packluv12

You should check the error message and see what line the error is occuring on. Also you are reading in the document to a List<int> here salesList.Add(int.Parse(inputFile.ReadLine())); Why not trying salesList.Add(Convert.ToInt32(inputFile.ReadLine())); Of course I haven't used that in awhile but it should work (just throw this into a try/catch) (sorry …

Member Avatar for JOSheaIV
0
250
Member Avatar for JOSheaIV

Interesting name for a title wouldn't you say? Well I couldn't find any better way to put it. Anywho, I have been working on a new program that is designed to read in a website ever so many many seconds, parse the data, and update the GUI. Now I have …

Member Avatar for JOSheaIV
0
1K
Member Avatar for JOSheaIV

So awhile back I came here asking for help trying to read in data from a webpage, more specifically the HTML. I was running into an issue where the data wasn't actually being read (as if it hadn't loaded in). I had to put the program aside for awhile as …

Member Avatar for JOSheaIV
0
296
Member Avatar for JOSheaIV

Hey guys so for a class of mine we have to build a program for a client that is going to require a Database. The database is going to be purely for demo purposes so an actual server is not necessary. Now I have never done this before and I …

Member Avatar for JOSheaIV
0
259
Member Avatar for JOSheaIV

So first of all let me say I am pretty new to C++ and find it very difficult to learn (especially when compared to say C#) Anyway I am working on a program that requires the use of a 2D array or a similar container. After talking with a professor …

Member Avatar for JOSheaIV
0
3K
Member Avatar for JOSheaIV

Okay so a few weeks ago I started using my HDTV as one of my monitors on my GTX 285 graphics card. Then one morining I put the system to sleep woke up to turn it on. All of a sudden a fan (which I am almost 100% sure is …

Member Avatar for JOSheaIV
0
3K
Member Avatar for JOSheaIV

Okay so I am completely new to creating a database, and have been trying to create one in Visual Studio 2010 I found this guide on the web and have been following it pretty successfully till I came to spot that I can't get past (here's the link - [url]http://msdn.microsoft.com/en-us/library/dd193408.aspx[/url]) …

Member Avatar for JOSheaIV
0
179
Member Avatar for JOSheaIV

Okay so alittle while ago I decided I wanted to write a program that would read in data from a website (the HTML data) and then use it from there (long story short I was to read in a list of urls, then access each of those and gather data …

Member Avatar for JOSheaIV
0
229
Member Avatar for JOSheaIV

Okay so right now I am working on a program that gathers data and then displays it. For instance how many items exist and how much of them exist and what is their rank. Well I want to display these count of how much each rank exists with a bar …

Member Avatar for Singlem
-1
190
Member Avatar for JOSheaIV

I have been working on a massive project for awhile now to help do the scheduling at my work. One now I am working on a form design for entering in data to create a shift. Part of this is the start time and the end time of the shift. …

Member Avatar for JOSheaIV
0
889

The End.