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

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

Morgan1339

Member List

Rik Dodsworth
IMS
Aurelien Couderc
mklee
Mahendras
A.G
4pbears
WeakAndProgrammingless
loukia
Hernán Gatta
Mikester
Ashwani146552
Dvi22
dholt
Andy Rock
mdvrdrmn
Chakra V
Ata Demiray
Ernani
GiannaCampbell
Only Title

Morgan1339's Q&A profile

  • Visual C# Progromatically Get Server Name for Connection String

    We are developing a database application running on three different servers, BERMUDADEV01, NEWYORKDEV01, CHICAGODEV01. Eventually, we will put the application into production on three identically configured servers with the same names as above but without the "DEV." Currently, the connection string is hardcoded into a web services module for each server: public SqlConnection connection = new SqlConnection("Data Source=" ...Show All

  • .NET Development Microsoft Framework

    Hi, I have only one account on my Windows Xp Pro SP2 and you know that when you have only one account it directly logins with that account. After I installed Microsoft Framework 1.1 when it comes to the account screen it doesn't automatically login with that account. I have  to click on the account to log in. can anyone tell me why or how can i make windows to log in automatically when there is only one account without uninstall ...Show All

  • Windows Forms How to remove imagemargin in a submenu

    I can see how to disable the image margin in a contextmenustrip: ContextMenuStrip1.ShowImageMargin = False but I can't see how to disable the image margin in a submenu!! Any ideas Thanks I used the exact same code. It doesn't work. Using a ContextMenu works though. ...Show All

  • Visual C# Passing a string from a C# program to a Win32 C++ dll?

    I week or so ago a few of us on this forum were trying to figure out some problems with using functions within a C# program that were made in a C++ dll, and thanks to some very helpful guys here, we were able to figure it out. However, I am now having a problem trying to pass a string from my C# program into my Win32 dll function. I have tried everything that I can think of, but since I am not all that adept at C# programming, I haven't come ...Show All

  • Visual Studio 2008 (Pre-release) TransportWithMessageCredential interop

    I'd like to consume a WCF service from a VS 2003/.Net 1.1 c# client. So far, I have the following in my server config: < xml version ="1.0" > < configuration xmlns ="http://schemas.microsoft.com/.NetConfiguration/v2.0"> < system.serviceModel > < services > <!-- Before deployment, you should remove the returnFaults behavior configuration to avoid disclosing information in exception messages - ...Show All

  • SQL Server Criteria validation Reporting Server

    Hi Does any one know how we can validate the input criteria in reporting server 2005 By saying this I mean to say; let say we have to dates “Start date” and “End date” as criteria to one report. How can I check that the Start date must be lower or equal to the End date Any advice is appreciated. Regards; Rakesh please follow the link http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=326495&am ...Show All

  • Visual Basic Newbie VB Question

    The program I'm writing is very simple - in fact, there is no need for anything visual at all - including the main form.  As it is written right now, my half-page of code is executed in the form's Main_Load procedure, and the program opens and closes in the blink of an eye. I'd rather the blank form didn't blink in and out of existence though - I was hoping I could get my code to run without using the form.  Is there a way to run  ...Show All

  • Visual C++ int CString::find() ignores newline character?

    I have a text file that is of this format: abc def ghi I read this file into a character array and then passed it into a CString. When i did a find on the CString ( CString.find("def") ), instead of returning me value of 4, I get a value of 3. When i did CString.find("ghi"), i get 6 instead of 8. That made me believe CString::find() ignores newline chars when counting for the index. Is this true If it is, is there anyway I can make it inclu ...Show All

  • Visual Studio Tools for Office VSTO 2005 / Excel / C#: TotalsRow for every ListObject column

    I have an ListObject which I created using the following code: Microsoft.Office.Interop.Excel.ListObject utilisationPercentagesListObject = Globals.Sheet1.ListObjects.Add(Microsoft.Office.Interop.Excel.XlListObjectSourceType.xlSrcRange, Globals.Sheet1.Range["A25", "M42"], System.Type.Missing, Microsoft.Office.Interop.Excel.XlYesNoGuess.xlYes, System.Type.Missing); Next I added a totals row to my ListObject (which is the second in the ListObje ...Show All

  • Visual C# Required and Optional Fields - Your Ideas Plz

    Hi, In my application, I want to let the user specify which objects are required and which are optional by enterring all objects (textbox, combobox, etc) as fields in a table so the table will continue the following: Form Name Object Name Is Required (Y/N) Is Enabled (Y/N) and I want to load these values everytime the form loads.. How can I do that.. do you have a better idea to do it will it slow the form load specially if i have many o ...Show All

  • Windows Forms Forms not loading on top of another windows

    I have a recurring problem loading forms: 1. Sometimes when I load a form, the form is not showing in top of another windows. 2. Sometimes when I close a form, the form from I loaded it goes to background. There must be a bug. Is there&nbs ...Show All

  • Visual Studio 2008 (Pre-release) Can't uninstall WinFX beta 2 (specially WCF Components)

    Hello I have a problem uninstalling WinFX beta 2. During the uninstall i get a error EventType : wap10setup P1 : 13165 P2 : 3.0.03906.22_waprc0_x86_sfx P3 : mc P4 : inst P5 : f P6 : dd_ca_uninstallxwsregexe_x86.3643236f_fc70_11 P7 : 0 P8 : 1603 P9 : - P10 : windows communic I used the repair funtion(wich crashes also), but the uninstall problem stil exist When in look deeper in to the uninstall process i figure ...Show All

  • Windows Forms Custom Config Declarations - Why the type data?

    Custom config section can be declared in your .config file under the configSections element  and then used.  The declaration for these custom config sections are defined within a section with a name and a type.  The name says this the element (and&n ...Show All

  • Visual C# Getting a COM dll's version from it's COM registry entries

    We currently have some code that goes like this: object savePath = null ; // get smartconnect type from prog id of COM component SmartConnect.dll Type smartConnectType = Type . GetTypeFromProgID ( "SmartConnect.CSmartConnect" ); // create instance of smartconnect Object smartConnectObject = Activator . CreateInstance ( smartConnectType ); // get the save path savePath = smartConne ...Show All

  • Visual Studio Error "Load Report Failed " after deployment on the client computer

    hi Masters, I am using vs2003, i have made an application having crystal reports. I have made a windows installer. And its working fine on developement computer, but when i am installing this application on the client computer it gives error when trying to view the reports only. Load Report Failed any one guess what should be the error if any one face this type of probelm pls help me to slove it. Did you include the ...Show All

©2008 Software Development Network

powered by phorum