Software Development Network Logo
  • Visual C#
  • Architecture
  • VS Express Editions
  • Visual J#
  • Windows Live
  • Visual Studio
  • .NET Development
  • SQL Server
  • Visual Basic
  • VS Team System
  • Windows Vista
  • Windows Forms
  • Game Technologies
  • Microsoft ISV
  • Visual C++

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

chessmaster

Member List

matt_uk
knightmare
buragohain
lagu2653
AlexO
Needinput
Dwaraka
newbie_lg
_Igor_
stoppedcode12
Chris Peto
synesthetia
The MaiN MaN
Tep
Manish_Jain
TheGeoff
Knut Hamang
Sreej
Muhammad Waqas Bashir
C. Lange
Only Title

chessmaster's Q&A profile

  • Visual Basic Message Boxes

    I want to install a messagebox to ask if the user is sure they want to delete a record from my system. How do i make it so that only if they press yes it goes ahead and delete and if they click no it doenst delete Can someone provide me with sample code please. much appreciated. if MessageBox.Show("Do you want to delete", "Delete ", MessageBoxButtons.YesNo) = DialogResult.Yes then ...... ...Show All

  • SQL Server I need help debuging this error message::

    Hello everyone, All weekend long I keep getting this error message when I run my SSIS package: Error: The variable " system::localeID" is already on the read list. A variable may only be added once to either the read lock list or the write lock list. I have search everywhere for this message without success. Could someone help to explain this and what to do to to bypass it. Your help will be much appreciated. Omon What are you trying to do with that variable and where are you trying to do it It is most likely in a Script Task or a Script Component. If you cannot find where you are referencing it then ope ...Show All

  • Smart Device Development resgen error -1163019603 while building App.

    I converted a 'old' 2003-project  into vs2005 Team version When i try to build the app i get this error : "resgen  error -1163019603" and no Exe is build does anybody know this error code and probaly how i can solve this problem thanx   I have the same problem can u help me in my prob. and how can i solve it... ...Show All

  • Visual Studio 2008 (Pre-release) Next CTP of WinFX scheduled for when?

    I'm having the runtime throwing exceptions on any application I compile, some BAML parser exception that's related to a FPU stack overflow (or whatever). This issue showed up in the December CTP already, was promised to be fixed in the next release (which would be the January CTP) in a thread on these forums, yet it's still there. I'd like to be able to continue with the development of this WPF based application, without buying some new rig because WPF seems to be hating my current one because it doesn't do SSE2. Is there another WinFX CTP scheduled for hopefully very soon Microsoft has stated that the Jan ...Show All

  • Smart Device Development Custom Menu in CustomForm

    Hello,Every one: Does any one know how to use custom menu in CustomForm sample(or Tv_inbox sample) I tried to create menubar for my customform,but it was overlap by default menu. I don't want to use Context menu to extend default menu, I want to handel all menu item by myself. If some one know how to do or any ideas,Please give me some suggest. If you don't know my question,i can describe more detai. Thanks.... I use "DialogBox" to create a popup style dialog for compose/read form now. DialogBox doesn't return immediately,so i set phwndBody = NULL after DialogBox end to end CreateComposeForm. ...Show All

  • Visual C# Generic Bug or Limitation or By Design?

    The following is my code Common  public abstract class DataFieldBase  {   public DataFieldCollection<DataFieldBase> Parent;   public string FieldName;   protected object BaseValue;     public DataFieldBase(string fieldName, object value)   {    this.FieldName = fieldName;    this.BaseValue = value;   }  }  public class StringField : DataFieldBase  {   public StringField() : base("StringField", "Test") { }   public object Value   {    get { return this.BaseValue; } & ...Show All

  • Windows Forms webBrowser question, content from string?

    Hello.  I am using VS 2005 beta 2 and am building a C# project with a webbrowser control embedded in my Windows.Form. I see that I can use the DocumentText hook to feed HTML from a string to the webbrowser.  What I would like to do is feed SVG code to the browser from a string (I have already installed Adobe SVG Viewer, so the browser can render SVG content).  Is there a way to tell the browser control that the mime type it is getting is "image/svg+xml" instead of HTML Thanks in advance for any help. Simple solution would probably be to save the file withthe approrpiate extension and then nav ...Show All

  • Visual Studio The definition of the report 'Main Report' is invalid

    Hi I built a new report using vs.net2005 (Local report) and could get see the report when i was developing the application.when i published to IIS iam getting the following error An error occurred during local report processing. The definition of the report 'Main Report' is invalid. The report definition is not valid. Details: Data at the root level is invalid. Line 1, position 1 Any suggestions to solve this SVNR I followed the link topic above and can say it solved it for me. What I found was that if one uses the Publish Web Site feature in VS 2005 and then uncheck "Al ...Show All

  • Visual C# Translate Code: Convert of type

    I have the follow in VB: pt = CType (sender, TreeView).PointToClient( New Point(e.X, e.Y))   I want make in C#, I make it: tv = (TreeView)Convert.ChangeType(sender, typeof (TreeView)); pt = tv.PointToClient( new Point(e.X,e.Y));   I can make it, just in a one line David with your code, don't appear the follow lines:   IL_0017:  ldtoken    [System.Windows.Forms]System.Windows.Forms.TreeView   IL_001c:  call       class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)   IL_00 ...Show All

  • Visual Basic Release or Debug Problem with WriteFile API

    Hello, i wrote a programm which can help to send packets to my USB device but when i try to use the method WriteFile (in sub sendpacket(startsessionpacket)) i get the win 32 error (Error Invalid Handle) howewer work hDevice=createFile (...) great! so what's wrong with my code please Help Me Option Strict On Imports System.Runtime.InteropServices Public Module DeviceIo Dim theDevInfo As IntPtr Dim hDevice As IntPtr Dim usb_packet_size As Integer Dim deviceioResult As Boolean Dim thePacket() As Byte Dim write As Boolean = True Dim SetupDiGetDeviceInterfaceDe ...Show All

  • Visual Basic Newbie Database Question

    This is a very basic question, but I've wasted a few hours trying to figure it out already, so I'm groveling for help. I'm looking for basic code to help me open a database, read some of the contents into variables, and that's it for now (close the database). The database in question is a flat table in mdb format; 8 columns, 15 rows - each row is a record with a name (p01, p02, etc) and seven associated strings - pretty primitive. The 1st column is the record name. I've gotten as far as associating the file with my project, but can't find the trick on how to open it and read what's in it. The code should: 1) Open the file ("CCUG PreOp.mdb") ...Show All

  • .NET Development FTP list result

    Hi, I'm retrieving a detailed list of files into a string array via FTP. Each item in the array looks something like this "drwxr-x--- 3 vincent vincent 4096 Jul 12 12:16 public_ftp". What would be the easiest way to break this info down and put it into the relevent columns on a listview control(name, date, attibutes etc). I'm really stuck on where to start. appreciate any help Chris Here are some methods we use: public class ServerFileData { public bool isDirectory; public string fileName; public int size; public string type; public string date; p ...Show All

  • Windows Forms maintain data knowlege across functions?

    I'm new with VB.net and have hit a wall. I don't know how to implement this. Data binding, MDI, data sets, collections, arrays, etc.  I don't know how to have critical info known across multiple classes, functions, subs, without making everything Public. Can additional parameters be passed in event handles  There's some basic concept I'm missing that I can't find the  ...Show All

  • Software Development for Windows Vista Lost Partition

    I have a system that currently is running windows 2000 in partition C:. I attempted to load VISTA beta release version using 40 G unpartitioned space on my 80 G HDD. During the installation I was unsure if the vista would use all of the 40 G partition so I cancelled the Install.  Now I can no longer see the 40 G partition using windows 2000 disk management. Is there a program that will allow me to manage this disk Same thing happened to me but with one partition.  I took my drive out of my Vista PC and put it in another XP PC as a slave drive and deleted the partition that way.  Once you put it back in your old PC y ...Show All

  • SQL Server Grouping question

    I have a report that is actually going to be printed on NCR (carbon) paper to be written on. On this report I have a table that displays items from five different groups plus adds blanks for written entries. The data displays correctly under each group along with the extra spaces for written data, however what I need to know is how to "force" a group that does not have any items. Is there a way to do this Thanks for any information. If you don't have any items of a group your resultset doesn't contain the group and I think its not possible to add it afterwards, so you have to change your SQL- ...Show All

©2008 Software Development Network