-
- Storing a UNC Path in a mysql 5.0 server
by Phiban
- 2 Replies
- Last post
by timvw
- Hey guys, I'm building a an application which needs to store a UNC path to use later on, example: I insert \\testmachine\test\ into a table in my database, however when I retrieve or look at the table I notice the path is not a UNC it is stored as the following: \testmachinetest Is there any particular reason for this and is there a way that i can set the column to hold a UNC path. At the moment
-
- NullReferenceException using CodeDomComponentSerializationService
by JasonD
- 3 Replies
- Last post
by Sanjay_msdn
- I'm seeing a NullReferenceException when calling Deserialize on an instance of CodeDomComponentSerializationService in my custom designer. I am trying to implement cut/copy/paste functionality. I have already successfully implemented Undo/Redo using the same class to perform serialization. Using the default Windows Forms implementation for the Paste command (in the private Comm
-
- WebBrowser and script error pop up window
by tickling
- 3 Replies
- Last post
by paul388
- I have an application that uses webbrowser control instance to load web pages. Occasionally it pops up a dialog "Microsoft Explorer Script error" that notifies me about some script error on the loaded page.
I tried disabling both notification options in internet explorer/tools/internet options/advanced (both script debugging disabled (checked) and script error notification unchecked b
-
- DataBinding a DateTimePicker
by Mathia Van De Poel
- 0 Replies
- Last post
by Mathia Van De Poel
- Hi,
This is not about so many threads that are about inserting a null value in a DateTimePicker; instead, I have several DateTimePickers that do not update their value to the bound datamember.
It does actually work the other way around (Format event), any value inserted in the datamember is correctly displayed, and when breakpoints are set in the property's get and set accessors, you can see
-
- Why the TabIndexChanged event of control will not be fired when I switch control tab key?
by zhihao
- 5 Replies
- Last post
by Zhi-Xin Ye - MSFT
- Why the TabIndexChanged event of control will not be fired when I switch control tab key
-
- How to detect the key down event for Panel control?
by Patrick Sky
- 4 Replies
- Last post
by JDee
- Hi ~
I see from the MSDN document ,it describe for the KeyDown event is "This member is not meaningful for this control.". Although i can assign a event handling method to the Panel class, but the Key Down event never be raise when i key down on the Panel. So,
How to detect the key down event for Panel control Or it have another way to detect the key down event for Panel
Thank ~
-
- Associate Data Source with CurrencyManager ??
by Lucas Condé
- 3 Replies
- Last post
by Mamta M
- Hi, is there a way to associate a Data Source with a CurrencyManager
I'm facing a problem that I have a ComboBox from another table, and need to add the key in the master table. I was using this line of code when I was using BindingSource, but I faced some problems with navigation and the only way I found to solve it was using CurrencyManager, but now the problem is that I don't know how to ass
-
- Help: Making a login screen for school project and source code wrong!
by Ashley H
- 2 Replies
- Last post
by VictorC
- i'm making a login screen for a school project in C# but i cant get the source code to work. Below is the code. Can you suggest any changes to make that will get it working:
Note: this is in the button1_click method
string txtUsername; //Name of txtbox were username is entered
string txtPassword; //Name of txtboxwere password is entered
string Username;
string Password;
-
- navigate between forms in mdi app
by boondoggle
- 3 Replies
- Last post
by boondoggle
- Hello,
I have a mdi app created using vs 2005 mdi template. I have created 5 forms. I have set the first form to be the login form. The login screen will ask for credentials if they have them, but if they do not, then they click a linkbutton and it will popup another form for them to fill out while hiding the loginform. How do i navigate between the loginform and createaccount form Since t
-
- DragDrop object with interface
by Centuri0n
- 4 Replies
- Last post
by Zhi-Xin Ye - MSFT
- Code Block
Public Interface A
<...>
End Interface
Public Class B
Implements A
<...>
End Class
Now when i call
Code Block
Dim InstanceOfB as New B
SomeControl.DoDragDrop( InstanceOfB , DragDropEffects.All)
when i retrieving data in dragover event it works ok for
Code Block e.Data.GetData(
-
- ComboBox Column Properties in DataGridView
by Gaurav G
- 2 Replies
- Last post
by Gaurav G
- I have created a ComboBoxColumn in DataGridView. I also have some text box columns.
Whenever focus is getting shifted from TextBox Column to ComboBox Column i want Combo Box to Open Automatically. User doesn't need to click on the combo Box to open.
Can anybody help me for this.
Also that combobox is having about 100 items. Can i increase its drop down list length. I do not want s
-
- Programmatecillay Converts Access database to sql server 2005 database
by Biswajitghosh25
- 5 Replies
- Last post
by Yu Guo ¨C MSFT
- Dear All,
I generally use access for my project. But right now I would like to shift my databases from access to SQL server express 2005. For that I downloaded the SQL server express through web. In my VB.Net project I would like to create a button name btnTransferData. if the user press the button the entire access database will be shift from access to sql sever express 2005. Is it possibl
-
- VALIDATION QUESTION
by carlosag81
- 4 Replies
- Last post
by Suprotim Agarwal
- Hi Guys:
The piece of code in red is some validation that I'm trying to do, basically i want that if the department combo box have no items selected to show the error message and if an item was selected to just close the application, all this should happen when the submit button is clicked.
Thanks in advanced for your kind help
using System;
using System.Collecti
-
- MS Report Viewer 2005 SP1 bootstrapper package.
by S_GMAN
- 0 Replies
- Last post
by S_GMAN
- Hello,
I am looking to create a generic bootstrapper package for the new MS Report Viewer 2005 SP1. The problem I am having is I cant determine the difference between a MS Report Viewer 2005 install and a MS Report Viewer SP1 install. Has anyone created a package for this prerequisite Thanks in advance.
S
-
- Disabling a Control's Beep! [C#]
by Manaxter
- 3 Replies
- Last post
by Richard Guion
- Hi. I have a ListView control that takes user input to select the item (e.g. you press 'k' and then 'i' and it selects the item 'king') as per all ListView controls. However, if you first input the '.' key (on the number pad) the control generates a beep, because no item starts with a '.'. However, I use this key for something else in my application, and the app. is run in a situation where errant
-
- how a user control can be have a abnormal shape ?
by Sadegh Masoudi
- 4 Replies
- Last post
by Zhi-Xin Ye - MSFT
- How I can create a 'Z' style control In fact my question is, how a user control can be have a abnormal shape(none rectangular shape)
-
- AddHandler
by Max max
- 4 Replies
- Last post
by Max max
- Hi everyone,
you excuse me for English .........
I would want to create one TextBox.Keypress event for some form.
The Sub procedure of the event it would have to simulate a Function
because j have the necessity to move the focus on other controls and to return some references.
It is possible to have a suggestion
-
- visual studio C# 2005 add data source error
by Shaheryar
- 6 Replies
- Last post
by Yu Guo ¨C MSFT
- I've installed microsoft office 2003 and microsoft visual C# 2005 express edition.
whenever i try to connect my form with ms access database it gives the following error message.
Format of the initialization string does not conform to specification starting at index 0.
i m unable to to find its solution on the forum plz guide me remotely by using netmeeting.
i'll be very thankfull to u
-
- Creating an install guid
by ADeveloperNamedTim
- 0 Replies
- Last post
by ADeveloperNamedTim
- My goal is to create a guid and store it in the registry so that I can uniquely identify an installed computer (the guid is passed back to me via a web service). When a user upgrades or installs a patch I don¡¯t want to change or update this guid, I always want the original value. Creating the registry entry is the easy part, but I am not sure if there is a property that already generates a guid
-
- Why is the filling of a ComboBox so slow?
by Aki999
- 1 Replies
- Last post
by nobugz
- Why is the Filling of the ComboBox so slow when filling much elements Is there a way speed up it Maybe do you know third party or free combobox controls that work in Virtual-Mode This SampleCode takes approximately 2,5 seconds: private void Form1_Load(object sender, EventArgs e) { DateTime tsBegin = System.DateTime.Now; comboBox1.SuspendLayout(); for (int i = 0; i < 20000; i++)
-
- Show images on the form and send it to new form.
by Nadeem Alvi
- 13 Replies
- Last post
by DEYADAV
- Hello, I have 1 windows form ShowImages" where i want to display images from the folder. Which control should i use to display it in smaller size in line on the form. Now on the same form i have 1 combo box with display setting as this 1x1 2x2 3x3. so let say if i select 2x2. then when i goto form "ImagePlayer" it has << and >> buttons. This page will display 2 images.
-
- Windows focus problem
by andriscs
- 2 Replies
- Last post
by andriscs
- Hello! I have a program, whose TopMost property is true, and it covers the full screen. When I quit this program, the Windows focus goes mad. I vainly click on another program on the tray, only it is visible, what there is behind my program though the the other program is active on the taskbar. The little quick tips, they appear behind the tray when I take the mouse above the clock or any icon. T
-
- providing Skining option in Window form application
by hammad&#64;isf.com.pk
- 3 Replies
- Last post
by Daniel Rieck
- Hiz to all
I want to provide an option to user to change the theme of application in runtime like user can select "XP theme" or any other custom theme while using window XP,2k or 98.is there any way to add this option in my application please help
thanx in advance
Regards
Hammad
-
- Problem with Form resizing
by phertel
- 2 Replies
- Last post
by nobugz
- Hi,
I have a form which contains a couple of buttons, Button A and Button B. When I click Button A, the form resizes to have Size (200, 100). When I click Button B, the form resizes to have size (400, 100).
I want to keep the right edge of the form in the same place in screen coordinates, and I want to keep the buttons in the same place in screen coordinates, so that the user's cursor is sti
-
- Cache large lookup table
by liuc
- 2 Replies
- Last post
by liuc
- Hi,
In my application i use a web service to retrieve some data including a dataset containing city's and region's information.
This dataset is quite large (its XML code is about 1,5 Mb) and i use it in different forms, so i decided to load it at startup application and store in cache.
My question is : which is the best way to cache lookup table
At now i write this code :
A) Syste