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

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

jledgard

Member List

Gargamel
neil mosafi
Dal
the_devhead
Gautam25470
JulyBetaDoesntWork
Andrei Johann
VooDo
ar_pad
Christopher Gordon
WN
Vayse_Dev
whidbey_boy
JoCook
thiaygu
Bailey
Grumbal
haroldb
Artix
Daeron
Only Title

jledgard's Q&A profile

  • Visual Studio Express Editions Stacks

    I am working on an assignment for C#.  As my name states, I am not a programmer and trying to learn how is driving me insane. This the assigment I am working on.  I have the first part complete, but am trying to work on the extra credit.  This is where I am having major problems.  Any help anyone can give me would be greately appreciated. " Homework 2 Sausage Stack In this assignment you will work with the "stack" class in C#. When visiting a local breakfast buffet, we were somewhat dismayed when a server added new sausages to a pan by simply dumping the new sausages atop the old sausages.  A ...Show All

  • Visual Basic SQL Select Statements for database

    I have a database that contains Zip Codes and Cities. The Zip Code is the primary key. I am using VB .Net 2003 and Access 2003 for this project. I want the user to be able to type in a portion of a city name and the program to display in its datagrid all the cities that begin with the string the user typed in. My code looks like this: Private Sub btnZip_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnZip.Click Dim findZip As New FindZip( ) Dim strCity As String findZip.ShowDialog( ) If findZip.DialogResult = DialogResult.OK Then strCity = findZip.txtCity.Text ...Show All

  • SQL Server MSBUILD (or something) for command line deployment of CLR Assemblies in SQL 2005

    VS2005 has a deployment feature that uses a database connection string to automatically connect to SQL2005 and create the assembly and procedures within the IDE. I am unable to access this feature from MSBUILD or any other command prompt utility so far which is a requirement for our internal build procedures. I am looking for the ability perform a command line deployment of a SQL CLR project and pass in the proper server and database name also on the command line (or config file if necessary). Does this functionality exist out of the box If not, any suggestions on how to accomplish this -Ben Have a look at SQLCLRProject . Thi ...Show All

  • .NET Development Type Initializer therw an exception

      I am new to this forum. i am facing an error in my asp.net web applicaiton when ever in my application i call any method which is defined in Module namely Common. the Error is "Type initiliazer for "AccSoft.common" therw an exception" please help me out form that error. It worked fine localy and on the porduction server. at Https: but when i copy the virtuall directory to an other virtual dir. on the same production server it this exception when application want to access method declared in Common module. compelete stake trace is as follows: System.TypeInitializationException: The type initializer for "AccSo ...Show All

  • .NET Development Read a pipe delimited file

    Is there some easy way to read a pipe delimited file into a dataview, dataset, datatable etc Basicly I'm working on an interface to a web app that will respond with a pipe delimited set of records.  IE each record on a seperate line and each field seperated by a '|' char.  I'd like to get this into some form of data object to be able to better deal with it in code. Hi, Here is a code snippet that loads the the data into a DataTable from a string if you have the pipe separated data in the string. DataTable objDataTable = new DataTable();    string [] strLines = null ; string [] ...Show All

  • .NET Development My program hangs until SetProcessWorkingSetSize is called or app. minimized

    Greetings Full description of the problem you can see here: http://forums.microsoft.com/msdn/ShowPost.aspx PostID=16535 My program generates "phantom" thread (neither one of my threads, nor one of async completion threads) after a few hours of normal work, and that thread consumes 100% of CPU time until program window is minimized or a call landed to Process process = Process.GetCurrentProcess(); SetProcessWorkingSetSize(process.Handle,-1,-1);   If someone knows what problem leads to this behaivor - please, help me.. Greetings. It has been a long time. Almost year has passed. So, the main part of my problem still actual a ...Show All

  • Visual C# How to Check that a File is Open

    I have a file that needs to be changed with StreamWriter every time I run the program.  If this file is open in Excel the there is an exception called of type System.IO.IOException: the process cannot access the file because it is being used by another process . at System.IO.__Error.WinIOError(Int23 errorCode, String maybeFillPath) but no exception is thrown when the file is open in WordPad. Is there a way to check that the file is open in Excel before the file is written Ben Enfield ...Show All

  • Visual C# TreeView doesn't display all nodes

    Hi, I have a problem displaying data from a dictionary in a TreeView. Not all Nodes in the treeView.Nodes are displayed. Given the following code: treeView.Nodes.Clear(); treeView.Nodes.Add("foo"); foreach(UInt16 binId in binContents.Keys) { Console.WriteLine("foobar" + binId); // writes "foobar156" and "foobar157" to console treeView.Nodes.Add("foobar" + binId); // adds 2 nodes to treeview that are not being displayed } for (int i = 0; i < 5; i++) { treeView.Nodes.Add("bar" + i); } (binContents is of type D ...Show All

  • Visual Studio Team System VS.Net 2005 RC Application Diagram problem with SoapExtensions in WebConfig

    I created a soap extension to assist my exception handling from a web service to the client application.  This worked fine in Beta2.  The application diagram in the RC is complaining with the following error: (names edited to protect the innocent) Error 139 Application definition MyService is locked because there is an error in C:\Source\MyServices\web.config. The value of the property 'type' cannot be parsed. The error is: Could not load file or assembly 'MyDll' or one of its dependencies. The system cannot find the file specified. (c:\source\MyServices\web.config line 12) C:\Source\MyServic ...Show All

  • Visual Studio Object Moved

    Hi, In the Microsoft Document Explorer for VS2005 I'm getting an error showing http source showing Object moved to http://service2.msdn.microsoft.com/search/service.asmx In these forums I've seen a post mentioning adding a proxy to fix this, but I don't use a proxy. Also, that address doesn't even exist! DNSStuff.com reports the message below showing that's not a good site to have moved to, so any ideas why my help is not working I've been into Tools/Options/Help/Online and everything looks good. Thanks :) DNS Lookup: service2.msdn.microsoft.com A record Generated by www.DNSstuff.com at 17:14:37 GMT on 17 May 2006. How I am searchin ...Show All

  • Visual C++ Help Calling a DLL Implicitly

    Hi I'm learning C++ and just purchased Visual Studio standard.  I'm trying to learn how to call a dll implicitly.  I've found a few tutorials, but they're aimed at VC++ 6 and I haven't been able to get them to work. Does anyone know of any good tutorials on calling DLLs for Visual Studio C++ Additionally, the more "dumbed-downed" they are the better :) Thanks Although these http://www.codeproject.com/dll/#Beginners (specifically http://www.codeproject.com/dll/XDllPt1.asp  ) are geared towards VC 6 (unfortunately), the process is basically the same in newer versions (although different UI and plac ...Show All

  • Visual Basic Using the same structure in multiple objects

    I have the same structure of data (customer name, location, status, etc.) that I want to use in multiple objects within an application (one to read the data from a file, one to display it, one to create a new or updated version, and one to save it), and I'm not sure what's the "correct" way from an object oriented point of view of how to define the same structure across all of the objects. Currently, I've got the structure defined in the MainForm class, and then I define the input variable in the input object by doing: Dim InputDataStructure As MainForm.DataStructure = New MainForm.DataStructure and in the output ...Show All

  • Windows Forms When to use Databinding in Windows Form

    Hello Guys, Do any one can provide information on when to use databinding in windows form, and best practices for this. Thanks! In general, databinding is used to move data (display and update) between the screen and a permanent data source, like a database. Try reading about databinding in the MSDN, and searching this forum and the internet for more information. ...Show All

  • .NET Development fatal error C1190 in VC++ .NET

    Hello, I am gettin a fatal error C1190 when I try to compile the code and run it. Could anyone provide a solution for that I guess I need to set the /clr switch. Here is the error: fatal error C1190: managed targeted code requires '#using <mscorlib.dll>' and '/clr' option It points to the syntax on code: #using <mscorlib.dll> <Yeah the third line of my code!!!!> ;-) Would appreciate if anyone cud provide a solution for this! :-) Thanks a much! Karthik Thnx a much! Bjoern! I set the field, " Create/Use PCH through file " as StdAfx.h ... Still its popping the same error!.. Any idea on what paramete ...Show All

  • Windows Forms tab control + validation

    Hi there,  I am using a TabControl with 5 tabs. Is it possible to disable some of the tabs and make  them available i.e. if the application is connected to the  server Also I was wondering if there is something similar like the  validation controls on webforms for the winforms as well. I am using VS .Net 2003 and C# Thanks a lot for your help.&nb ...Show All

©2008 Software Development Network