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

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

Dnieto23

Member List

John Perks
rmcbeth
nrasinec
Steve from adzac
Márlon
derrickcui
lcj
Russ McDaniel
Dvlnblk
Michael Tsai
KristianSv
Jokon
Seefer
amygal
careyr
ar_pad
Anand Raman - MSFT
Rcreff
DrewM33
ejn76
Only Title

Dnieto23's Q&A profile

  • Visual C++ MFC Program crashes when using release configuration (Visual C++ 6.0)

    I have a program that reads text input form users and echo it in a textbox, similiar to chat. When I compile it using debug configuration everything works fine and great, but when I switched to release configuration the program crashes and generates an application error after the 1st line of text is echoed to screen. I have some TRACE statement in the code but as far as I know the TRACE statement does nothing in release configuration. Is there anything else that I should check for might be the cause of this I know the release configuration does some optimization but I'm not sure why it works in debug configuration but not release Any suggestion is welcome! This article by Joe Newcomer on debuggi ...Show All

  • Visual Studio Can we extend Visual Studio 2005 Professional Suite 90-Day Trial Edition for Web Application Projects update or Add-in

    I want to use Web Application Project WAP 2005 Update or Add-in in "Visual Studio 2005 Professional Suite 90-Day Trial Edition ". Will it compatible or any issue then please tell me Thanks in advance. deepak_z, Yes, you will be able to extend the Trial Edition just like the normal Professional Edition. But of course, VS will still stop working after 90 days. thanks, James Lau Lead Program Manager, VS Ecosystem http://blogs.msdn.com/jameslau ...Show All

  • Software Development for Windows Vista State Machine Workflow doesnot persist with ManualWorkflowSchedulerService - RJ

    Hi, I have a statemachine workflow with web application, SqlWorkflowPersistenceService does not persist workflow to database if I use ManualWorkflowSchedulerService so last statement instance.Unload(); throws exception since it tries to look for the instance id into database but it was not saved. System.InvalidOperationException: Workflow with id "c3a32e79-89dc-4dad-9ba9-7850ca479f35" not found in state persistence store. at Humana.WebArch.TCW.WebServices.TCWService.GetTCWWorkflowInstance(Guid instanceGUID) in C:\DotNetRoot\Projects\TCW\TCW.V1.0\Humana.WebArch.TCW.WebServices\TCWService.asmx.cs:line 1004 at Humana.WebArch.TCW.WebServices.TCWService.SubmitToWorkflow(String requestId, String workFlowId, String ...Show All

  • Visual Studio 2008 (Pre-release) How to replace remoting by WFC without svcutil ?

    Hello, I have a small app that previously used Remoting. I need to convert it to use WCF. The app contains three assemblies, one client, one server and one interface, e.g. Interfaces.dll: interface IMyService { string MyMethod1(string arg, ...); } Server.exe: set up remoting. Implement IMyService Client.exe: Connect to server, use IMyService implemented by Server.exe Pretty straightforward. Anyway, the schoolbook examples of WCF all use svcutil.exe to generate code for the service from a "live" server. While this is probably a very good approach for writing clients to known services with fixed interfaces, I dislike this approach for a number of reasons, mainly: - I want to co ...Show All

  • Architecture version control for unversioned files

    Hi All, I work with a web application where I have few components developed using vb, few using ASP.Net , few using VC++ , few ASP pages, few ASP.Net pages etc. There is no versioning done uptil now for all this files. Now we are in need of implementing version control. How can we proceed on it any idea Anyone please help. Regards, HV   You could use visual sourcesafe. I assume you mean code version control. You can use the four part version string format(ex . 1.1.2.x) . Label the versions accordingly. ...Show All

  • Smart Device Development How to set more than one MessageCondition?

    Hi, I'm using the MessageInterceptor managed class in .NET CF2.0. I intercept all SMS with a NotifyAndDelete message interceptor. MessageCondition can define one filter criteria in message interception. How can I set more than one message condition In my case I have a list with more than one phone numbers and I would like to intercept only this list. Thanks a lot and happy new year. ...Show All

  • Visual Studio Team System Install Team Foundation Server Proxy on a Domain Controller

    I know that an installation of Team Foundation Server on a Domain Controller is not supported. But, can I install the Team Foundation Server Proxy on a Domain Controller Does the Team Foundation Server restriction also apply to the Team Foundation Server Proxy Thanks, Julio ...Show All

  • Smart Device Development [Pocket PC] Screenshot to png.

    I've tried for the last 4 hours and someone in the irc said when all else fails go to MSDN forums. How do I click the: If (e.KeyCode = System.Windows.Forms.Keys.Enter) Then And have it save a screenshot to a .png. Seems simple but everything i find isn't supported function wise by compact framework. Right now all the things i do just create 320x240 black boxs. Thanks guys. (I would type more but gtg to work now). Back From work now. Okay so the program I'm dev doesn't use the clipboard at all so I have found some code that will save images in the clipboard. Only problem is there is no PrintScreen button that i can find on my pocket pc that will put it in the clipboard. So heres the code I just need help filling in the blank. Code: 'Code to ...Show All

  • SQL Server Strange GROUP BY Statement Output

    I am currently straching my head as to why the following doesn't work as I expect. I have Three tables UsersManagers, Users and Bookings:- SELECT MAX(UsersManagers.UsernameUser) AS UserID, SUM(Bookings.HoursTotal) AS NumHours FROM UsersManagers LEFT OUTER JOIN Users ON Users.Username = UsersManagers.UsernameUser LEFT OUTER JOIN Bookings ON Bookings.Username = Users.Username WHERE UsersManagers.UsernameManager = 'testPM1' AND (Bookings.DateOfBooking BETWEEN '01 October 2006' AND '31 October 2006') GROUP BY UsersManagers.UsernameUser This statement returns only one username with the hours they have booked in my Bookings table. However the left outer joins (I would have thought) should return an entry even if there are no hours booked for a u ...Show All

  • Windows Forms Checking for special characters in text control

    I have an IP address text box that takes in multiple IP addresses (space separated). I would like to restrict the user to enter only - numbers, "." and whitespace. How should I do it i mean, without having to do a strchr check on every alphabet (lower and upper case, special characters like "! @ # $ %.....". Is there an easy way for me to do this check Advise please... you can check the key they pressed and or check to see if its a digit, space or a period so in the textbox, implement a keypress event. then try this: if (!Char.IsNumber(e.KeyChar) && !e.KeyChar.Equals('.') && !e.KeyChar.Equals(' ')) { e.Handled = true; //we handled it so it wo ...Show All

  • Visual Studio Team System Data Generation of Foreign keys -- failing (CTP 7)

    I am trying to use the data generation plans to generate some test data. however, it seems that foreign keys columns are a problem. I keep getting an error Error 420 The data type of column <my column> is Int. The selected data generator 'Foreign Key' with the selected output 'Output' does not generate data that can be converted to this type. Select a different data generator. can anyone shed some light on a work around There are a couple more work around that you could try in order to fix this. Before you try any of these be sure to backup your dgen file. I'm not 100% sure if these will work. First work around: Open the dgen plan using the vs xml editor. Find the <ColumnConfig> e ...Show All

  • Smart Device Development Error log of emulator windows mobile 5.0 smartphone

    Can I see Event log of emulator like we can see event viewer of our desktop machines. What I have done is install two dll via cab project.When I install the application it give me the message as installation completed.But when I see the registry there is no dll entry present there. How can I view what error goes on during installation Sorry, but there is no end-user facility for viewing logs of VS's deployment steps onto devices or emulators. I'm going to move this post over to the general smart-device forum so the CoreCon team can help diagnose your deployment failure. Barry ...Show All

  • Visual C# MouseHover Error

    I dont know why but I keep getting an error on this peace of code using System; using System.Windows.Forms; class Focuses { public static void Main() { Application.Run( new DoesItFocus()); } } class DoesItFocus : Form { public DoesItFocus() { this.MouseHover += new EventHandler( HoverMouseForm ); Console.WriteLine( this.MouseHover ); } void HoverMouseForm( object obj, EventArgs ea ) { Console.WriteLine( "Stop that hehe" ); } } the error that Im getting is.. c:\c-sharp\focus.cs(14,27): error CS0079: The event 'System.Windows.Forms.Control.MouseHover' can only appear on the left hand side of += or -= The thing is that it is already on the left hand side. Mike Danes wrote: What exactly you exp ...Show All

  • Windows Forms Need to open new browser window from WinForm

    Hi, How can I open a web site in a new browser window from a regular windows form (not an ASP.NET) I tried: System.Diagnostics.Process.Start(myURL); This works, but instead of opening new window, it loads URL in existing window. Is there is any ways I can force to open new browser window Thanks You may find this article interesting :) http://ryanfarley.com/blog/archive/2004/05/16/649.aspx ...Show All

  • SQL Server First connection timeout when using full text indexing

    After rebooting the computer (anytime), the first call to the database will almost always time out.  This did not happen prior to adding the full text index to the database.  It will time out even in the SQL Express Management Suite. After that first time out, it works fine. We tried a workaround by making our first call to the database a "dummy" call and wrapping it in a try/catch. That didn't work either.  Any suggestions Regards, Pat   The article you referred to is about querying the database. However, our problem is at connection time. When the appliction try to start a connection to the database after the SQL server machine reboot, it always timeout. We then try to make the connection ...Show All

©2008 Software Development Network