I'm trying to allow users to change the increment of a numeric updown but holding down shift (increment = 5) or ctrl (increment = 10). Default increment is 0.5
It works fine for ctrl but not for shift - even though my code is showing that I'm capturing the shift key. The numbers don't go up...
Hi all,
Am looking for a bit of advice on how best to preserve user.config settings each time we deploy our C# application.
Currently the app is deployed via an .Msi and requires the old versions be de-installed. The de-installation leaves previous user.config files in tact in the user's...
Hello technical genii,
is it possible while stepping through code to watch which events on a control or form are firing? Maybe in a trace or immediate window?
I'm trying to find out what event is causing a particular behaviour (ultrawingrid refreshing and scroll bar not resetting) without...
Hi,
A string of XML from the database appears to get chopped when it's put into a datatable, then extracted again with ToString(). How can I stop this? Thanks.
I am maintaining historical code which gets a string of XML from the SQL database (using FOR XML AUTO, ELEMENTS) eg...
I'd like to know if it is possible to stop the parent application of a floating form becoming active when the controls on the floating form are clicked?
I've got a large application, with multiple embedded controls. Some of the controls can be detached on effectively floating forms, which can...
Hello,
I've got a form, with a customer control on it. The custom control has panels, numeric updowns etc.
When the numeric updown has the focus, I then want to click away from the numericupdown so it loses the focus.
However, I don't know how to make the panel_click event take the focus...
Hi,
one of our customers is trying to listen to a commentary that we publish on the web via Media Server. They should log in via Windows Media Player to hear it. Unfortunately, one user cannot get in even though they are using the correct username/password.
Does anyone know of any sites that...
In development, we have a couple of databases each similar, but each being designed by different developers.
Lookup Table on Dev
1 Approved
2 Rejected
3 Deleted
4 Cancelled
Lookup Table on Live
1 Approved
2 Rejected
3 Deleted
5 Cancelled
Without fail, someone will write a...
Hello,
I'm trying to change some configuration settings in my FPSE2002 install (to allow external source control specifically), and although I can click on the Submit button to save my changes - nothing happens. I don't get any error.
Can anyone help me understand why I can get to the...
Hi there,
hope someone can help, haven't been able to solve this...
I'm trying to remove a control from a control array, dynamically within the code.
I have a form with 3 controls on it, called CtlLine(0),(1) and (2). How can I remove the second element?
Unload CtlLine(1) removes it from...
Hi,
Looking for a simple off-the-shelf document management program to fit into our existing corporate (static) website...
we're looking for a document management solution for our small corporate website. It's so we can manage reports and market information that we want visitors to the site to...
Trying to get a date out of a table, unforunately it is in the format "dd.mm.yyyy". Can someone suggest how I can change this into "dd-Mon-yyy"?
It needs to be in a suitable format for inserting into SQL Server, and I've found that this format works.
I've tried the following...
Hi All,
This didn't get a response in the VB forum, so am trying it here.
I've got an issue with SQL Server 2000.
I have VB6 components using Objectcontext (transactions) running on machine A. When I try and get them to connect to my SQL database on machine B, the connection looks like it's...
I'm trying to create a connection to my SQL Server 2000 database, from my W2K workstation. When I use a component, with the MTStransactionmode set to "Requires New", my connection hangs on the .open call. When I set the mode to 0 - Not A Transaction Object, it connects fine.
Do I have to make...
Hello all,
I'm creating some XML in my project using the XMLTextWriter, and outputting it to a string via a memory stream so insert it into SQL Server 2000 using the OPENXML functionality in a stored procedure.
When I try to run the stored procedure I get this error:
"Server: Msg 6603, Level...
Hello,
I've got a class I want to serialize into XML.
Simple example:
The class is called "ElementClass" and contains the property "ElementName" which I give the value of "Commodity".
Can I serialize it so the XML output is along the lines of
"<Commodity>", and not "<ElementClass>"?
Or...
Having some issues with ServicedComponents and opening connections with them to SQL Server database (v8 sp3). .NET Framework 1.1, Microsoft Development Environment 2003 version 7.1.088
It's a little complicated, but I'll try and simplify.
On my PC (Windows 2000), I write a component which...
I'm writting components in C# to run in COM+. I know I have to derive the class from ServicedComponent, which is fine and I understand that. I'm now wanting to use transactions in my code, which need the class to be derived from ServicedComponent.
However, when I'm developing the classes, I...
Hello,
I've trawled the forums but haven't been able to find an answer.
I'm trying to connect my C# windows app to an Oracle database.
Is it possible to connect to an Oracle database without having the Oracle Client software installed on the client PC?
If I use System.Data.OracleClient...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.