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

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

Pete_M

Member List

FilipeTB
GrayMatter Software
PinTxO
julie s.
rmxdave
Godai B
Irken
StyleStyle
Mark Benningfield
kazys
Subrah
ycjj
NemanjaTheLost
Forch
david2929
Nag Rao
Montana Jones
Tony Maresca
TjMulder
Gordon Hempton
Only Title

Pete_M's Q&A profile

  • Visual Studio unable to start debugging

    After installing VS2005 and i have made an application..when i started debugging i usually gets an Error unable to start debugging the binding handle is invalid..Wat TO Do.. Ididn't Understand Plz anyone can help Me regarding this Uday, This is a known issue. You need to enable Terminal Services to work around. Here is a link that describes how to do this. https://blogs.msdn.com/habibh/archive/2005/11/10/491572.aspx Azeem Khan VS Debugger. ...Show All

  • Visual C# Making a dialog wait

    Hi! Im currently working on a project that relies heavily on user feedback. At certain times the program should prompt dialogs requesting information from the user. The problem I'm having is that currently the program doesn't wait for the feedback from the form. It just keeps prompting the same dialog over and over again giving the user no time to type in the answers. The dialogs are prompted at certain times if certain requirements are fulfulled. How can I make the programflow stop and wait for the feedback This is the code I use to prompt the dialog dlgFirstReminder . FirstReminderHandler func = delegate ( object sender, dlgFirstReminder . FirstReminderResult theResult) { theRes = theResult; }; dlgFirstRemi ...Show All

  • Software Development for Windows Vista Which is a better way to initialize workflows....

    I have built some workflows and now wanted them to use in a WPF application... I was wondering if it is better to initialize workflows as static or not.... If I make the workflow initialization methods static I cannot modify any of the properties in the UI (as they are not static)... I don't know if there are any disadvantages of removing the "static" keyword, as I've seen that in a window application Visual studio makes the mothod for initializing workflow static.... Any tips, ideas, help (and so on...) is greatly appreciated. Hi Mark - I am not sure what initialization of workflow code is marked static by VS. However if you want to perform instance modification through UI then workflo ...Show All

  • Smart Device Development Target Device Does Not Have A Compartible Version of the CLR Installed...

    Hello! I have the same problem as this guy: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=107463&SiteID=1 This problem " Unable to start program '%CSIDL_PROGRAM_FILES% \Test_A\Test_A.exe'. Unable to load the CLR. The target device does not have a compatible version of the CLR installed for the application you are attempting to debug. Verify that your device supports the appropriate CLR version and has that CLR installed. Some devices do not support automatic CLR upgrade." Though im running visual studio 2005. The project im working with has formerly been developt in vs 2003 and cf1. Ive now converted the project to vs 2005 and cf2. No errors when deploying after som fixing in the code, but when the program is going t ...Show All

  • Software Development for Windows Vista How to call webservices in a workflow in an asynchronous way

    Hi, I am doing R&D on the features of Windows Workflow Foundation which we are going to apply for our project after release of WWF. we are using SOA Architecture. So I need to call services based on the rules. I have succeded in doing them practically using Sequential and State Machine Workflow. So, now I want to achieve Asynchronous way of calling webservices. I don't know whether this can be possible with WWF or not. If it is possible, can any body please help me in doing this. Thanks in advance. I'm not sure I fully understand what you are doing that would cause you to both have a web service that returns nothing and need to get the response, so clarify that if you can. But, I'll give it a shot: I am assuming you hav ...Show All

  • Windows Forms Limit users to input numbers only

    How do I disable users from inputing other characters besides numbers in a text box Thanks Regards Alu I'm sorry, here's the C# version: private void textBox1_KeyPress( object sender, KeyPressEventArgs e) {     int number;     string character = e.KeyChar.ToString();     if ( int .TryParse(character, out number) == false && character != "\b" )     {         e.Handled = true ;     } } Andrej ...Show All

  • Smart Device Development Http Image File Uploader for .net compact framework 2.0

    Having major problems trying to upload a file (an image) to a webserver via http post, keep getting a WebException.. Tried using the example code available at: http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnnetcomp/html/httpcomm.asp ---------- Code -------------- private void menuItem2_Click( object sender, EventArgs e) {     String httpResponce = UploadFileBinary( @"\Storage Card\test.jpg" , http://www.myServer.com /upload.php );     MessageBox .Show(httpResponce); } public String UploadFileBinary( string localFile, string uploadUrl) {     Cursor .Current = Cursors .WaitCursor;     HttpWebRequest req = ( HttpWebRequest ) WebR ...Show All

  • SQL Server "where" statement in list

    I have one dataset and two lists with one table in each list. the two tables should get their data from the same dataset. but the tables need different "where" statements. in the dataset I only can define one "where" statment. it is possible to displace the "where" statment into the two lists they should access to the dataset with their own "where" statement. A valid suggestion and definately the easiest to implement. I'll persevery merely to see what the problem is with jori0001's report. Have you created a report parameter called "usernr". If so can you post a screenshot of the definition of this parameter in the parameters pane ...Show All

  • .NET Development How to use generated assembly?

    I have a dotnet dll name test.dll after using sgen I got test.XmlSerializers.dll Now my types in the generated dll are suffixed with “Serializer” keywork i.e If I have testclass I get testclassSerializer type in the generated dll. How can I use these generated types for deserialization I want it for manual [design time serialization]. I have around 150 classes to be serialized. I created a dll of these types and used sgen to create another dll with serialized types [readers/writers]. Now I want to deserialize them. Example If give test.dll as input to sgen I will get test.XmlSerializers.dll I need to use this dll in my project and deserialize. I have class1 and after sgen I get class1Seri ...Show All

  • SQL Server Check if temporary table exists

    Hello. How can I check if a temporary table exists in the current context With normal tables I'd do a EXISTS ( SELECT name FROM sysobjects WHERE name='myTableName' AND type='U') However, I can't do that with a temporary table. I'd have to go look at the sysobjects table in the tempdb database. The problem is that for temporary tables, a suffix is added to the name to make it unique for each scope. I can't change the WHERE clause to name LIKE 'myTableName%' because this would return true if a temporary table with the same name exists in a different scope. Any ideas Carlos You can try the following IF object_id ( 'tempdb..#MyTempTable' ) IS NOT NULL BEGIN DRO ...Show All

  • SQL Server SQL Execute Task

    Hi how would you use a package variable in inline sql, is there a format utilized Are there any steps I need to take to do that I currently have the SQL Execute task inside a ForEach Loop container, which has the variable mapping for the ID that i need for the SQL Execute task. I just need to know the syntax to use parameters in my query in my task. here is the current code which doesnt work: INSERT INTO LAFProcess.ProcessList (WorkListID, CreatedOn, ProcessStartedOn, Status) SELECT WorkListID, GetDate(), NULL, 2 FROM LAFProcess.WorkList WHERE Status = 2 AND LoanApplicationID = " + @[User::LoanApplicationID] +" UPDATE LAFProcess.WorkList SET Status = 1 WHERE LoanApplicationID = " + @[User::LoanApplicationID] +& ...Show All

  • Visual C# Can i develop web application using window control?

    Anyone know how i can develop a web application and using window control You don't put the wheel of your skateboard under your car. It's the same with Winforms controls, you don't put them on a website. In a web application you spit Html to the browser, Winforms controls aren't developed to be rendered in Html, they paint themself. If you want a rich interface in you web application, I suggest to take a look at Atlas. This works great and comes with alot of fancy controls out of the box for free! You can find more information about Atlas and some great examples here: http://atlas.asp.net/Default.aspx tabid=47 ...Show All

  • Smart Device Development ExtractAssociatedIcon In Pocket PC Developement ..

    hello .. I want to extrcat icons from .ico and .exe files .. but i can't find the method ExtractAssociatedIcon in .NETCF 2.0 i hope that i can found it , or somthing do this job .. with my best regards .. Please go ahead and post the code you come up with along with explanation of what you see while you run it. ...Show All

  • Windows Forms How to Detect Changes in a DataTable?

    In Asp.Net 2.0, is the a way to detect whether changes have been made to a DataTable without looping thru each row/column With a DataSet we can use; if (ds.HasChanges(DataRowState.Modified)) if (ds.HasChanges(DataRowState.Added)) if (ds.HasChanges(DataRowState.Deleted)) Is there anything similar wth a DataTable Thanks Mike Thomas Remarkably, no. The only built-in way to do this would be to call DataTable.GetChanges(), but since that would copy all of the changed data and could potentially waste a lot of memory, it is probably not a good idea. The implementation of DataSet.HasChanges() just loops through the tables and rows anyway, so if you implemented your own HasChanges(DataTable) method, that woul ...Show All

  • Visual Basic C# to vb .net (2005),switch in c#

    I've this function with switch case in c#, I'm unable to convert it to vb .net. I don't know how to use "goto case" in vb .net. Please, guide me. public bool Decode() { decode_loop: for (;;) { switch (mode) { case LNUM: // some code mode = DNUM; goto case DNUM; // fall through case DNUM: //some code mode = BLNUM; goto case BLNUM; // fall through case BLNUM: //some code mode = BLLENS; goto case BLLENS; // fall through case BLLENS: //some code mode = LENS; goto case LENS; // fall through case LENS: //some code mode = REPS; goto case REPS; // fall through case REPS: //some code mode = LENS; goto decode_loop; } } } Thanks Javfarary Dear Javfarary, Here's the code : Public Function Decode() As B ...Show All

©2008 Software Development Network