458 Posted Topics

Member Avatar for ShamirSuhaimi

I suggest you start by writing pseudo code. Then *...create a class named person.*

Member Avatar for Slavi
0
143
Member Avatar for gn0m3

The following may be of interest: [Packet loss](http://en.wikipedia.org/wiki/Packet_loss) Here are a few ideas. **Possible issue 1:** Packet loss due to network flooding. This could be caused by a bad network card, a virus, etc. **Tests:** Unhook all computers except for one, and test for packet loss. Repeat for the other …

Member Avatar for gn0m3
0
217
Member Avatar for Dr.George

Try the following: Boot into Safe Mode, then * Click "Start" * Select "Control Panel" * For View by, select "Small Icons" (or Large Icons) * * Click "System" * Click "Advanced System Settings" * Do you want to allow the following program to make changes...? Click, "Yes" * Click …

Member Avatar for Dr.George
0
269
Member Avatar for Ashveen96
Member Avatar for Ashveen96
0
347
Member Avatar for lithium112

Please provide the table structure and some sample data from each table/database.

Member Avatar for lithium112
0
239
Member Avatar for lilita
Member Avatar for RikTelner

Did you receive that error on compiling? Make sure you have the following using statement: * using System.Security.Cryptography; Note: You may have to add "System.Security" as a reference. [System.Security.Cryptography Namespace](http://msdn.microsoft.com/en-us/library/system.security.cryptography(v=vs.110).aspx#feedback)

Member Avatar for RikTelner
0
182
Member Avatar for Saboor880

C# seems to be more popular and you will find it easier to find posts on C#. Additionally, the structure of C# is similiar to Java, making it easier to learn Java if you decided you wanted to learn Java one day.

Member Avatar for cgeier
0
314
Member Avatar for kks21199

It sounds like the file you created isn't useful to you. Why don't you post the original file (or file format) and then explain what you are trying to accomplish.

Member Avatar for Oxiegen
0
1K
Member Avatar for Samyx

jRadioButton1, jRadioButton2, jRadioButton3 don't exist in "groupButton". They are only in the constructor.

Member Avatar for cgeier
0
1K
Member Avatar for aluhnev

Also `n % 2` is modulus division. Here, it only = 0 for mulitiples of 2. Ex: 2, 4, 6, 8, 10, etc... Modulus division is the remainder part of dividing two numbers. ex: 5 / 2 = 2 remainder 1 so, 5 % 2 = 1

Member Avatar for cgeier
0
177
Member Avatar for swengineer2015

Please provide the budget for your project so someone may contact you regarding your project. If you want help with YOUR code, provide your code and where you are having difficulty. You might want to check out Google--it'll save you money. Try searching for "HTTPWebRequest" and "HTTPWebResponse".

Member Avatar for cgeier
-2
53
Member Avatar for DS9596

If you want to see the message comment out line #27 `exit(1);` In VC++ you can do the following to see where your program is running: Add include statement: #include<direct.h> Then add the following code to "Payroll::Payroll" char* buffer; string curDir; // Get the current working directory: if( (buffer = …

Member Avatar for cgeier
0
183
Member Avatar for Soutta

I agree with tinstaafl, re-write your code to get rid of the "GoTo" statements and use TryParse instead. Also you may consider using "OrElse" instead of "Or". [(OrElse and Or) and (AndAlso and And) - When to use?](http://stackoverflow.com/questions/8409467/orelse-and-or-and-andalso-and-and-when-to-use) **Issue:** *...something is wrong wth CalcMiscCharge missing a return statement...* **Resolution:** It …

Member Avatar for Santanu Das
0
173
Member Avatar for rianbattle

[This documentation](http://www.silverbaytech.com/files/maxicode/maxi_api.pdf) also provides some information on Maxicode (although it doesn't look like their product supports .NET).

Member Avatar for rianbattle
0
2K
Member Avatar for VasquezPL

Have you considered just creating a third template that has the necessary info on it? Why do you feel you need to automate it?

Member Avatar for cgeier
0
773
Member Avatar for Sudha Granger

Try adding the following between line 9 and 10: record.MoveFirst Other versions you can try: record.Open SQL, con, adOpenDynamic, adLockOptimistic record.MoveFirst Do While record.EOF = False '... record.MoveNext Loop or record.Open SQL, con, adOpenDynamic, adLockOptimistic record.MoveFirst Do Until record.EOF '... record.MoveNext Loop

Member Avatar for cgeier
0
592
Member Avatar for VasquezPL

If the control is in a group box or panel, you need to search there for it. Think of it as searching for a file you stored in a directory "c:\temp". If you only search in "c:\" you won't find it, you need to look in "c:\temp". Likewise, group boxes …

Member Avatar for VasquezPL
0
184
Member Avatar for Danny_7

Are you required to use InputBox? Not sure why you are using ListBox for those things. 1. Prompt user for French marks (handle invalid entries) 2. Prompt user for German marks (handle invalid entries) 3. Prompt user for Spanish marks (handle invalid entries) 4. Add marks to ListBox 5. Calculate …

Member Avatar for Reverend Jim
0
689
Member Avatar for swathi sajja
Member Avatar for 404notfound

It doesn't look like those tables have the appropriate information. You may be able to use check date. However, you probably should have kept track of pay period start date and pay period end date.

Member Avatar for Santanu Das
0
223
Member Avatar for jtodd

Question 1: How do you know "dog" is a word? Question 2: If you didn't know if "dog" was a word or not, how would you find out?

Member Avatar for RichardGalaviz
0
333
Member Avatar for William_14

What if a user wants to de-select a button and select another one? Keep track of the selected button name using a private string variable. If a button hasn't been selected or has been de-selected the value should be String.Empty. If a button is pressed and the variable = String.Empty …

Member Avatar for William_14
0
2K
Member Avatar for xuexue

What operating system? If Vista or newer (win 7, win 8), check that the user account control settings are the same on both computers. Also, you might want see if a simple program (such as one that only opens a message box) runs on the other computer. MessageBox.Show("Hello World") Additionally, …

Member Avatar for xuexue
0
311
Member Avatar for 3knur8

Check the settings (properties) of the wireless adapter on the computer. Ensure that it is set to use your router is using (a/b/g...etc).

Member Avatar for 3knur8
0
261
Member Avatar for kingk110

If you have VS Ultimate (2010 or newer), looks like you could add a "Modeling Project" to your solution. See the following: [How to: Create UML Modeling Projects and Diagrams](http://msdn.microsoft.com/en-us/library/dd409445.aspx) If this is for a class, you can use MS Visio or MS Word, or just draw it out on …

Member Avatar for kingk110
0
288
Member Avatar for funnym3

You've commented out the line that defines "@g" `cmd.Parameters.AddWithValue...` (ensure that the data type matches that of the data type in the database). Also, in your insert, use parameterized queries.

Member Avatar for funnym3
0
569
Member Avatar for kegs88

Move `Console.ReadLine();` inside the loop so that it pauses between loop iterations. ... Console.ReadLine(); } while (true); ... Add some WriteLine statements (for debugging). ... number1 = number.Next(1, 31); number2 = number.Next(1, 31); operators = number.Next(1, 5); // 1 = add, 2 = minus, 3 = multiply, 4 = divide …

Member Avatar for ddanbe
0
2K
Member Avatar for asdsadddsadsd

Have you thought about using an array? [Arrays](http://www.cplusplus.com/doc/tutorial/arrays/)

Member Avatar for uonsin
0
447
Member Avatar for Sadiiiiiiiiee

You could probably use a file (one file per player, if more than one player can occupy the same location) Then use getc (or fgetc) and putc (or fputc). See the following: [getc and fgetc](http://crasseux.com/books/ctutorial/getc-and-fgetc.html) Create a file format for yourself. Here is an example: P0*00 0*000 00!00 00*00 In …

Member Avatar for cgeier
0
227
Member Avatar for javed.iqbal.3979

Add using statement: using System.Net; **Pre-requisites:** * TextBox named: downloadURLTextBox * TextBox named: savePathTextBox * Button named: downloadBtn Declare the following variables inside the class: private string downloadURL = string.Empty; private string path = string.Empty; Create a method that gets and checks user input and appends / pre-pends as necessary: …

Member Avatar for cgeier
0
285
Member Avatar for ignnniter

Check the value "progress". Can also try adding "refresh" after "xProgressBar1.Value = e.ProgressPercentage". If you are using a StatusStrip, call StatusStrip1.Refresh().

Member Avatar for J.C. SolvoTerra
0
517
Member Avatar for Krutika06
Member Avatar for Santanu Das
0
164
Member Avatar for Slavi

You can try the following: **Option 1:** * Turn computer on. Press "F10" repeatedly (once or twice per second). * If prompted to "Edit Windows boot options...", press the escape key. * If the Windows Boot Manager screen appears ("Choose an operating system to start..."), select the OS you want …

Member Avatar for Slavi
0
2K
Member Avatar for rianbattle

This is for C# but can be converted: C# send plain text to default printer (Zebra printer) http://stackoverflow.com/questions/19171628/c-sharp-send-plain-text-to-defult-printer-zebra-printer

Member Avatar for cgeier
0
1K
Member Avatar for javed.iqbal.3979

Assuming "E:\downloads" is a folder, "PathtoSave" should include the filename--not just the folder. ex: WebClient wc = new WebClient(); string localFilename = @"E:\downloads\myfile.txt"; wc.DownloadFile(downloadURL.Text, localFilename); Resource: [Download Files from Web [C#]](http://www.csharp-examples.net/download-files/) [Download file and automatically save it to folder](http://stackoverflow.com/questions/6773866/download-file-and-automatically-save-it-to-folder) [WebClient.DownloadFile Method (String, String)](http://msdn.microsoft.com/en-us/library/ez801hhe(v=vs.110).aspx)

Member Avatar for Harry_7
-1
262
Member Avatar for kamilacbe

What are you trying to accomplish? You need to provide more detail, such as some variable names and data types to make it easier to see what you are trying to accomplish. Obviously, there would be no point to doing the following: public class A { public string firstName = …

Member Avatar for cgeier
0
255
Member Avatar for DawnofanewEra

[class FileWriter](http://docs.oracle.com/javase/7/docs/api/java/io/FileWriter.html#FileWriter(java.io.File,%20boolean)) -FileWriter(File file, boolean append) Change line #21 (above) from: FileWriter fw = new FileWriter(file.getAbsoluteFile()); To: FileWriter fw = new FileWriter(file.getAbsoluteFile(),true);

Member Avatar for TylerD75
1
215
Member Avatar for strRusty_gal

You can't just return to MethodA. MethodA didn't call MethodD--MethodC did. Even with exceptions, if unhandled, they are passed back to the caller. An exception could potentially be passed from D to C to B to A. Also, control needs to be passed back from MethodD to MethodC so clean-up …

Member Avatar for strRusty_gal
0
181
Member Avatar for Yorkshire lad
Member Avatar for riyamanavalan@g

[PDFNet SDK](https://www.pdftron.com/pdfnet/index.html) [PDFTron PDFNet Contact](https://www.pdftron.com/contactus.html) *"PDFTron offers several licensing and pricing options to accommodate various types of application and deployment scenarios in which customers can use PDFTron products. PDFTron's goal is to provide the most flexible and cost-effective licensing that suits specific customer requirements. If you would like to consult …

Member Avatar for cgeier
0
262
Member Avatar for BibhutiAlmighty

Knowing what controls are on your form would be beneficial. The easiest way is probably to change the text on the control.

Member Avatar for .Net Fan
0
168
Member Avatar for Siick7
Member Avatar for xuexue

Two possibilities that I see: **Possibility 1**: recNo.Length is only allowing 1 iteration (as others have stated) Try outputing the value of k: MessageBox.Show("k: " + k); **Possibility 2:** Receiving error because SqlParameter(s) is/are already declared. This should produce an error. However, if one did the following (or some version …

Member Avatar for cgeier
0
267
Member Avatar for Stuugie

Try deleting the following code (lines 15-17): if (LCase(Mid(objFile.Name, InstrRev(objFile.Name,"."))) = ".jpg") then oFile.Write objFolder & objFile.name & vbCrlf end if and replace it with this: if (LCase(objFSO.getextensionname(objFile)) = "jpg") then oFile.Write objFolder & objFile.name & vbCrlf end if **Resource:** [VBScript: how do I determine file extensions?](http://arstechnica.com/civis/viewtopic.php?f=20&t=636532) The following may …

Member Avatar for cgeier
0
414
Member Avatar for evaldaskowka

It seems possible to automate joining a wireless network using netsh. The following may be useful: [Deploying Wireless LAN settings with a Pre-Shared Key (PSK) from the command line](http://theether.net/kb/100166) [Script to Automate Adding Wireless Profile in Windows](http://mantraaz.wordpress.com/2010/10/18/script-to-add-wireless-profile/) [Wireless Profile Samples](http://msdn.microsoft.com/en-us/library/windows/desktop/aa369853(v=vs.85).aspx) [WLANProfile Element](http://msdn.microsoft.com/en-us/library/windows/desktop/ms707381(v=vs.85).aspx) [WLAN_profile Schema Elements](http://msdn.microsoft.com/en-us/library/windows/desktop/ms706965(v=vs.85).aspx)

Member Avatar for cgeier
0
161
Member Avatar for Anitha14

%5B, %5D, %3D are ASCII values. %5B = '[' (left square bracket) %5D = ']' (right square bracket) %3D = '=' (equals) [ASCII Table](http://www.asciitable.com/) Below is a method of extracting the data: string inputData = @"SearchOrder=2&Start=0&Count=-1&Query=(%5BDoc_Name%5D%3DABC+OR+%5BArea%5D%3DXYZ+OR+%5BSubArea%5D%3DQRS)"; string area = string.Empty; string docName = string.Empty; string subArea = string.Empty; string userParams …

Member Avatar for cgeier
0
309
Member Avatar for Suzie999

Are you running VS as an administrator? Try turning off UAC (under user accounts) before running your program and see if it works.

Member Avatar for Suzie999
0
397
Member Avatar for nunntb473

Download and install SQL Server Express 2008. [SQL Server Express 2008 R2 SP2](http://www.microsoft.com/en-us/download/details.aspx?id=30438) [.NET Framework Data Provider for SQL Server connection strings](http://www.connectionstrings.com/sqlconnection/) [Introducing LocalDB, an improved SQL Express](http://blogs.msdn.com/b/sqlexpress/archive/2011/07/12/introducing-localdb-a-better-sql-express.aspx) [Differences Between SQL Server Compact and SQL Server](http://msdn.microsoft.com/en-US/library/bb896140.aspx) [SQL Server Compact...](http://msdn.microsoft.com/en-us/data/ff687142.aspx) [Microsoft SQL Server Compact 4.0](http://www.microsoft.com/en-us/download/details.aspx?id=17876) [Walkthrough: Adding a SQL Server Compact …

Member Avatar for nunntb473
0
2K
Member Avatar for Leo G

Ensure that you have saved any data from the hard drive that is important before proceeding. Making a image of the hard drive can also be useful before attempting any os installation repairs. One of the first things that should be done is to verify that the computer can boot. …

Member Avatar for cgeier
0
342

The End.