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

Software Development Network >> F Baker's Q&A profile

F Baker

Member List

Zhou Justin
Marco2006
huskerwendy
Prdkv
YummySatay
frazi
Daggs
MrCadburysParrot
Adam Boczek
Nate K
CindyR
Don McCrady
Travis McPhail
siphonalfusion
JimTheFoot
Behnam_acc
kawing0510
Dako
Albinowookie
rjansen658
Only Title

F Baker's Q&A profile

  • .NET Development Most suitable env for windows based client?

    Hi, We wish to kick off development of new windows based management client for our system. Our legacy application was an all-in-one server/client written in C++ using MFC. It contains portions of code that we do not wish to rewrite (a proprietary persistent database builder, among other things). However, the system was split up into a client and a server recently, so things are going in the right direction. Understandably, 7 year old clients look very, very dated. It is my intention to adopt the latest in terms of thin client development enviroments - but remain in the application domain (no web based management). I've s ...Show All

  • Visual C# error on vb.net to c# conversion

    I'm trying to convert some code written in VB.NET to C# and am getting this error: Compiler Error Message: CS0118: 'ASP.filename_aspx.localCart' denotes a 'field' where a 'method' was expected Here's my code: for(i = 0; i <= Information.UBound((System.Array)localCart, 2); i += 1) { if (Convert.ToString(localCart(CARTID, i)) != "") { orderTotal = orderTotal + (Convert.ToDouble(localCart(CARTPPRICE, i)) * Convert.ToDouble(localCart(CARTPQUANTITY, i))); //do something } The error is point to this line: if (Convert.ToString(localCart(CARTID, i)) != "") Any solutions l ...Show All

  • Visual Basic How do I create a label when the mouse over a button?

    When a mouse moves over a button I want to be able to have a label appear. When I right click the right mouse I should have a menu list of choices which appear and can be selected from. How do I do that in beta 2 I had a build that had been compiled and working using beta 1 with everything that I need for the label. It does not seem to matter where I look I still seem unable to find a way to get the same code working in beta 2 with the new components I have created in beta 2. Michael J. Dyrnaes No, all that I need it for is for the button. This morning when I selected BUILD the context menu sort of works ... There is some functional co ...Show All

  • Visual C++ Interop with Struct

    If I have following class in C++. How should I declare the unmanaged code in C# typedef void * MQISDPCH; /* Connection Handle */ /* Information required for MQIsdp server connection */ typedef struct struct_SVRS { long portNumber; char ipAddress[MQISDP_INET_ADDR_LENGTH]; } MQISDP_SVR; /* Connect parameters - fixed length portion*/ typedef struct struct_CP { long version; long strucLength; /* Fixed length plus variable portion length */ char clientId[MQISDP_CLIENT_ID_LENGTH + 1]; long retryCount; long retryInterval; /* seconds */ unsigned short options; /* WILL flag, WILL retain, WILL QoS and Clean Start ...Show All

  • .NET Development multithreading issue - please help

    Hi, I'm having big issues using multithreading. As it is quite difficult to explain I've made a sample application to illustrate my problem: http://graphicsxp.free.fr/WindowsApplication11.zip It starts a new thread, which DoWork function calls a delegate to do do operations on controls (tabcontrol, datagrid....) There is also a popup that contains a progressbar to show the progress in real-time. The problem is that updating the progressform in the delegate does not work, so I can only update the progressform before or after calling the delegate, which is pointless as progress should be updated as operations on control are being ...Show All

  • Visual C# exit application after aborting thread

    Hi there. During my application a thread is started by the user. however when the user closes the app from the X button at the top right hand corner of the form, the application (or form) closes but app still remains in memory running how can i kill the thread and remove the application from memory, as it should do normally when you run and close an application (like MS word etc...) I have put this in my closing event handler of the form but doesnt seem to remove it from memory: private void frmMain_Closing( object sender, CancelEventArgs e) { i f ( this .listenToClientThread != null ) { if ( this .listenToClientThread ...Show All

  • Smart Device Development Popup submenu not working correctly (eVC4 project imported to VS2005)

    I have a popup submenu "Preferences" as an item in the "File" menu in the command bar. The command bar also contains a "Function" menu. In the eVC4 built application, when the user taps on the "File" menu, then selects the "Preferences" popup submenu, a new menu appears alongside, with a set of preference items to select. However, in the VS2005 built application, when the user taps the "Preferences" menu item, the menu that appears is not the preference items, but the "Mode" menu. I have no idea what is going on, and would appreciate some help in finding and fixing the cause of this problem. I haven't made any changes to the menus sinc ...Show All

  • Windows Forms AuthService.asmx

    I am trying to incorporate AuthService.asmx into my application.  When I try to create a web reference to this service, I receive the following: Server Error in '/RetailSystem2004WS' Application. Could not create type 'RetailSystem2004WS.AuthService'. Source Error:  Line 1:  <%@ WebService Language="vb" Codebehind="AuthService.asmx.vb" Class="RetailSystem2004WS.AuthService" %> Is there some ...Show All

  • .NET Development How can I add a please wait page while doing heavy db transactions

    I have a page that the client hits the run test button and there is an intense amount of stored procedures that run - I want to be able to redirect or display an ani gif that say's please wait with a moving hour glass so they don't keep hitting the run test button and they know something is happening - I looked around the web but couldn't find any working code... Anyone that can help would be a blessing... thanks rich I know there has to be someone out there that has sample code on this - Everything I find is so complex - I want to keep it simple... Someone please help out if you have something... thanks rich ...Show All

  • Windows Forms How to exit program when x button is pressed in right top corner (C#)

    When the user presses the x button that is in the top right corner it just takes away the window but not the program itself which remains still in memory and as a process. Where do I manage in Visual Studio 2003 to do that.. Thanks, I think it should have unloaded itself by default. Do you start any threads Have you changed the Main() entrypoint in any way It should look something like this default.         [STAThread]         static void Main()         {             Application.Run( new Form1( ...Show All

  • Visual Studio Team System Is MSF Agile meant to be used on its own, or together with methods like XP? Or both?

    Hi there gurus Is MSF agile meant to be used on its own, or together with methods like XP Is MSF for agile software development meant to be used on its own, as a agile software development methodology Or is MSF Agile rather a frame work to be used in combination with a agile software development methodology like XP (eXtreme Programming) Or both Anders Noras (blog linked to from the MSF Agile home) states that MSF Agile doesn’t have any rules for how you should work. Does this mean that you’re free to cowboy whenever MSF Agile doesn’t suggest how When Microsoft guys like Peter Provost ...Show All

  • SQL Server Is there merge monitor sample in vb.net?

    Hello,    We are a vb.net shop and while some of us know a little C# it's not enough. Is there a sample solution for the monitoring of replication in vb.net I know about the sales one but it's in c#. Thanks. Please refer to the Books On line link ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/repref9/html/b323da02-fadf-443c-8ba7-0cc050250e2d.htm which will point to every replication step through RMO programming and sample code is written in VB, C#, C++, J#, etc.   Thanks   ...Show All

  • SQL Server Can I update several columns by CASE expressions?

    Hi, all here, I am having a question-is it possible to update several columns using CASE expression in SQL language like if I wanna set each CASE for each column. Thanks a lot in advance for any help and guidance. I think so. Have you tried something and it didn't work A CASE expression just returns a scalar value, so you can do: update tablename set column1 = case when .... end, column2 = case when ... end, If you want. If the case statements are completely independent of one another this might be the best way to do something, but if they are from the same data set then you might want to use a join, and possibly a deri ...Show All

  • Visual FoxPro runtime output is misplaced

    I have never seen it anywhere before. When I use a command "hello world" issued MANUALLY at the command wiindow I find the output string in the right place, I think you call it VFP output panel: it is white and vast. When I use a similar command inside of a user defined procedure which I call from inside my form (I use such commands for debugging) the output appears on the FACE of the form. I cannot even see all the lines since I covered the form generously with pageframe and other controls. Where is the option switch that determines where the output should go Thanks. >> You are all so helpful, guys, I do not know how to tha ...Show All

  • Windows Forms Cannot add custom controls to SplitContainer?

    For some reason, I can't add any custom controls to a SplitContainer panel in .NET 2.0. When I try to add these controls to the panel via the designer, I receive the following error: "Failed to create component 'CustomCheckBox'. The error message follows: 'System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types'"... It doesn't matter if the custom control is within the same project or not, the same error occurs. In the above example, all I did was create a CustomCheckBox that inherited the CheckBox class, but didn't add anything to the class other than an empty constructor. I don't hav ...Show All

©2008 Software Development Network