- Strength to Increase Rep
- +5
- Strength to Decrease Rep
- -1
- Upvotes Received
- 7
- Posts with Upvotes
- 4
- Upvoting Members
- 6
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Re: Hi there. I am making an application in VB.Net. In which i am scanning some system folders and on the execution time it gives me the error; E.g, access to the path "C:\any system file" is denied. Is there any code you people have that is edited in to the … | |
Hi guys, I'm an experienced VB programmer, but recently started using C# and I like it. But what I need to do now, is get a list of all printers installed on the computer (not a problem) and print a page to all of them (also not a problem)... BUT … | |
Re: Is there code in visual basic 2008 where i can set my program to expire every 30 days ? Thank You | |
I've noticed an "awkward" issue in VB.... how to escape from things like nested loops or nested IFs, where the standard Exit Loop, Exit For, or Exit If simply starts a new iteration. For example, assume we have a 3-dimensional array (TheArray) that we want to brute-force test to see … | |
Re: I'm trying to validate the correct format for a phone number in a text box: (000) 000-0000 For a test, i made it so that a messagebox shows up saying "correct" if the format is correct. This test works well WHEN the format is correct. BUT when the format IS … | |
Re: hi everyone I have been programing in c++ for a while now, but I'm asked to write project in c#, so is hard to learn it ?? also I have never wrote a program with interface , so is it possible to write console application then build the interface ? … | |
Hi guys, I'm fairly new to C++, though I have several years of experience with C#. I've made program with XAML and C++. Part of the program's job is to download several hundred 10mb files from an FTP patch server. I've been using the .NET FtpWebRequest for this task, and … | |
This is probably a very simple answer that I'm missing. I have index.php and qeury.php in the same directory. Users visit index.php, which prints some info. It then needs to call qeury.php and exit, without waiting for query to finish running. Query just pings a server and then exits. How … | |
I need some help creating a regex. It seems like a simple problem, but I cannot, for the life of me, wrangle out the regex. All the regex should do is match an 'e' that is not preceed by a '', unless there is a space between them. Example: In … | |
Hi guys, I'm writing a program that needs to log on to a remote computer to preform a task. I have the user name and account, but I need a way to logon as that user on the remote machine. Edit: All I need to do is copy a file … | |
I am replacing an AutoHotkey script with a VB.net application. Part of the script involves sending keystrokes to an active application. VB uses SendInput and does send the keystrokes, but the application doesn't "get" them, but when AutoHotkey sends the same key to the same application, it works. I have … | |
I need to retrieve a HTML file from an external site ([url]http://example.com/page.html[/url]) and parse it. Parsing it is fine, however I can't seem to find a way to retrieve the file given this: [LIST] [*]Cannot use cURL [*]Must work on PHP 4.3.9+ [*]Must retrieve the file as a HTTP request … | |
Hi guys, Recently moved into PHP for a personal application. Basically, it tries to connect some servers to see if they're online. It ultimately returns a string, which the caller echos. The main function is: [CODE] function IsServerOnline($IP, $checkforevent = TRUE, $ischannel = TRUE, $PORT = 11020) { global $UseGlobalOverride, … | |
Re: I have to make a lot of retangular boxes to make my program neat but i'm having a problem of adding boxes. I tried using the draw event in the tab page but everytime i scroll it will draw the lines again and messes up everything. Also when making a … | |
Re: I want to start a method whose name is in a string. My server program will be receiving commands from the client, perform those commands, and send the information back to the client. So instead of using a switch with many cases that only execute a method, I thought it … | |
Re: i was sure this should be easy but here i am. i have a text file with information of the tones required to play the mario theme. i was needing to read line by line and break out the numbers and put them in a array. the problem is i … | |
Hi guys, I'm making an Etch A Sketch program in C#. I have two buttons for the "knobs". Right now, I'm handling the mousemove event of the button to evaluate if the user is dragging the mouse up or down, and then updating the etch a sketch appropriatly. This works … | |
Hello guys, for a School assignment, I need to code a program in VB.NET or C#. The only requirements of this program are: [LIST] [*]It must use file IO in some form [*]It must take between 1 and 4 weeks to finish (assuming that I work on it 1-2 hours … | |
One of the things that always irked me about C# is its lack of an InputBox function. In VB, You can simply do [CODE=VBNET]response = InputBox("Enter your name")[/CODE] Unfortunately, there is no C# equivalent. Sure, you can call the VB one, but doesn't that kind of defeat the purpose of … | |
Re: I would like to create a message box which has a textbox to enter a string in it how is this possible? | |
OK, I'm making a program that pulls information out of a DaniWeb Profile page using a WebBrowser. However, it's frankly getting annoying having to click "Member log-in" each time, and this is something you'd do multiple times a day, possibly with different accounts. So, I thought, why not have it … | |
I have a program that must copy a file to 3 locations, the local hard disk, a USB drive, and a network location. I have the file (about 70mb) loaded into a byte array. My quesion is, since I'm not actively modifying the byte array, can I impliment a form … | |
Hi guys, I want to add an animated taskbar icon to my WPF project. I figured I would just use the Icon property, but I'm fairly new to WPF, and I dont know how to do it. In Winforms I would create a thread like this: [CODE]Private Sub AniIcon() Do … | |
Re: I try to develop the program with C# VS in Windows Mobile5.0 My application up and running, however when I scan the barcode and get the data from database it work fine. Once I keep scan the barcode for a while. Program stop working and sometime can be terminate as … | |
Re: I still can't seem to think, syntactically, how to implement this. The logic of the code is in my head, actually, a couple of ways to do it is clear but I'm having trouble in creating a solution for the core part of my game. So far so good, I've … | |
Hi all, I must admit I'm rather stumped by this one. I have a program that handles tickets/prizes for a business. Patrons obtain tickets, and then go to turn them in at a counter. An employee counts their tickets, and inputs that number into my program. The program then displays … | |
Re: i have a background worker with a sleep method inside a method. (winforms) here is the code that is executed: [CODE] private void backgroundWorker1_DoWork(object sender, DoWorkEventArgs e) { BackgroundWorker worker = sender as BackgroundWorker; int[] makeSelfMoves = new int[4]; foreach (KeyValuePair<int, int[]> item in replay)// count should be more than … | |
Re: hi I am looking for ideas to develop a map I'm looking for source code with c # to develop this map | |
Re: The compiler is showing "not all code paths return a value" for the CalculateCharges. Help!! [CODE] public decimal CalculateCharges() { decimal pay; decimal decHoursParked; decHoursParked = Math.Ceiling(_hoursParked); if (decHoursParked <= 3) { pay = 4; } else if (decHoursParked > 3) { pay = decHoursParked * 2 - 2; } … | |
Re: how come my code is not showing like the one in the picture below. [CODE] static void Main(string[] args) { Console.Title = "ICA18 - Methods"; Console.WriteLine("{0, 40}", "ICA 18 - Methods"); double dvelocity = GetDouble("Enter the velocity: ", 10.0, 200.0); double dangle = GetDouble("Enter the muzzle angle in degrees: ", … |