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

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

sorcer1

Member List

marge_may
MMBVN
Eric Harmon
Javier Martinez
Constantijn Enders
gafferuk
Rob Thomson
pkv
ericzaj
gracias
Jeroen Alblas
Toseef
sowjanya
selva_kumar
slashblue
Kyle McK
StephenH
abcdefgqwerty2
John Sorensen
Jason Zhang
Only Title

sorcer1's Q&A profile

  • .NET Development upload 250mb data in asp.net with c#

    hi all, I wants to upload 250mb of data in my web application. Is it possible in asp.net,if not then how to do it in asp.net help me, any code..... i am searching for hours on net......... Using third party and .net forums are great advice. You may also want to consider ftp as an option. If that is too complicated for the user than write a WinApp utility that they can use to do it for them. ...Show All

  • Windows Forms For designer copy/cut/paste, what Type or data format does MS set the clipboard DataObject to?

    Reflector shows this code for the copy command: protected void OnMenuCopy ( object sender, EventArgs e) { if ( this . SelectionService != null ) { Cursor cursor1 = Cursor . Current ; try { Cursor . Current = Cursors . WaitCursor ; ICollection collection1 = this . GetCopySelection (); collection1 = this . PrependComponentNames ( collection1 ); IDesignerSerializationService service1 = ( IDesignerSerializationService ) this . GetService ( typeof ( IDesignerSerializationService )); if ( service1 != null ) { object obj1 = service1 . Serialize ( collection1 ); MemoryStream stream1 = new MemoryStream (); new BinaryFormatter (). Serialize ( ...Show All

  • .NET Development .net runtime 2.0 error reporting

    I'm getting a runtime error on a window's service that I wrote to handle querying and updating a SQL database. I use system.data.oledbcommands to accomplish this, and I have no idea how to research the cause of this runtime error. Where should I post the error message to get some help Thanks! Please Tell us what error you are getting, If its an exception raised from your code to tru put try/catch and write that exception to event log or some other file and then copy paste that error message here so one can investigate about the origin of the problem! Best Regards, ...Show All

  • .NET Development Is EventHandler is heavy to use?

    I have one application and in that I have to show the waitcursor whenever any operation starts. NOw the operation starts from one class file. and it's not a form. to change the cursor we need to give the form or control reference. Now I want to use eventhandler for this. so whenever i need to change teh cursor i can raise one event and on that form application i can change the cursor. but i have read somewhere it's heavy to use eventhandler. don't use it for small purposes. Why it's heavy Can anybody tell me. Not sure why they'd think EventHandler would be expensive. Delegate calls are simply indirect calls through a list of method pointers. I tried it out, 9 seconds for one billion calls, that's 9 nanoseconds per call. ...Show All

  • Windows Forms two related tables Parent and Child on the same data form, is it possible?

    I am stuck on this from some days now and i hope that someone here can help me in finding an answer to this simple question: why if i drag an instance of two tables (in detail view mode) that i have in a simple dataset i created on my main form (the two tables got a simple relation between them - ParentTblPK to ChildTblFK) i can actually browse delete and update records accordingly but i cannot add a new record to ChildTbl I can only add records to ChildTbl accordingly to its rtelation to ParentTbl if i drag a detail view instance of my ParentTbl on the form and a datagridview of my ChildTbl, that's weird, i do not want to have a datagridview of my ChildTbl, instead i'd like to have a single form handling two tables with labels and corres ...Show All

  • Visual Studio Visual Studio 2005 Addin - How to find all the controls in a webform?

    Hi everyone, I’m the coordinator of project NMVP ( http://www.codeplex.com/nmvp ). It’s a framework to develop MVP architectures. The framework is doing really well, but there’s one task I’d like to automate that is the task of creating a contract for the web form. I’ll illustrate: Imagine I have a web page like this: Username: [TextBox of Username] Password: [TextBox of Password] [Login Button] In MVP the contract for this page would be something like this: public Interface ILoginForm{   string Username;   string Password;   event EventHandler Authenticate; } So what I am trying to accomplish is: 1) When the user clicks the LoginPage : Page class in .cs file a "Refactor to NMVP Contract" item appears (done ...Show All

  • Visual Studio Team System Vs 2003 addin

    Hi, I'm trying to use TFS with vs 2003 (provider version 1.1), but, when I try to add a solution under source control with CheckIn I have the message 'The operation could not be completed' with no other informations. With Vs 2005, everything work fine. I know, that in my message there isn't many useful information for solve my problem, but, the product don't give me other informations ! Someone can help me Thank. Note for Ms developer: please, if you decide to show an error message, put on it useful informations ! Hello, a few question that will help us to repro the problem: How is solution created Is "Create directory for Solution" option checked, or not How to you add solut ...Show All

  • Smart Device Development problem with Command Menu Bar handling...

    Hi, All, I am using VS.net 2005 to start a new application on Smartphone platform. I created a menu in appsp.rc2: STRINGTABLE BEGIN IDS_MENU_OK "Exit" IDS_MENU_TOOLS "Tools" END IDR_MAINFRAME RCDATA MOVEABLE PURE BEGIN IDR_TOOLSMENU, //0, 2, I_IMAGENONE, IDOK, //IDM_EXIT, //IDM_MENU_OK, TBSTATE_ENABLED, TBSTYLE_BUTTON | TBSTYLE_AUTOSIZE, IDS_MENU_OK, 0, NOMENU, I_IMAGENONE, //IDCANCEL, IDM_MENU_CANCEL, TBSTATE_ENABLED, TBSTYLE_DROPDOWN | TBSTYLE_AUTOSIZE, IDS_MENU_TOOLS, 0, //NOMENU, //IDR_TOOLSMENU, 0, END IDR_TOOLSMENU MENU DISCARDABLE BEGIN POPUP "&Dummy" BEGIN MENUITEM "Diapad", ...Show All

  • Visual C# How to populate xml file

    Hi, I am new to populate xml file. My xml configuration file is as follow: <% @ Page Language ="C#" AutoEventWireup ="true" CodeFile ="MainTreeView.aspx.cs" Inherits ="MainTreeView" %> < html > < body > < form id ="frmReport" runat ="server"> < asp : TreeView id ="ReportTreeView" runat ="server"> < Nodes > < asp : TreeNode Value ="Report" NavigateUrl ="main.aspx" Text ="Report" Target ="Content" Expanded ="True"> < asp : TreeNode Value ="EOW" Text =&quo ...Show All

  • Software Development for Windows Vista Getting URL from a workflow hosted in ASP.net

    Is there anyway for the workflow to know the URL that it hosted under I have looked at the WebServiceInputActivity members and I cannot seem to find it. Thanks! Marc HttpContext.Current.Request.Url. There are a number of other path variables on the request depending on how you want the data formated. Remember to check for HttpContext.Current being null before accessing the request property. Matt ...Show All

  • Visual Studio Express Editions Populating a Dataset from an SQL Database

    I am using VB 2005 Express Edition! Also - this is my first attempty at accessing an SQL database, so I acknowledge that I have probably done something very silly but at this stage I am stumped and need some help. As a reference on how to do this, I used KB Article 301216. I have basically copied exactly what was shown in the article changing names to suit my requirements and have come up with the following code :- Dim connection As New SqlConnection(ConnectionString) connection.Open() Dim adapter As New SqlDataAdapter ReadString = "SELECT * FROM configuration" adapter.SelectCommand = New SqlCommand(ReadString, connection) Dim DSetCONFIGURATION As New DataSet( "CONFIGURATION&qu ...Show All

  • Visual Studio Team System unicode with SQLCMD

    I have a bunch of DML scripts which contain Unicode characters (i.e. German Umlauts such as a,o,u). When I use the post deployment script to execute the DML using the following syntax: :r .\DML\Umlauts.sql the unicode characters are not loaded properly into the DB. The script works fine from the command prompt or using SQL Studio. Is there any way to pass along the "-u" parameter to the SQLCMD If not, is there any way to execute cmd files during the deployment process Thanks in advance for your help. Markus Gallagher I opened both the original DML file and the Build Output file with Ultra Edit and neither of them indicated that they were Unicode i.e. both displayed as DOS Format. I then converte ...Show All

  • Visual Studio Unable to create a new DSL project from Visual Studio

    I have reinstalled Visual Studio and the latest SDK and I start to experience problems while creating a new Domain Specific Language Designer Project. At first, after the project is unfolded I get the error message box saying “ The method or operation is not implemented” . When I press OK, I can work. I still need to run the text template manually because it probably fell before it could complete it. However, the problems are not over yet. When I run the solution, I get an error inside the experimental hive saying: “ The following files were specified on the command line: ..\..\..\Debugging\Debugging.sln. These files could not be found and will not be loaded.” Btw, I have no problems opening DSLs I develo ...Show All

  • Visual C# help with treeview

    hi all. in my c#2005 winforms application i must load a treeview. my table is very simple,only 2 columns, 1 for the description and 1 for the hirarchy e.g - MyFatherA 1 MySon1 1.1 MySon2 1.2 MyFatherB 2 MySon3 2.1 whats the best and fastest way to load my treeview i gave you the exact structure in my first post, but - here it is again: the tablw has 2 columns: column1 - description , column2 - hirarchy e.g Desc Hirarchy FatherA 1 SonA 1.1 SonB 1.2 FatherB 2 etc etc.... ...Show All

  • Visual Studio Tools for Office Content control events are not hooked in.

    Hi everyone I created a word add-in project using vsto2 SE beta and add some code into the ThisAddIn.ThisAddIn_Startup method  for sinking and hooking content control events. I expected this program to work welll but it didn't. Actually running this add-in,  ContentControl events were hooked into properly but at the uncertain moment events weren't  hooked in at all. Content Control events handling, sinking and hooking ,  worked well in VSTO3 CTP Word template project. I used Vsto2 SE beta, Visual Studio 2005 Team suite, 2007 office beta2. Somebody give me a clue. ######################################################## using Word = Microsoft.O ...Show All

©2008 Software Development Network