Software Development Network Logo
  • Visual C#
  • .NET Development
  • VS Team System
  • SharePoint Products
  • Microsoft ISV
  • Smart Devicet
  • Visual Studio
  • Visual C++
  • Visual FoxPro
  • Windows Vista
  • IE Development
  • Visual Basic
  • SQL Server
  • Windows Forms
  • Audio and Video

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

Qingbo

Member List

Deldy
jforward5
Lucas Pasquali
John Rayner
Daniel Hawkins
gon_no1
tonhinbm
Wee Bubba
Yazan R.
SQLServer2050
msksurfer
swine
Vidhan
Ganesh sethuraman
Nik Ivancic
WinFXGuy
c_shah
enric vives
Timmer26
Venkatram
Only Title

Qingbo's Q&A profile

  • Windows Forms TreeGridView sort

    Hi all (and Mark ofcourse) I want to implement Sort on the TreeGridView. I though about working with the SortCompare event of the DGV and by the nodes level, return the order, any idea on this, or maybe someone already wrote something like that before Thanks! ...Show All

  • Windows Forms DropDownList issue

    I have a populated Dropdownlist on my webpage im making that i get from a sql server. Im still new at all this but the problem im having is that im sorting it with ORDER BY so its in alphabetical order but the one that i always want on top is moved maybe to second or third postion in the drop down list. now i should mention i have about 50 different possible combos with 50 different entrys in the data base with the same name but different value of the item i want on top of my dropdownlist(i always want the one i want on top to be on top no matter the value). I have tried every thing i can think of which sadly probly isnt much. any help on how i can always get it on top would be super cool. i wouldnt say it ...Show All

  • Windows Forms IIS: Server Application Unavailable for aspx

    I get this error message every time I try and run a local and personal aspx page on my local IIS server (IIS v6, .net2.0), server that i have just installed on my XP pro box. Any idea what the cause could be thanks in advance for your help and happy new year! ERROR: Server Application Unavailable The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request. Administrator Note: An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur. IIS LOG: #Software: Microsoft I ...Show All

  • Visual C# Vertically Splitting A Code Window, Is It Possible?

    When editing a C# file, I am able to vertically split the view, either via the IDE's menu bar (Window -> Split) or by clicking and dragging the splitter bar that sits just above the code view's vertical scrollbar. Does anyone know if it's possible to create a vertical splitter bar, such that I can have two views of one file, side-by-side, as opposed to one on top of the other AFAIK there is no command in VS to split a window vertically. I looked in the available commands and there are no options. However for source files you can create a new window using Window ->New Window which creates another window of the same file. You can then use a vertical tab group to give you what you want. Michael Tay ...Show All

  • .NET Development Process crash when using SerialPort or Socket objects and thread.Abort

    The easiest way to demonstrate what this error is all about is to compile and run this code: using System; using System.Collections.Generic; using System.Text; using System.Threading; using System.IO.Ports; namespace ST { public class SerialTest { public static SerialPort m_port; public static void ReadFromPort() { byte []buffer=new byte[10]; try { m_port.Read(buffer, 0, 10); } catch (Exception e) { Console.WriteLine("Read thread exception: "+e.ToString()); } } public static void Main() { m_port = new SerialPort("COM1"); m_port.Open(); m_port.ReadTimeout = 100000; Thread thread = new Thread(new ThreadStart(ReadFromPort)); ...Show All

  • .NET Development Problem with databindings after removing a row from a DataTable

    I have a DataSet containing 2 DataTables: A and B. The tables are related through a common ‘id’ column, which is a unique column. Table A which is the main table, is displayed by a DataGrid. Table B is displayed by a checkbox and 2 textboxs. (Each control is connected to its matching column through the ‘DataBindings’ property. Everything works fine when I move through rows in the DataGrid, or add a new row. (I see the data of the checkbox and the textboxes is changed properly.) But, when I remove a row from table A, the data I see in the checkbox and the textboxes does not represent the actual data. I don’t know what is wrong, since everything works fine until I delete a row. Can someone help please Table ...Show All

  • Visual C++ MFC ScrollBar

    Hi i am making a SDI MFC application, In OnDraw in CTestView i am calling pDC->TextOut() with very long text, I want i can scroll to right to see the text incase it dont fits in window how can i do that Please if possible provide me with some sample code or some link Thanks for both of your view. I used the ScrollBar Feature i mean deriving from CScrollView. Actually my application is not going to display text its going to display some kind of big graph so best way was to use CScrollView. Thanks dude's , your views really helped. ...Show All

  • SQL Server SQL 2005 Mobile loading 2003 Cabs

    I am moving a VS 2003 Pocket PC app to VS 2005 and when I deploy the app from Visuyal Studio 2005 two sqlce cabs are deployed (in addition to the sqlce30 ones) namely sqlce20.dev.ppc.wce4.armv4.CAB and sqlce20.ppc.wce4.armv4.CAB. Now as I have documented in another thread ( SQL 2005 Mobile : The file is not a valid database file ) this gives me problems when I want to access the database being produced by replication. So I'm trying to eliminate the need for these cab files. My pocket PC application uses two of my DLLs the first of which is my Business Objects. When I deploy this to my PDA I get the following build output ------ Build started: Project: BO, Configuration: Release Any CPU ------ C:\WINDOWS\Microsoft.NET\Fram ...Show All

  • SQL Server What is necessary to create SDF-Files on desktop legally?

    I want to write a PC application that prepares a SQL Server Mobile Files (.SDF) and sends it to a PocketPC. I get this error message: "SQL Mobile usage is restricted on this platform. To use SQL Mobile, you must install SQL Server 2005, Visual Studio 2005, or the Tablet PC SKU" If I install "SQL Server 2005 Express" the error message disappears and everything works fine. Question: Is it allowed to create SDF-Files if "SQL Server 2005 Express" is installed or is it necessary that my customers buy "SQL Server 2005" It's faster, easer to use, requires little coding on your part and works over HTTP so it can go through firewalls and your SQL Server is not exposed. But, sure, you can use SQL Cli ...Show All

  • Windows Forms AutoScroll for Panel control and refreshing while scrolling

    Hi, I'm writing a small app using VS2005 in C#. I put Panel control onto my form and, as child control, another panel inside it. I'd like to see as the content of 'container' panel changes its position during scrolling, but when I set AutoScroll property to 'true' the effect is only seen when I stop scrolling the content (it depends on 'show window contents while scrolling' settings of operating system, on my computer it's set to false). So, to do that, I consumed Scroll event from the container and set location of the child panel using ScrollEventArgs values. Everything works fine until I stop scrolling. After that, scrollbars of the container change their sizes and 'everything breaks', colloquially speaking. I've tried to do something wi ...Show All

  • Visual Basic In a 2005 winForm I can't get Sever Explorer

    In a 2005 winForm I can't get Sever Explorer I can't get Server Explorer to show by either going to view and clicking on Server Explorer or the keyboard short-cut. I had a pre-release version of VS 2005 and had a problem Installing the release version of VS 2005. Which I fixed. But what is up with Server Explorer not showing It's actually /resetsettings not /reset right I just tried that, it doesn't work. I also tried to Repair VS before that didn't work. Do you think if I completely Uninstall VS and ReInstall it will work ...Show All

  • Windows Forms How to have DatagridView Colum convert date from UTC to local time on client machine

    Hi, I have a bound DataGridView that is bound to DataSet. All date time values I get from server are in UTC format. Is it possible to render the Datagridview such that Date time column is shown in Local time and not in UTC. Is there any property that i can set to do the conversion There is Locale and DateTimeFormatInfo in DataSet. Can these be set some how to accomplish the conversion from UTC to localtime. Any Help or suggestions would be helpful. Thanks MS Hi, Thanks for the link it was helpful. My only concern is the performance if there are few hundred rows as cell formatting will trigger on every row. I was hoping there may be a way to define at the dataset or da ...Show All

  • Connected Services Framework Reference materials

    hi all, I am trying to explore CSF in detail. Have installed the Dev Lite Edition on my Windows 2003 Server machine ( with .Net Framework 2.0 ) and am trying my hand at the HelloWorld sample application. However, it seems there is very little technical reference available online. Can someone please suggest any appropriate resource(s) where one can get an excellent understanding on how to proceed with CSF based developments from the scratch Any help would be appreciated. Thanks - hiren Hi Tilak, I have the following URI's in my App.Config file ( of my WinForm project ). Now, I've Ctrl+clicked on the the SessionManagerUri and the ParticipantUri and both seem to be working. Also, I ...Show All

  • Visual Studio c# web error only: missing file line column ...

    this is strange. when I do web coding with c# in vs2005, I found I cannot see the "line" "coumn" and "file" for where the error occurs. However, c# in windows application has no such problem, either VB in web or windows application. any way I can fix it seeing error location is very important. thank you! screenshot   thank you, I did that and it does not fix the problem. any idea thank you!   I also check the "output widnow" and here is what I got. I think it doens't come up that information so it does display on the Error window   ------ Build started: Project: C:\(projects)\WebSite1\, Configuration: Debug .NET ------ Validating Web Site Building directory '/WebSite1/'. (0,0): error CS0201: ...Show All

  • SQL Server ETL Package to OLAP Cube

    Hi guys! I'm new here! Is there a way to create an ETL package that gets data from a flat file, puts it in a fact table and then it creates a cube based on the data without user intervention So the package will generate automatically a cube that can be used in SSAS I am sorry if I did not make any sense. Thanks! Not sure if this will work, but you might try setting the DelayValidation property to TRUE on the connection managers and Execute DDL tasks that you are using, and see if that helps. ...Show All

©2008 Software Development Network