VS 2010 Listview Question
I have a listview that is populated by a list of "Drawing Sheet Numbers" that can be selected for printing. I have tried to add sub items for Sheet Size and Orientation Is there any way I can add...
View ArticleReversing this code?
looking at some legacy code, this is trying to "encrypt" an input string. Not the best way: Code: rawData=lcase(rawData) encrypted="" for iIdx=1 to len(rawData) encrypted=encrypted &...
View ArticleRight way to download web pages asynchronously?
Hello This is a newbie question. I'm using VB 2010 Express and need to write a small application to download a few web pages. To avoid freezing the UI, I use WebClient asynchronously, but the...
View ArticleVS 2008 Add db in application
Hello I am playing with database first time so i have made a database with sql server 2005 Ques is should i go with sql server or sql server file when adding data source.which option is good...
View ArticleVS 2008 ODBC and Oracle connection string with IM002 error
Got help with the parameters, but now having problems with the connection string. Currently it is this (which is the value of My.Settings.DuoLive_ConnectionString) DATA...
View ArticleReading ANSI OR UNICODE
Hey So I just wrote up a quick program that checks if a file is encoded in Unicode or not. If it is then it reads it using the unicode format if not the ANSI Code: Private Sub Form1_Load(ByVal...
View ArticleWindows 8 - Program Has Stopped Working - Incompatible Program
My vb.net software wont work on windows 8 :blush: I'm running windows 8 x64 on a virtual machine When i open the program, it crashes and a message pops up "myprogram has stopped working" I've tried...
View ArticleVS 2010 Editing a PDF File VB .NET -iTextSharp
Okay so I go on this website, I click a few buttons, and at this last button I need to open a PDF file. There is a button on the website that will open a PDF file in the browser. Right now I am using...
View ArticleVS 2010 Windows 7 Components?
How can I get these components (Windwos 7 components, like this one? ^)
View ArticleVS 2008 [RESOLVED] make text disappear from a text box when clicked
What is the simplest way to make text disappear from a text box? I have a text box, txtName, and I want it to display 'Enter your name here', but I want that text to disappear from the textbox when the...
View Articlefileopen to filereader
Hello again, I am going to be on a question streak for sometime, but hopefully I will be able to return to the community aswell. I am in the process of modifying someones code and have run into a...
View ArticleVS 2010 obtain whith geckowebbrowser, webpage source code html to string variant
Hi! i have a webbrowser project whith geckowebbrowser, i need to analyce source code of webpage, can you help me?? thanks
View ArticleVS 2010 Array.Sort help
I have a text box with a seven card poker hand (2 hole cards + Flop + Turn + River) Example: 41C 37C 29D 17C 13D 13C 05C - - (I'm using the first 13 prime #'s for Rank) I'm working on determining if...
View Article[RESOLVED] Unicode Conversion
my old VB 6 code ' converts inVal (a string) to a unicode string with the chr(0) in front InVal = StrConv(InVal, vbUnicode) ToUnicode = Chr(0) & Left$(InVal, Len(InVal) - 1) i am trying to do the...
View ArticleHTML Element problems
Hello all, I am currently working on a new project that requires me to automate part of my gmail account. The problem i am having is opening up a recieved email. What i need to happen is have the...
View Articlehow to connect to db table and then loop thru values?
Hi, I have a very simple vb.net program that uses psexec from the shell command to exec a program remotely. Works fine - here's all the code: Code: Public Class Form1 Private Sub...
View Article[RESOLVED] Question about the tag property
I've never really used the tag property, but I've decided to try and use it. My senario: based on if a boolean value(playerturn) I set the tag property: Code: Dim pnl As Panel = CType(sender,...
View ArticleColoring the Scrollbar
I have an unattached scrollbar. I'm a bit surprised that there are no color properties for the control. This means that in some situations, an unattached scrollbar can easily be mistaken for being just...
View ArticleTreeview if node checked then
I am having difficulty with treeview and check boxes. I am attempting to have the root (parent) node checked if three or more child nodes are checked. I cannot seem to get the following code to work. I...
View Articletoo many calls? multithreaded app
i have an application that downloads lots of images at the same time..... to do this i create a seperate thread for each image i want to download. each thread calls the following procedure (public...
View Article