29 Discussion / Question Topics

Remove Filter
Member Avatar for Xcelled194

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 …

Member Avatar for sahil000005
0
1K
Member Avatar for Xcelled194

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 …

Member Avatar for basharyassin
0
358
Member Avatar for Xcelled194

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 …

Member Avatar for L7Sqr
0
580
Member Avatar for Xcelled194

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 …

Member Avatar for Xcelled194
0
177
Member Avatar for Xcelled194

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 …

Member Avatar for nezachem
0
84
Member Avatar for Xcelled194

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 …

Member Avatar for Xcelled194
0
147
Member Avatar for Xcelled194

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 …

Member Avatar for paulobuchsbaum
0
831
Member Avatar for Xcelled194

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 …

Member Avatar for migcosta
0
627
Member Avatar for Xcelled194

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, …

Member Avatar for Xcelled194
0
157
Member Avatar for Xcelled194

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 …

Member Avatar for Rashakil Fol
0
536
Member Avatar for Xcelled194

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 …

Member Avatar for BitBlt
0
201
Member Avatar for Xcelled194

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 …

0
57
Member Avatar for Xcelled194

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 …

Member Avatar for Unhnd_Exception
0
172
Member Avatar for Xcelled194

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 …

Member Avatar for lxXTaCoXxl
0
447
Member Avatar for Xcelled194

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 …

Member Avatar for Xcelled194
0
153
Member Avatar for Xcelled194

Hi, I'm writing a program that interfaces with built in Windows Tools like IPCONFIG.exe. For reasons of compatibility, this program runs an IPCONFIG.exe stored in the application directory. However, IPCONFIG.exe is dependent on several files in the System32 directory (it uses relative paths). Short of copying all of system32 into …

Member Avatar for Momerath
0
127
Member Avatar for Xcelled194

Hi guys, my program needs to manipulate the command line, and it needs administrator access. So, I'm using a Process with the administrator user name and password, then piping input back and forth. It works 100% if i leave out the credentials, but if I add them in, on the …

0
90
Member Avatar for Xcelled194

Hi guys, I'm making a program that will display the actual balance output of a sound. It's going to be used with a game that uses 3D sound. What I want to do is have the application monitor audio output from the system -- it can use the Stereo Mix. …

Member Avatar for Xcelled194
0
147
Member Avatar for Xcelled194

Hi, I have a rather interesting question... I'm writing an uninstaller, and I need it to load itself into memory, delete associated files, preform cleanup actions, and finally exit, all without using the CMD prompt. How can I do this?

Member Avatar for Momerath
0
53
Member Avatar for Xcelled194

Hi, I'm making a custom sound class, basically, outside the class, I mesh several sounds into one byte array. Thats fine, It's not a problem. Now, I want to play one byte at a time. Long story short, I can't use DirectX or simply give the program a huge byte …

Member Avatar for lolafuertes
0
81
Member Avatar for Xcelled194

Hi, I'm making a simple utility for browsing an intra-net site using VB.net webbrowser and for reasons outside my control, everything requires a passcode to be accessed. So, for example, [CODE]Index.html[/CODE] is blocked by the company server but [CODE]Index.html?pass=123456[/CODE] is allowed. Is there a way to get the web browser …

Member Avatar for Xcelled194
0
306
Member Avatar for Xcelled194

Hi, I'm writing a web crawling program for my personal site, and I'm looking at using regex to extract the URLs. However, I have both absolute and relative URLs, and I want to match URLs only on my site (mysite.com). So it would match: [CODE]/index.php image1.jpg page1.html Http://mysite.com/ Http://mysite.com/page1.html Http://Wiki.mysite.com/ …

Member Avatar for Xcelled194
0
107
Member Avatar for Xcelled194

Hi, for a program, I need to map the location of all the back pixels in an image into some kind of structure. The program later uses the structure to select a random pixel location. It then removes the location, to prevent it being used again. The problem is, there …

Member Avatar for Xcelled194
0
77
Member Avatar for Xcelled194

I have two forms (Form1 and Form2) which appear side by side. I want to "tie" them together, IE, you drag form1, and form2 follows it. I was thinking of using the Me.LocationChanged Event, but before I do that, I'm wondering if I'm overlooking a native way to get the …

Member Avatar for Unhnd_Exception
0
74
Member Avatar for Xcelled194

My curse seems to be SendInput... I have tried many sites and code variations and it never works right... it always returns an error. So can someone just whip together a quick class that has 3 public methods, one for keyboard (that takes a Keys data type) one for mouse, …

Member Avatar for Unhnd_Exception
0
5K
Member Avatar for Xcelled194

OK, this one has me baffled. I'm trying to teach myself more about recursive functions, so I'm making a prgoram to figure out the Knights Tour ([url]http://en.wikipedia.org/wiki/Knight's_tour[/url]). It went well until I tried to run it. It stops randomly between 2,000 and 3,000 iterations with a Stack Overflow Error, yet …

Member Avatar for Xcelled194
0
216
Member Avatar for Xcelled194

I'm attempting to make a program that will simply draw a guide (consisting of two perpendicular lines) on another program's window. I tried using a form with a transparency key and TopMost set to true, but then whenever the user inadvertently clicked the guide, it would un-focus the application. This …

Member Avatar for Xcelled194
0
265
Member Avatar for Xcelled194

Hi all, I'm designing a web page in ASPX. I have a few textboxes where the user enters the number of items, and a label that shows what they would currently pay if they checked out at that moment. I need help using a UpdatePanel to refresh the label when …

Member Avatar for vuyiswamb
0
87
Member Avatar for Xcelled194

Its my first post, and its a complicated one... I need some help writing an image coloring algorithm for a personal project. I have two programs, a restorer and a code generator. The restorer reads code generated by the code generator and manipulates the mouse accordingly. [I]Every mouse event is …

0
72

The End.