Nowandever29's Q&A profile
.NET Development How can I build a 3-tiers application using VC# Express Edition
Hi everyone, I want to build a Appliction that has 3-tiers, those are Client, Server and Database Server, how can I do that Anybody can give me a sample Thanks! The sample you are requesting is very involved and requries a lot of architectural understanding of what you are intending to do.This link below might help. http://msdn.microsoft.com/practices/GetStarted/default.aspx pull=/library/en-us/dnpag/html/scag.asp Sorry there is no simple sample I can provide. There are plenty of books and articles on how to use ASP.NET and ADO.NET to accomplish what you are trying to do. ...Show All
Windows Forms Usage of two windows forms
Greetings forum inmates and happy new year. Because this is my first forum post please bare with me... My problem might have been answered before but still I was not able to track down anything on the forum, or simply I am not asking the right question in search bar so if you have already an answer post somewhere please redirect me there. Consider two Windows Forms, FormA and FormB with FormA playing the role of startup object (I use C#). What I want to achieve is by means of an event display FormB and if it is closed redisplay it. That is, I start with FormA. Then by a menutoolitem_click event or whatever, I do private FormB f = ...Show All
Visual Basic Child form???
Excuse me guys. Could someone please tell me how to create what I’m assuming is called a child form (a form that when open takes priority over the main form so I can't access the main form until I’ve closed the child form). Thanks in advance!!! System.Windows.Forms.Form class has a property called ShowInTaskbar. To stop your new dialog from showing up in Taskbar, myForm.ShowInTaskbar = False MSDN article http://msdn2.microsoft.com/en-us/library/5xkd39aa Regards, ...Show All
Visual C# Delegate : Help me!
In my codes, i want to using delegate to send puclic hexString from comport to some function. How can I write it This is some information about my code: string StringCom; ........... //Every time my comport have data, this function will let data Triggered when a character is received and placed in the buffer. private void OnDataReceived(object sender, System.EventArgs e) { string strReadBuffer; strReadBuffer = myPortController.Read();// Reads everything in the receive queue StringCom += strReadBuffer; strReadBuffer =""; } // I want to write some function that convert StringCom to hexString and p ...Show All
Windows Forms Change properties on a form from a DLL
I was wondering what would be the best practice with respect of changing propeties on a form from a seperate dll. I have a number of DLL's that I have created and would like to update items such as labels etc on my a form (such as status feedback) from methods within my dll. Any recomendations Terry This all depends on how your ...Show All
Visual Studio Team System no coverage result for website
How can I get code coverage results against my website in my unit test projects I tried adding the website to my test solution and add it to test run config to be instrumented. But after doing that, my test case can't work fine and I'll notice the weird error message: Failed to connect to an IPC Port: The system cannot find the file specified. Anybody has any idea Hello Shu, Unfortunately, I am not sure that there is a workaround for the Beta2 problem, you are experiencing. I would recommend that you upgrade to Release candidate version. Just be sure that you fully remove the Beta2 before that (there is a t ...Show All
Visual Basic Fed up and need help
I know this isn't the forum for VB 6 questions, but mine ties in with a .NET framework problem - I need to use some System.IO functions. I have tried registering System.dll (all three versions), with no luck - System.IO is not available. I have tried using REGASM.EXE on mscorlib.dll with the same results. The .tbl file won't register with REGASM.EXE. Can someone help me I'm using VS6 Enterprise - I just need some System.IO functions. I'll be happy to give anyone more info when I get back from lunch - (2hrs, app). Thanks in advance, KaleeyJ You can't do it. Registering dlls is a COM concept, .NET does ...Show All
Visual Studio 2008 (Pre-release) DLinq vs ObjectSpaces
I wonder what are Microsoft's plans about ObjectSpaces now that DLinq seems to be the official O/R mapper for .Net for the near future. I see there are a lot of differences between the two, but will ObjectSpaces be supported in the future Cheers, Gabriele Isn't ObjectSpaces slated for VS.NET 2005 and DLinq unsupported and slated for Orcas ...Show All
Visual C++ Problem calling Windows User Interface Functions on Windows 2003 Sp1 Terminal Server
I have an old application written with MS Visual C++. It uses the old OWL library for GUI creation etc. When running the application on a Windows 2003 Server everything works fine, but after installing SP1 on that server the application stops running with a crash as result. After debugging it seems to be problems with function calls to Windows Interface Functions such as CreateWindowEx, but no exceptions that make sense are thrown. The problem only occurs when logging in to the server via Remote Desktop. I suspect that the problem has to do with the extended security control provided in SP1, but I have not managed ...Show All
.NET Development UDP socket communication between a linux (server) and a window (client) machine in C#
Dear all, Are there any thing to watch out for between UDP socket communication between a linux (server) and a window (client) machine Can I just treat the linux mahine as a "black box" that I just send and receive byte arrays I am not able to receive data from the hardware which is linked to the linux machine. As far as I know, it seems my program is correct when I test my c# client program and a C# server program which just receives data from client and echo back to the client.. this running in the same machine. this is my udp client code for connecting to a udp socket.. But when i actually use to connect to a remote machine to ...Show All
Software Development for Windows Vista Cannot find custom tool 'WorkflowXSDGenerator' on this system.
Hi. After upgrading to Workflow Foundation Beta 2 VS Plugin and WinFX Feb-CTP i have a problem with my schema files that use the WorkflowXSDGenerator Custom Tool. It was OK in the 1.2 Beta version. When saving the file the message 'Cannot find custom tool 'WorkflowXSDGenerator' on this system.' is displayed and the .cs file for the schema is not generated. I also have this problem when only using Beta 2.2. My short investigation shows that the correct registry values (using RegMon) are read: - HKLM\SOFTWARE\Microsoft\VisualStudio\8.0\Generators\{FAE04EC1-301F-11d3-BF4B-00C04F79EFBC}\WorkflowXSDGenerator - HKLM\SOFTWARE\Microsoft\Visual ...Show All
.NET Development importing WSE2 to version 3
Hello! I'm having a problem importing my old WSE version 2.0 to version 3.0. In the logs asks me to make the configuration manualy. But I don't quite succeded in doing this. I can't make it create trace log files and the application doesn't work any more after conversion. the error log is the following: WARNING: Policy Section was not imported as WSE 3.0 Policy has changed significantly. Please use the Policy Wizard to create a new Policy. Well I've recreated the policy manualy, but I still can't authenticate to the web service. Another strange thing is that I still have configurations for WSE 2.0 (well I ...Show All
Visual Studio Tools for Office MailItem Send event catch
Hello everyone, I will be extremely grateful if anyone advice me how to catch a mailItem.Send event in my .NET C# VS 2003 program. In help VBA11OL.CHM there is example in VB and I am not able (don't know how) to implement it in C#. When I look at the mailItem object in my program, I can see Write event there, but no Send event. Can anyone help me Thanks a lot. Mujeeb_rahman wrote: Hi If I use the above code I got the following error Unable to cast COM object of type 'System.__ComObject' to class type 'Microsoft.Office.Interop.Outlook.MailItemClass'. COM components that ...Show All
Visual C++ R6034 - attempt to load C runtime library without using manifest.
I've got a 32bit C++/MFC application that gets the R6034 error on startup. Seems odd as the application does have a manifest. And another application that I build the same way starts fine. If I compile the applicaton 64bit, it fails with "Unable to start program..." Are there any ways to debug manifest/dependency problems Nikola's blog ( http://blogs.msdn.com/nikolad/ ) contains lots of information on how to debug fusion & manifest issues. Take a look at http://blogs.msdn.com/nikolad/articles/427101.aspx . Hope this helps! Thanks, Ayman Shoukry VC++ Team ...Show All
Visual Studio hidden project
Is it possible to have a project in the solution hidden What I am looking to do is create a project and load it into the solution, but have it be invisible to the user. My project would handle the loading and building of the hidden project. Thanks, Mike No, you can Add virtual projects as top level projects also. It's correct, we do not have samples that demonstrates that. ...Show All
