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

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

Daffodils

Member List

Handschuh
n3tster
Koruyucu
bshive
Erling Ervik
CsNetworks
Dotnetjunky
Thecentury
krick
Microsoft_hates_me
Gurpreet Singh Sawhney
Jessica Alba
Robert S P
Thebitter
cdolor
RAB36
Anzer
polymorphicx
BrandyLove
b_shpungin
Only Title

Daffodils's Q&A profile

  • .NET Development System.AccessViolationException GDI+ System.Drawing

    We are getting an access violation error when attempting to utilize the Frameworks GDI+ utilities. We are drawing an image that is outputed as a jpg file. Any help is appreciated. The stack trace is below. I can't figure out what to do with this. Is this a problem that microsoft should know about I couldn't find this error anywhere on MSDN, where it occurs in System.Drawing.dll. System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. at System.Drawing.SafeNativeMethods.Gdip.GdipCreateSolidFill(Int32 color, IntPtr& brush) at System.Drawing.SolidBrush..ctor(Color color) at Hansen.UI.Web.Controls.ChartImage..ctor() in C:\\ ...Show All

  • Visual Studio 2008 (Pre-release) ListViewItem selection and focus.

    I have code that enables the drag and drop of a ListViewItem to a Canvas. The problem I have is when the ListView is just populated. I have to select the item once with a mouse click and then again to get the drag to start. If I click on it just once while keeping the left mouse button down it doesn't seem like the item is actually selected yet. I think if I just make sure that the first item in the list is actually selected and focused everytime the list loads I will be fine. Can someone tell me how to do that My listview consists of a gridview with gridviewcolumns bound to an xmldataprovider. Thanks! So is it possible to set the item in the preview event based on the which item the PreviewMouseLeftBut ...Show All

  • .NET Development how can i connect to paradox database file(.db) using ado.net

    Hi , I am developing a windws application. the back end is sql server 2000 and (another application storing clients info in paradox format)paradox(.db).it also using bde ver 5.1. 1)What is the best way to connect to .db files(odbc/oledb/....) how 2)is it better to convert all .db file to sql and then connect (30 users are using the application that storing the info in .db format) 3)will i be able to update paradox files using ado.net 4)can i connect paradox via sql server 2000 then use that table in my application (the way we connect sql server 2000 via ms access) thanks thanks for the info. i was able to solve the problem few months ago,here is my code: Private Sub cmdOldedb_ ...Show All

  • Visual Basic Adding columns to DataGrid

    Hello All, I am trying to add columns to the DataGrid and ultimately my database from the Button_Click event and am at wits end. I tried the code from the msdn library to start with and got the squigglies from DATATABLE in their code.After playing with the code for a little while and got rid af the squigglies and ran it , I got the error message : Object reference not set to an instance of an object. I have also tried code from my books and have had no luck.This is the last block that I have tried: Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim mytable As DataSet1.HammersDataTable Dim myColumn As DataColumn myColumn = New DataColum ...Show All

  • Smart Device Development Get devide id from RAPI

    Hi All, First of all, I would like to apologize if this is not the right forum to post this type of question. I have tried to post it in .NET Networking section, but there are no replies. I would like to create an application that reside in desktop side, that is capable to get the device id from the PDA through ActiveSync. I have been able to retrieve the id through P/Invoke (KernelIoControl) if the process is executed inside the PDA. However, it has been a lot of difficulties once I try to do it through desktop. I read about RAPI, and found that there is an unmanaged call from ceutil.dll (CeGetDeviceId) that is capable to retrieve the id of the device. However, I'm not sure if the retrieved id is similar to the one that is ...Show All

  • Software Development for Windows Vista passing object to workflow

    I have several objects which I want to pass in to the workflow at runtime and be available to any activity run in the workflow. For example, I have a data managment object which the activities should use for database interaction. (I don't want to create a new instance in the activity). Is this possible Hi, Let's have the following class. We want having one instance of this class in the workfow accesible by all activities within the workflow: [Serializable] public class MyClass { private int _MyProperty; public int MyProperty { get { return _MyProperty; } set { _MyProperty = value; } } } We also have a workflow named "Workflow1" that has a single CodeActivity activity call ...Show All

  • SQL Server how to stop conversing status?

    Once my target service start to process, how can I stop the rest from running right now I'm looping sys.conversation_endpoints and run "END CONVERSATION @dhValue" Is there a simpler way to stop processing a service without interfering with other services I don't understand what you mean by "stopping the rest from running". If you want a way to stop an activated stored procedure from running, you could either kill the spid it is running on, or disable the queue which will cause it to abort. Rushi ...Show All

  • SQL Server SQL Server Express SP1 Setup failed

    One of my customers is trying to setup SQL Server 2005 Express SP1 on his Windows XP Home SP2 machine. Setup failed with the following in the Summary.txt file: ------- Microsoft SQL Server 2005 9.00.2047.00 ============================== OS Version : Microsoft Windows XP Home Edition Service Pack 2 (Build 2600) Time : Mon Dec 04 23:59:22 2006 D86VH461 : Unknown article Result. SQL Server Setup failed. For more information, review the Setup log file in %ProgramFiles%\Microsoft SQL Server\90\Setup Bootstrap\LOG\Summary.txt. Time : Mon Dec 04 23:59:23 2006 --------- What is this D86VH461 error code I seached the Internet and could not find any information on it. Thanks, Herbert ...Show All

  • Windows Forms DataGridView: One double click calls both CellMouseClick and CellMouseDoubleClick

    Now I see that my question was very badly writen so I re-write it. I am writing in C#. I have a DataGridView and two functions: One to handle the CellMouseClick event and one to handle the CellMouseDoubleClick event. The problem is that if the user double click a cell, BOTH events are called! First the CellMouseClick and then the CellMouseDoubleClick directly after. They are both called by the VERY SAME double click! It would have helped if I at least could tell if the "CellMouseClick" is caused of a double click or a single click. Anyone that knows how Isn't it alltogether a bug I do not think that a CellMouseClick should be raised by a double click at all. Thanks in advance, Keren PS: This is a car booking system. A single click on a bo ...Show All

  • Visual C# Modify Excel on Server

    Users of our web application should have the ability to view and modify Excel documents that reside on our web server. I.e. They will click on a link on a web page that will invoke Excel and pull the document from the server. I want them to be able to edit the document and hit save - so that the document goes back to the web server. Is this possible Any solutions for this, or any tools available to achive this. directly hitting on the save button will save the xl in the local machine. Try the following Create an activeX so that when the user opens the excel sheet, it will get downloaded into the local machine. then in the activeX create the xla file(just add the file into the resource while build ...Show All

  • Visual Basic Help!

    Hi..im writting a new program but i need some help. Well i want this program to put a notify icon.So when you clik on it the menu appears. I know how to do that. But you see the only way to "communicate" with this program is the notify icon..so i don't want any forms. I have a form and added the notify icon and a contextMenuStrip. But i don't want this form to be visible. I tried the Me.Visible = false but it's not working. I also tried to start the program from inside a module (Sub Main) and write Form.showdialog but i can't make it invisible after. Any ideas Me.Hide is not working too! I tried this also. I read that you should write Form.Visible = False into another form or module otherwise the form won't hide becau ...Show All

  • Visual C# GridView columns

    Hi, I have a small problem with GridView. I have a DataTable with at least 5 columns, the size is variant. I want all columns except one in the DataTable to be visible. anyone know a workaround solution for this Sounded like a good solution, it though gave me a : Parser Error Message: Code blocks are not supported in this context. ...Show All

  • SQL Server SQL Statement not producing any error for invalid column in a table

    Hi, I am using SQL Server 2005 with SP1 patch update.I have tow tables X table fields: ClientID,ClientName,ClientRegisteredNumber,HoldingName,HoldingRegisteredNumber,NumberOfHoldings Y table fields: ClientID,ClientName,RegisteredNumber,HoldingName,HoldingRegisteredNumber,NumberOfHoldings If i run a query for X table: SELECT RegisteredNumber FROM X it produces the error like this Msg 207, Level 16, State 1, Line 1 Invalid column name 'RegisteredNumber'. But if i run the query for X,Y table: SELECT * FROM Y WHERE RegisteredNumber NOT IN (SELECT RegisteredNumber FROM X ) It's not producing any errors. Why this Is this the SQL Bug or my query problem Can anyone explain how to solve ...Show All

  • Visual C# Generics and extending a class

    Does anyone know the syntax for declaring a generic which extends a class Hence, if I want to return a generic property which extends a class named "Container", how would I write this The Java equivalent is "< extends Container>"Any suggestions would be great.Thanks! ...Show All

  • Visual FoxPro Wrangling a Grid

    I know that this is bucking the norm, but I am trying to use a grid to edit data in a cursor that I have created from a local table. The problem I am having is that the columns containing numeracle values or integers, the control becomes readonly. I have the grid on a form, and I am assigning the recordsource and controlsource programmatically after creating the cursor in the Init method of the form. Thanks in Advance - Any help would be appreciated. There are a couple of possible reasons why a column could set itself to read-only And the other one that I have seen is when the column controlSources are specified using the field name only and not qualifying the field names with the grid ...Show All

©2008 Software Development Network