Software Development Network Logo
  • VS Team System
  • Visual J#
  • Visual FoxPro
  • Windows Forms
  • Visual C#
  • Windows Vista
  • Visual Studio
  • VS Express Editions
  • Windows Live
  • Visual C++
  • Smart Device
  • Visual Basic
  • Game Technologies
  • Architecture
  • SQL Server

Software Development Network >> vky's Q&A profile

vky

Member List

Tsprao
Joe Alt.
hermanluk
Giorgos Eleftheriadis
MS440
Mbarzuna
RLyons
Eaglepigjim
Israel213
VidyaMN
Marnee
L. Gordon Curtis
International
tom stucki
n000dlez
Camden Bainwright
McFalck
TopDog
Rick Heiges
dotnetfrage
Only Title

vky's Q&A profile

  • Visual C# How can I : Dont allow change text in combo box

    A selected content in combo box can be edit, be I click search , an error occur.Although the content remain old value after lost focus , but I find the way to prohibit change the content when user select an item in combo box Could you please help me thank you in advance Hi In the ComboBox properties you mast select the DropDownStyle to DropDownList. Hope this helps ...Show All

  • Windows Forms Painting problems

    Hi forum. I've created a custom control that does it's own painting. These are the styles i'm setting in the constructor :  SetStyle(ControlStyles.UserPaint, true); SetStyle(ControlStyles.SupportsTransparentBackColor, true); SetStyle(ControlStyles.ResizeRedraw, true); SetStyle(ControlStyles.DoubleBuffer, true); SetStyle(ControlStyles.AllPaintingInWmPaint, true); All is fine, everything behaves like it should. I just thought the control was finished&n ...Show All

  • Visual Studio Tools for Office how to add xml markup to a range

    Could somebody give me some reference links with samples on how to add xml tags to ranges. I need to add those at runtime, have them not show up to the user, and be saved with a document. Is it possible I guess I'm a little unclear as to what you're trying to do here. The simplest way to do what you describe is do use databinding to the ranges I think. If you could describe your problem a bit more I'll be happy to help. Thanks, Ade ...Show All

  • SQL Server navigation on subtotal

    I have a matrix and a subtotal footer summing up a group of numbers. Each row has a primary key. I use the primary key to drill-through another report through "Navigation". Unfortunately, the generated subtotal column also have a link but it has a primary key of whatever the first row is, which shouldn't have a primary key. So I can drill-through the subtotal but it returns the wrong result. I have not been able to override the subtotal to specify a new link with different paramters. Anybody can help would be great! Thanks. hi, can u please send me the query you used. and please also gimme a ...Show All

  • Visual Studio Team System Is it possible to change the connection string property of a Web test datasource?

    Hi all, thanks in advance for your help. We are developing a series of web tests to be used for performance testing. These tests use a local database for parameter data. What I have not been able to change is the connection string of the web test datasource. If we move the tests to another testers machine, they have to create a new datasource, re-establish all of the bindings in the Form Post parameters and then delete the original data source. Is there something I am missing here It may just be a case of 'functions as designed' due to security concerns. Thanks, Shawn Thanks, ...Show All

  • Windows Forms DataGridView + RowValidating = Index 4 does not have a value?

    Hello, I recently setup my DataGridView to use the RowValidating event.  However, whenever a user types something in to a NewRow (as to cause the DGV to create a new row and consider the current row's NewRow = false) and then hit escape to cancel the edit, the DataError exception goes nuts.  It keeps spitting out "Index 4 does not exist" in what seems to be an infinite loop. Here is my RowValidating code: private void dgvMain_RowValidating( object sender, DataGridViewCellCancelEventArgs e) {   if (dgvMain.Rows[e.RowIndex] != null && !dgvMain.Rows[e.RowIndex].IsNewRow)  {    string er ...Show All

  • Visual C# Custom control draws incorrectly when moving another window over it.

    This issue has seriously frustrated me. I am overridding OnPaintBackground to draw a gradient background in my custom control. It resizes great - very smooth, no flicker. When I try to move another window across it, it will repaint itself repeatedly... but it will repaint the area that was hidden by the window as if it was the entire control. So if I am starting the gradient from blue to green...When I move a window over half of the control, and then start moving it off, it will start painting the blue in the middle of the control. So after I have the window off the control...the first half of the control looks normal. The second half looks ...Show All

  • Windows Forms MdiChildActivate Form Closing Event

    MdiChildActivate Event Occurs when a MDI child form is activated or closed within an MDI application. Is there anyway that we can find that the event is raised by the child form closing event What are you trying to achieve The MdiChildActivate will raise whenever a child form is closed indicating that another child form is activated or all child forms have been closed. ...Show All

  • Visual Studio ReportViewer Cause error after deploying the webserver

    Dear all, When I deploy my web project into my Web server,everything is work,but except the report does not work properly. The config of my webserver is win2003 with IIS 6.0.And I make use of the report in the local processing mode and set "sessions state mode=InProc","cookieless mode=UseCookie"on the page of the state management in IIS. The error message is showed below Server Error in '/' Application. There is a known bug with the report viewer and cookie based sessions. If you use a cookieless session, the report should render correctly. ...Show All

  • Visual C++ PostMessage & ON_MESSAGE(...)

    Hi. when I use form ON_MESSAGE(WM_USER+1,ShowInListBox) in my Code after 2 or 3 Second (Less or More) my Program does Hang! but If I delete ON_MESSAGE(WM_USER+1,ShowInListBox) my Thread work Properly. this my Code: //////////////////////////////////////////////////////////////////////////////////// ........... public: BOOL* GetContinue() {return m_bContinue;} void SetContinue(BOOL* bContinue) {m_bContinue=bContinue;} ... ..... void CRandomString::RandStr() { ran=rand(); m_sRandStr.Format("%f",ran); AfxGetMainWnd()->PostMessage(WM_USER+1); } //////////////////////////////////////////////////////////////////////////////////// ...Show All

  • Windows Forms how to update datatables with remote DB

    hi, my winforms app has some datatables that it gets from a remote sql server. when i run sprocs against the remote db, i'm wondering how is best to achieve consistency with my local datatables.  the options i have considered so far are: 1. blank the existing datatables and re-fill the dataAdapter. (big performance hit) 2. manually execute the effect of the ...Show All

  • SQL Server Native XML vs relation data

    Hi, Our application constructs XML reports by getting the XML file information from an SQL 2000 or 2005 database. we would like to find out if there would be better performance or not if we would no longer store the XML Reports definitions inside SQL database and rather keep them as files on the IIS server If for example 10-50-500 users are accessing reports in the application would overall performance be better if IIS would physically use the XML reports stored on its hard drive or continue constructing XML reports on the fly by retrieving the report's info from an SQL table Or may be you would suggest a different approach alt ...Show All

  • .NET Development Shortcut to .exe on server doesn't work...

    K, confused... I wrote an app, built it as an .exe and went to put it on a server, for example P:\MyProgram\the.exe I want to drag a shortcut to P:\MyProgram\the.exe onto a local desktop (4 different ones in our office actually) so that way, any time I make a code change to the.exe, I can just upload to P: to overwrite the existing .exe but the shortcuts will still work on the local desktops. In testing, I'm getting an odd error...of course... "An exception 'System.Security.SecurityException' has occured in the.exe" Tries to force me to run a debugger... I've searched this error and made the suggested changes using the .NET Wizard and Conf ...Show All

  • Visual C# How can I write an ActiveX component to start a program on the client side from a web page?

    On our intranet we want a page with buttons to start installed applications on the client side. So I am trying to develop an ActiveX component that will be called from the web page and used to start programs on the client side. I'll make it with some kind of white list so noone can hack it and start something like format c: I get the component to run, but when I try something like this [STAThread] public void Start(string program) { Process proc = new Process(); // Declare new process ProcessStartInfo procInfo = new ProcessStartInfo(); // Declare new process starting information procInfo.UseShellExecute = true; // use windows shell so ...Show All

  • Smart Device Development Windows CE architecture?

    I want to know windows ce 5.0 architure in detail It includes 1> Process and threads. 2> IPC 3> memory architecture 4>Virtual memeory 5> Head Memory 6> Stack Memory 7> File system etc. Can anyone suggest how to start. I am relatively new to windows It is great helpful if u send some links to tutorial or e-book. Thanks in advance. Omkar Singh. There is some overview technical information here:- http://msdn.microsoft.com/embedded/usewinemb/ce/techno/default.aspx You can also view all the documented APIs and their capabilities in the MSDN library:- http://msdn.microsoft.com/library/ Peter ...Show All

©2008 Software Development Network