VS 2010 Writing to file
Could anyone help me with the following tasks? It'd be much appreciated. It would have to be done using console. Thanks! 1. There are 2000 tickets available for graduation. When given the number of...
View Article[VB2010] - usercontrol transparent
i have tested, and the backcolor=transparent isn't real transparent(but copy the parent image):( can i clean complety the usercontrol(then i draw what i need, inclued a transparent bitmap)? i have...
View Articlerun time error 3061 - too few parameters. expected 2
hello everyone. im getting the error: "run time error 3061 - too few parameters. expected 2" when using a select query. i have the following code: dt.recordsource="Select * from Table_Name WHERE Field1...
View ArticleVS 2010 Week Dates for Month
Hello, I am trying to get an array of dates for a given month. For example, the user enters the month they want e.g. September 2012. I then need to find the first and last date of that month. (Done...
View Article2010 Express vs 2012 Express
Im new to vb and have been using 2010 Express for about a week now. Curious - are there any differences between 2010 and 2012 that I should be concerned with? I would have to assume the 2012 version is...
View Article[RESOLVED] Goto Line In TextBox
hi I am trying to use the API sendmessage to goto a line in my textbox but I get this error. Code: A call to PInvoke function 'MyBasic!MyBasic.frmmain::SendMessage' has unbalanced the stack. This is...
View ArticleDataGrid Multiple Row Selection
The Data Bound DataGrid Control provides the ability to select multiple rows using the CTRL key and mouse, but it lacks the ability to use the SHIFT key in conjunction with the mouse. The routines...
View ArticleDatabase Questions
As I'm new to VB, I've been trying to come up with some project programs to build - in an attempt to better learn the language and software. With that said, I have an idea for a program that I would...
View ArticleAuto Indent Line
Hi I I been playing with the codeDOM compiler of an example I seen in here, and decided to make my own little IDE only for console apps. anyway I did not like the normal TAB spaces so I replaced them...
View ArticlePiano question
Hi guys, I am making a piano mid library where you can play each note of the piano with just a single line, but I saw a android application Perfect Piano where they can mix two buttons sound at a time,...
View ArticleAnti virus programs assumes my application as containing virus
Hello friends. I wrote a program which is working properly. My program is also checking new versions from my server and download it to local driver of users. But most anti virus programs assumes my...
View ArticleVS 2010 [RESOLVED] Weird Bug on menu clicks
Hi have this strange bug or something I duno how else to put it heres the problum. I add a menu strip to a form and a text box I add an menu item anything for example Cut I add the code on click event...
View ArticleDifferent filename formats from Command$ function
I am using the Command$ function to obtain the path of a file when the user clicks on it. On my usual laptop, running Win XP, the path is given in the Long Filename format eg "C:\Program Files\Common...
View ArticleVS 2008 Hold down a key for 5 seconds
Hi ! I need a fast reply to this, how can i HOLD down a key (Space) for 5 seconds ? And no, SendKeys cant be used to this, its like press key, release it and press next key and i need it to hold down...
View ArticleVS 2008 Vb2008 application stopped working on windows7
Hello Experts, I have developed an application on windows vista 32bit OS using VB2008. I made clickOnce installer and target platform is x84. I have installed in 4 computers. 2 computers has widows 7...
View ArticleUsing Command Button to reset excel form
I am trying to create a button which will reset my excel sheet and highlight the cells which need to be selected/edited, whilst ignoring blank cells and formulated cells. At the moment the 1st part of...
View ArticleEncryption
i have written some code to encrypt and decrypt a some text and i want to adapt it so that the encryption will encrypt repeated letters differently for example "t" would be 44 and "tt" would be...
View Articleflowlayoutpanel flickering problem
Hi All, I have a small issue. Im using a flowlayoutpanel (with background) as a sort of listbox :) I add another flowlayoutpanel to it as a control then add child labels to it, this gives me a sort of...
View ArticleVS 2010 Looking for Good Syntax Highlighting control
hi, I am makeing a little IDE for Console apps you know using the CodeDOM Compiler, I sort of made my editor, but it lacks Syntax Highlighting, I was going to have a look at converting an old one I...
View Article