-
- The name 'PasswordLabel' does not exist in the current context
by kaspencer
- 4 Replies
- Last post
by kaspencer
- I have an ASP.NET web application with a FormView on the aspx page as follows:
< asp : FormView ID ="webuser" runat ="server" DataKeyNames ="username,password" DataSourceID ="PS_WebUser"
Visible ="False" Width ="164px">
< ItemTemplate >
< asp : Label ID ="UsernameLabel" runat
-
- Minimize form?
by GazCoder
- 5 Replies
- Last post
by ReneeC
- Hello! I aquired this code from the forums, it seems to work.. it makes my form vanish... but then i have no idea how to get it back Im trying to minimize the form to the tasktray so i can click it and bring it back.... Hope you can help! ''minimize to tray Private Const WM_SIZE As Integer = &H5 Private Const SIZE_MINIMIZED As Integer = 1 Protected Overrides Sub WndProc(ByRef m As Sys
-
- direct x reference
by Cameron Kloot
- 4 Replies
- Last post
by IsshouFuuraibou
- hi, i am doing a tutorial that has to do with DX and c#. but i cant find a Microsoft.DirectX and Microsoft.DirectX.Direct3D in my reference manager. thanks
-
- Help,Start Button Thing
by Puntor
- 8 Replies
- Last post
by Puntor
- Well,i recently "edited" explorer.exe and changed my start menu text,and (im 14) everyone at school wanted one...so...i need help,i already have a code,but it wont work,Just in Case,the program is supposed to display an input box with a max of 5 chars,and when you ok the input box,it will change the text of the start(instead of start,something else) i do have a code,but it simply will not wo
-
- Display Problem
by WL_07
- 4 Replies
- Last post
by WL_07
- I coded a car race program and everything functions properly, except for the display. The program is supposed to display the number of correct and incorrect choices made by the player depending on his selection, but my program isn't displaying either one. Instead, it is displaying the number of times the program is run. Here is the piece I think is not functioning correctly:
Beginning...
-
- Elementary programmer: Need help regarding Excel and C#
by guanzhao
- 14 Replies
- Last post
by guanzhao
- Hi experts,
I'm supposed to write a program to get a list of data from Excel to Visual Studio 2006. So far, I've only managed to make Visual Studio open the excel file i want, but I'm still thinking of ways to capture the data and use it in my C# program. So far, it's still fruitless.
Wonder if anyone can provide me with precious guidance Your help will be greatly appreciated.
-
- Update method problem
by sp&#38;&#35;24
- 11 Replies
- Last post
by spöne
- Hi,
I'm working with multiple tables from an sql database that I created...
All the table adapters in the dataset, enable the insert/delete/update commands...
I'm using the dataset.datatable.LoadDataRow method to populate a variable number of positions of the dataset table, with one record that as info. in all the fields, while the remaining, combine information and nulls (My database obj
-
- Drag & Drop from Listview Control to Treeview Control
by Shatrughan
- 4 Replies
- Last post
by Shatrughan
- Hi Gurus,
I am new to the forum.
I wanted to implement Drag & Drop for my application.
1. Drag & Drop from Listview item to Treeview Control Node.
2. I can able do this properly , but the only problem is when I drop the Listitem in the Tree control it will not do at first click , it requires two clicks.
3. I am using Doc/View MDI application.
4. Following hand
-
- DateTimePicker
by Cesar Francisco
- 2 Replies
- Last post
by Cesar Francisco
- Code Snippet
Private Sub DateTimePicker1_ValueChanged( ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles
DateTimePicker1.ValueChanged
txtDate.Text = Format(DateTimePicker1.Value, "d" )
Dim myDate As DateTime
myDate = Date .Parse(txtDate.Text)
Dim WeekNumber As Integer = DatePart(DateInterval.WeekOfYear, myDate)
txtWeek.Text = WeekNumber
-
- Datetime formats
by Rowix
- 2 Replies
- Last post
by Rowix
- Hi there Experts,
I have a question I don¡¯t if this is the correct place because it is a question for VB.Net with Sql Server as database.
But this is my problem I have a datetime field in the Sql Database , on the form I want to use a masked textbox to show the format 11-04-1980 (the 4 th of April) but when I fill in this date and I leave the field in changes in to 11-41-980.
I th
-
- Save user preferences in a file/registry
by Francesco Tattoli
- 2 Replies
- Last post
by frxstrem
- Hello there everybody,
i'm developing a small web browser and i want to give users an Option menu in which they can change some preference like, for example, Starting Page and so on, but i'm just some more than a n00b and don't really know how to do it.
Do you have any suggestions or tutorials to link
Thanks in advance,
Francesco
-
- pasting capability in textboxes seems variable, any ideas?
by Robert3234
- 7 Replies
- Last post
by Tall Dude
- Hello all, I've written essentially two version of the same application.In the first version, the textboxes allow users to paste text into them (via Ctrl + V). However, I've noticed that in the second version, for some reason, the textboxes don't allow the user to paste information into them. I've written both using the same version of vb.net express, and all of the textboxes have the same pref
-
- NullReferenceException
by jshawks
- 1 Replies
- Last post
by Martin Xie - MSFT
- I am writing some code to query our domain, and based on name of computer, ping the computer, and then pull some info in a WMI call. i am using the system.management.managementobject to ping the computers before i try to call the WMI, however, after the first time i use the instance, i get an error msg. "Object reference not set to an instance of an object." here is code below. Public Sh
-
- Cant get this timer code to work :/ and VB question reguarding PHP
by R394
- 12 Replies
- Last post
by R394
- I cant get the following code to work :/ it doesnt do anything after the timer has stopped and does anyone know how I can submit the text from the login feild to php then get a response back from the php file saying if it was approved or not then do somthing else if approved
////
Public Class Form1
Dim g As Integer
Private Sub loginbtn_Click( ByVal sender As System.Obj
-
- How can I get the timer to work?
by Solitaire
- 9 Replies
- Last post
by ReneeC
- I want the numbers from 1 to 9 to appear in the textbox with a half-second pause between each number display, but it just displays the number 9 all at once.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Timer1.Interval = 500 For x As Integer = 1 To 9 TextBox1.Text = x.ToString TextBox1.Refresh() Ti
-
- Help requested for Game Based Program
by Mcloud1221
- 14 Replies
- Last post
by Mcloud1221
- Dear reader,
Hello. My name is Mcloud (or that is the alias I go by), and I am a High School student. Currently I am enrolled in an independant studies class surrounding programming in C#. My current goal is to manipulate sound and create a basic game with a minor user interface. Graphics are not something I am interested in just yet, I do not have enough experience.
My questions sta
-
- Loop question
by icc3wd
- 3 Replies
- Last post
by js06
- I am trying to find a way to pause a loop until a condition is met, such as a variables value increases. Then once the condition is met I would like to continue the loop. Any help would be greatly appreciated.
-
- quick question
by noob_vber
- 11 Replies
- Last post
by Tall Dude
- how do i allow unicode when saving
-
- counting words in text box.
by Green Lantern
- 14 Replies
- Last post
by ReneeC
- I'm trying to count instances of words in a text box and display the count number and word in a listbox. Here's what I have now:
Private Sub SortUp()
Dim source As String = txtData.Text
Dim WordList As String = ""
Dim result As New System.Text.StringBuilder
Dim parser As New Regex( "\b[a-z]+\b" )
source = source.ToLower
txt
-
- Macros
by BudEble
- 2 Replies
- Last post
by orcmid
- Hi all -
Does the express edition support command macros That is, a macro that can invoke a series of commands such as building a solution. I have a need to invoke the vcexpress.exe program via a batch file and feed it the name of a macro that can then automatically build a solution. The vcexpress program does not support the /REBUILD command line option, that is included in the full blown
-
- Copy a file without renaming it?
by MLyons10
- 11 Replies
- Last post
by MLyons10
- This may be a stupid question, but in one of my applications I have code that copies the files from a listbox to another directory and renames them. I have tried to make changes to this code to copy the files from a listbox without renaming them, but I have not been able to get this to work and wanted to ask if anyone could explain what I am doing wrong. Here is the code that renames the files: st
-
- Web Browser
by TechnieGuy
- 1 Replies
- Last post
by Bruno Yu - MSFT
- What code would you use to create a web browser in VB without using the WebBrowser control. OK, it's probably not easy, but does anybody know how If you ask why, I made one with the WebBrowser control and every time something popped up it would say Internet Explorer at the top. And I don't think that that is very attractive.
Thanks!
-
- Problem deploying an application
by Thunder0ne
- 9 Replies
- Last post
by Thunder0ne
- I have done a project that is made up by an executable and several DLLs. I am building the exe with the /MT option and the DLLs with the MD option (release configuration). I have copied the folder "Microsoft.VC80.CRT" contained in %MY_VCexpress_folder%/\VC\redist\x86 directory in the folder of my application that contains all the binaries such as the exe and the DLLs. I copied everything
-
- Resize images to Proper Aspect Ratio in imageList for listViews?
by paoloTheCool
- 9 Replies
- Last post
by paoloTheCool
- Ok that title may have been confusing, but basically I am creating a program where users would import files, mainly media files, and after the user imports them, they show up in a ListView. If the picture happens to be a picture file, it will create a thumbnail (Image.FromFile(path)) and display that instead of the default windows icon image for that filetype. However, all picture files are not sq
-
- HOW DO YOU DO THIS ????????
by ClubPanda
- 9 Replies
- Last post
by JAM0
- Can someone please help me on this...
I'm using microsoft visual basic 2005 express edition and im wondering how to auto-press a key when you press a button
e.i. i have a button in form1.vb ... i have the code written in ... Private Sub button1_click(byval sender as system.object, byval e as system.eventargs) handles button1.click
then end sub ... im wondering how the but