-
- when I m developping, clicking a control once in a form goes directly to the code window
by R.Tutus
- 5 Replies
- Last post
by Solitaire
- Hi dear,
While I m developping (not runing the application), When I click
my existing control which is already part of my existing form in order
to move it to another location within my form, I get switched to the
code window mode instead of staying in designer mode, and tht prevents
my from moving my control.
So, please if u can show me how to stay in design mode when clicking th
-
- Help converting some of my C# Generics syntaxt to VB.NET
by NoEgo
- 11 Replies
- Last post
by Derek Smyth
- I am not sure how to convert this generic list to VB.NET syntax. I'm a C# guy and just need some help with converting this to VB.NET for the first time with generics. List<FNames> FyNames = MyHypotheticalClass.RetrieveWhateverData Table(Some IDID, null, null); Also, how to convert this C# syntax as well for the nullable types shown here: private SortColumns _SortColumn; private SortDirect
-
- listbox items
by fishy_swa
- 14 Replies
- Last post
by fishy_swa
- How can program a list box so that when a certain item is inputed the font color changes
-
- Custom Cursor
by Driv3r912
- 2 Replies
- Last post
by Roberto M. Alvarez Arigos
- Is there any possible way that when you hover ovar a button, that you could use your own cursor And if so, how.
-
- USPS Label API (Base 64 Image)
by Scott ODonnell
- 6 Replies
- Last post
by SJWhiteley
- I'm attempting to use the USPS label api to generate shipping labels. The response given back from there site is a base 64 Tif embeded in xml. I'm having problems converting the response to an image and could use some guidance.
The image will be rendered in an asp.net 2.0 web project. Can the resultant image be written directly to an <asp:image> object or does it need to be saved to disk
-
- get color from mousedown event
by Fender_73
- 4 Replies
- Last post
by Bitstream_73
- I am sure there is a simple way to do this but....
I am trying to retrieve the color of the pixel that the mouse is over when a mousedown event occurs somewhere in a picturebox control. Any help
-
- How to add data to an Access database using code only
by mivecxtr
- 1 Replies
- Last post
by Spidermans_DarkSide
- I have a program which I created in VB6 and I am trying to replicate it in vb 2005. I have been able to replicate most of the code but have hit a brick wall when it comes to modifying data in the Access 2000 database I am using. I am only using code, ie creating my own connections via code and not the database connection wizard. How do I add data to an Access database using only code (for exa
-
- Declare an array by name.
by Erich Rebel
- 9 Replies
- Last post
by Erich Rebel
- Hi.
I have been looking in de MSDN libriary but can't find a answer to my ARRAY problem.
Maybe you guys can help me.
Is it possible to declare a array by name and then multidimensinal.
This is what I mean.
dim aString("NAAM") as integer = { 0, 1, 2}
I want to use it for an webshop.
Hope someone knows the answere.
-
- Import CSV File and Make All fields Strings
by Superher0
- 10 Replies
- Last post
by PEng1
- Hi everyone
I use this code to display a text file in a datagridview and also write an XML File afterwards.:
Dim strConn As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\CSV Test;Extended Properties=""text;HDR=Yes;FMT=Delimited"""
Dim conn As New OleDb.OleDbConnection(strConn)
Dim da As OleDb.OleDbDataAdapter
Dim ds A
-
- DecimalPlaces property missing in NumericUpDown?????
by dtlinker
- 4 Replies
- Last post
by dtlinker
- I am writing a Visual Basic application for PocketPC 2003, using Visual Studio 2005. I want a NumericUpDown control with an increment value of 0.1. If I just try to set the increment value to that, it is stored as 0 and the control doesn't work. Reading the online documentation, it looks as if I should set the DecimalPlaces property, but when I look for this property, I can't find it. If I try to
-
- LoginForm in VisualBasic .NET edition
by QWERTYtech
- 3 Replies
- Last post
by Bruno Yu - MSFT
- Hi, I'm playing around VB.NET and trying to learn different things but the first mistake I have notice is that i forgot to install the MSDN files on the computer. Oops! Oh well. I noticed that inside the File-New-File , there is an option for a LoginForm. I have selected the LoginForm and have it added to my program. The next thing that I have done is added a table to my database called User cont
-
- Datarow Count
by lichfield
- 12 Replies
- Last post
by lichfield
- I require a database table row count, the code I am using to populate a list view control, which works fine. However, I am using an array for print purposes, and need to redim the array with the number of rows selected. With the below code[1] the Adapter does not have the fill property to populate a dataset. I can achieve a result by initially including code [2] in the same sub, although this seem
-
- Listbox control
by Snow Teo
- 5 Replies
- Last post
by Yam Sapkota
- I have two listbox. I want to do something like when item in listbox1 is selected the corresponding item in listbox2 will also be selected at the same time. But I not sure how to do it. Can anyone help me
Example:
Listbox1 item contains: 1,2
Listbox2 item contains: hello, bye
I want something like that. when 1 is selected hello will also be selected and when 2 is selected bye is also s
-
- Visual Basic 6 and Crystal Reports 9 SQL Query Issue
by dev2007
- 1 Replies
- Last post
by spotty
- Hello, I'm working in a project builded in VB6 and I make a match with a report maked in CR9. The issue starts when I call the report form my VB program because it shows the report but don't make the filter that was established in the SQL query because it shows all the data unfiltered. Here is the source code that I'm using to make the conection:
consulta01 ' This sentence calls a sub rutine th
-
- Help!!! Send Email with Authentication
by Fametown.com
- 13 Replies
- Last post
by bill_chapin
- Hi. I need help!!! I'm trying to send a email with smpt basic authentication (username and password) with Visual Basic 2005... but...!i can't! Can anyone please help me I need to use ICredentialsByHost Thanks a lot and sorry if my english is not very good!
-
- using Datagrid to edit the data in Datatable
by nonamehero
- 4 Replies
- Last post
by Beth Massi
- i know how to use datagrid to display the data in a datatable.
and right now the datatable is being displayed in my Datagrid1
and i set up the Datagrid1 in a way that i can change the data in the field..
but how i do i save this change back into the datatable
come someone help
thanks in the advance
-
- how to open ms word in windows application
by Ayman_Hdaib
- 3 Replies
- Last post
by Ayman_Hdaib
- in my project i have a requirement of opening the msword application and editing and saving this document
can any one help me how to solve this problem
in windows application .
i have VS Pro edition and i want to work MS word inside my application not seperately
-
- Strange Aritmetic overflow
by Troy Lundin
- 5 Replies
- Last post
by ReneeC
- I am getting a weird arithmetic overflow error.
tB(Offset + 2) + (tB(Offset + 3) << 8) does not work. Even though tB(Offset + 2) = &HFF and tB(Offset + 3) = &H3F but &HFF + (&H3F << 8) does work. I do not understand. Any Ideas Thanks.
-
- DateDiff not working
by Scott Skomars
- 2 Replies
- Last post
by Adam Braden - MS
- I have code that uses the DateDiff function
Private startDate As Date
Private endDate As Date
startDate = DateTimeStart.Value
endDate = DateTimeEnd.Value
Label1.Text = "The DateDiff Value = " & Microsoft.VisualBasic.DateDiff(DateInterval.Day, startDate, endDate)
if I use the values of 8/15/2007 for StartDate and 8/15/2008 for endDate it returns 365.
-
- search datagrid
by xswzaq
- 14 Replies
- Last post
by rkimble
- I am new to VB.net, and right now I am working on a project which is linking to database. I got the database showing on the form using datagridview. But I don't want all data in the database showing onto the datagridview. What I want is a search feature where the the datagridview only showing the word I want. For example: I have a column name "LOT". In "LOT", there are A, B, C,
-
- When validating, how do I know I¡¯m leaving a control?
by CsabaU
- 2 Replies
- Last post
by nobugz
- Hi all,
Is there a control property so it is possible to distinguish between entering and leaving for instance the textbox in the Control.Validating event Or how should I most conveniently distinguish between these two cases. Or should I do the validation in the Control.LostFocus event instead
Regards
Csaba
-
- Wow, such a weird error. All my functions are returning "nothing" as their result results
by Be Healed
- 12 Replies
- Last post
by JohnWein
- Okay I sware I did absolutely nothing to deserve this lol. I've got this huge program that's been working just fine and, for aparently no reason, all of a sudden all of my functions are returning NOTHING in their return results. I mean, NOTHING!!! I'm running it in debug mode one line at a time, and function after function is returning nothing to each other. I mean, the functions are working withi
-
- SelectedIndexChanged
by xswzaq
- 11 Replies
- Last post
by Angel_LL
- I really really need help. I am working on the project that have 3 list box. I want to perform search so that users easily access data they want. In my listbox1, users will choose his/her choice, then the listbox2 (blank before user enter choice in listbox1) will automaticly pop up a list. For example, if I selected QA in listbox1, only catagories (item in QA) should show in listbox 2 (not all), a
-
- Use of Microsoft Word in .Net 2.0
by Vineed
- 9 Replies
- Last post
by Vineed
- Hi,
I have a VB.Net 2005 application. I need to open a Word Document in one form. I do not want the Word Application to be opened seperately but within the form. I have used Word.dll for this purpose, but I am not able to find a way to open the document within the form or any container within the form. I know WebBrowser control can be used to solve the problem, but I am looking if some oth
-
- Secure applications and MDI Forms
by BruceDBennett
- 2 Replies
- Last post
by BruceDBennett
- Hi all.
I am new to programing and would like some help on creating an application where user names, groups and passwords are required to use the application. I'm not to sure where and how I can create the forms that creates the user names and groups and how to use the login forms.
I would also like to use the MDI forms so that if a menu function is pressed the correct form is loaded in that