• Member Avatar for cgeier
    cgeier

    Began Watching VPN Home Office and Customer

    Hi guys. I have an Cisco DPC3925 router at the Office which I use to close an VPN Tunnel with an customer. Now, I want to close an VPN from …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Packet loss & Slow WAN

    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 …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in to merge 2 outlook templates including pictures.. c#

    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
    cgeier

    Replied To a Post in problems with foreach control

    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 …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Finding patterns in access using vb.net

    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 …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Multiple Buttons If Else Condition

    You didn't copy the code correctly. Copy the code as is, line-by-line. Check line #6: `BtnName = selectedBtn` should be `BtnName = selectedBtn.Name` Also, when renaming variables, rename all occurrences …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Multiple Buttons If Else Condition

    I agree with others that other controls may be more appropriate. However, if you do need to use buttons, you can use the following: Private BtnName As String = String.Empty …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Multiple Buttons If Else Condition

    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 …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in How to remove blank lines from VB and format it ?

    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 cgeier
    cgeier

    Replied To a Post in Enable or disable the comport in device manager through vb.net win 7

    It works for me. You need to provide more details. Also, your xp is most likely 32-bit. What version of win 7 are you using? Check to see if you …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in SQL Query not executed

    What version of .NET are you using? What version of ReportViewer did you install?
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in SQL Query not executed

    Also ensure that the reportviewer redistributable is installed. http://msdn.microsoft.com/en-us/library/vstudio/ms251723%28v=vs.100%29.aspx http://www.microsoft.com/en-us/download/details.aspx?id=6442 or http://www.microsoft.com/en-us/download/details.aspx?id=35747
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in SQL Query not executed

    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 …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Wifi only connecting to certain networks??

    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 cgeier
    cgeier

    Replied To a Post in Please help with my c#

    Reverend Jim is correct. This is C#, not VB.NET.
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in draw graph showing relation between data

    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) …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Please help with my c#

    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 cgeier
    cgeier

    Replied To a Post in c# random operators and math problems. help!!!

    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 …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Sorting in ascending and descending?

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

    Began Watching NOT ALLOWED TO USE ARRAYS TO CREATE GRID GAME, HELP!!

    hi i need help with my class assignment we're suppose to create a 4*5 grid, two player and three enemies. the grid is made up of coordinates and i am …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in NOT ALLOWED TO USE ARRAYS TO CREATE GRID GAME, HELP!!

    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 …
  • Member Avatar for cgeier
    cgeier

    Began Watching Enable or disable the comport in device manager through vb.net win 7

    I have code for Enable or disable the comport in device manager through vb.net program in windows xp . but that code is not working in windows 7. Is there …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Enable or disable the comport in device manager through vb.net win 7

    The issue is that you need to run as administrator. **Add an Application Manifest File:** (to "HW_Lib_Test") * Click "Project" * Select "Add New Item" * Select "Application Manifest File" …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Enable or disable the comport in device manager through vb.net win 7

    The attached code is written in C#. This would probably be better placed in the C# forum.
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Simple audio/video downloader

    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; …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Windows 7 Boot loader

    **Note:** In WinPE, when in the command prompt window, you can type "exit" to reboot.
  • Member Avatar for cgeier
    cgeier

    Began Watching Windows 7 Boot loader

    Okay guys, I am having a tough time tryin to figure out this one and I hope some of you can lead me to a right direction .. My friend …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Windows 7 Boot loader

    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 …
  • Member Avatar for cgeier
    cgeier

    Began Watching How to use VB.Net to print from app server to Zebra bluetooth label printer

    We have a Zebra QLn420 label printer and I am writing a .Net application to allow the user to scan an item, process it through our system, create a shipping …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in How to use VB.Net to print from app server to Zebra bluetooth label printer

    The following article may be of interest: [How to handle peripherals support on virtual desktops](http://searchvirtualdesktop.techtarget.com/tip/How-to-handle-peripherals-support-on-virtual-desktops)
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Simple downloader

    You haven't provided enough detail. What is the exception that you are receiving? What is the value of "downloadURL.Text"? Does the website require you to login to use it? Have …
  • Member Avatar for cgeier
    cgeier

    Began Watching copy dictionary data to another dictionary

    hi, I need to copy a dictionary to another dictionary where the Dictionary contains class data as value for eg I want to copy the data of object A1 to …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in copy dictionary data to another dictionary

    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 …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Simple downloader

    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 …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in editing dll

    [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 …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in How to use VB.Net to print from app server to Zebra bluetooth label printer

    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
    cgeier

    Replied To a Post in Laptop will not recognize my external hard drive.. :(

    What do you mean by "internal port for the mini usb detatched from the board"? What is the model number of the broken drive?
  • Member Avatar for cgeier
    cgeier

    Began Watching Create table in Local Report (RDLC)

    Hi! I want to display a table in the Local Report using SQL Connection. Parameters will be user-defined. Example. sqlSearch = "SELECT * FROM shipment WHERE " & port & …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Two errors with program

    Space after "set"
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in method quit

    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 …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in For Loop

    Doing that could result in SQL injection. Use parameterized queries as in my post above. Also, things can sometimes be written with fewer lines of code, but that doesn't necessarily …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Search Through C:\ - VBScript

    Add the following to the end of the script: '==================================== 'Loop through the files in the 'sub-folders in the path 'from above (objStartFolder) '==================================== ShowSubFolders objFolder Sub ShowSubFolders(Folder) On error …
  • Member Avatar for cgeier
    cgeier

    Began Watching Accesing wireless network with shell.

    Hello, i want to try to make a simple program that guesses the password of wifi for education purposes. And writing the guess program is the easy part but here …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Accesing wireless network with shell.

    The following may be of use: **To see available networks:** netsh wlan show networks **See encryption types:** netsh wlan show drivers **Note:** For "Encryption", CCMP, is what shows up as …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Accesing wireless network with shell.

    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 …
  • Member Avatar for cgeier
    cgeier

    Began Watching Search Through C:\ - VBScript

    Hi All, I'm working on a script which has a primary function to look for jpg files. I can get it to work if the folder path is just my …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Search Through C:\ - VBScript

    The reason for your error is because Mid throws an error if the value of start is < 1. [Mid Function](http://msdn.microsoft.com/en-us/library/wffts6k3(v=vs.84).aspx) *start: Character position in string at which the part …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Search Through C:\ - VBScript

    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") …
  • Member Avatar for cgeier
    cgeier

    Replied To a Post in Compac C700 recovery disc problem

    Test the hard drive to make sure it's not bad.
  • Member Avatar for cgeier
    cgeier

    Began Watching Get Request Body from web browser control url

    I have a Windows Form application that has Web browser control. The page I access has input parameters in the Request Body. Request Body looks like below and I want …

The End.