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

Software Development Network >> .NET Development

.NET Development

New Question

Uploading .exe
how to call a javascript function from content page which was declared in master page?
Event Bubbling
Complex Event Processing / Event Stream Processing
How do I connect to MySQL from Visual Basic 2005?
How Do I Load MySQL DB Data
wsdl.exe creates proxy code that throws a System.InvalidCastException
vjslib - not part of the default 2.0 Framework distribution?
udpclient behind adsl router!!
Populate DataTable error?

Top Answerers

guilhermecvm94558
Christie Myburgh
sanjeevm
grimdog
Troy Lundin
Zakary
Ceds
ozhonetech
levyuk1
fode
sitemap
Only Title

Answer Questions

  • Ron Rice Dictionary<TKey, TValue> should expose a derived KeyValuePair specialization

    In C++/STL, many generic classes include nested typedef declarations to specialize nested types. Currently, in C# there is no support for typedef, so if I want to avoid repetetive typing of a certain generic type, especially a (potentially complex) specialization of Dictionary<TKey, TValue> , I'd need to create a subclass. 1 using System; 2 using System.Collections.Generic; 3 4 namespace ConsoleApplication7 5 { 6 public class StringDictionary : Dictionary < string , string > 7 { 8 public StringDictionary( params string [] stringPairs) 9 { 10 for ( int i = 0; i < stringPairs.Length; i += 2) 11 { 12 Add(stringPairs ...Show All

  • douner001 How to get ICorDebug being used by Visual Studio?

    Is there any way to do this (from add-in or macro) This gives nothing. VS API doesn't expose the necessary interface. The best solution I've found is to use EnvDTE80.Debugger2.GetExpression2() to inject my code into the debuggee process. This way is a bit wicked, but it works :) Have you found another solution or still searching Grem IcorDebug is too poor for that task too. Unfortunately, ICorDebug can't enumerate all objects in the target (although it's high on our Todo list). The Profilers (like CLR Profiler, Tutorial , Download for .NET 2.0 ) are much more suited for analysis of object usage across the managed heap ...Show All

  • Sam Jost How to return my OrderID from ArrayList

    I have this ArrayList called Legs and I assign it to the stopID of my comboBox.Selected Value and then I assign all the data to it like so ((Tracking.BusinessObjects.StopOrderLegDetail) this ._Order.Legs[0]).StopID = ( int ) this .cboStartingPoint.SelectedValue; binding to the data.... this .label.Text = ((Tracking.BusinessObjects.StopOrderLegDetail) this ._Order.Legs[0]).DetailStop.Name; this .label.Text = ((Tracking.BusinessObjects.StopOrderLegDetail) this ._Order.Legs[0]).DetailStop.Address; So i know my Legs[0] (arrayList) is full of data....I need to return it by using a loop like this but i dont know what to put in it here is the loop can someone help me for ( in ...Show All

  • km9999 sal.h compiler errors when switching from x86 to x64?

    I have developed a simulation engine that works well in 32bit enviroment, I am trying to convert over to a 64bit enviroment using VS.NET 2005 to decrease processing time... I can compile the project and run it when I select x86 as my target platform, but when I compile using x64 as my target platform I get the following error: 1>D:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\sal.h(226) : error MIDL2025 : syntax error : expecting a type specification or a storage specifer or a type qualifier near """ 1>D:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\crtdefs.h(147) : error MIDL2026 : cannot recover from earlier syntax errors; aborting compilation I have both Windows XP Pro Win32 and ...Show All

  • Stoj FtpWebRequest MKD fails

    I'm trying to create an application that will automatically upload files to our Akamai content delivery network via FTP. One of the requirements is that if the local source directory contains a new directory that does not exist on the target FTP server I need to create it. Unfortuantely everything I've tried for this gives me back the dreaded unspecified 550 error. Example: say I have two uris to my ftp server, the first representing a directory that DOES exist already and the second representing a directory that DOES NOT exist on the remote server. try{ string[] uris = new string[]{"ftp://accname.upload.akamai.com/10000/existingdir", "ftp://accname.upload.akamai.com/10000/newdir"} foreach(string uri in uris){ ...Show All

  • SGriffiths Conect to database using win form app using ftp

    I need to make an app that use a sqlserver database located in germany web server. I actually handle an asp application that already handle this database, but know my boss want to handle this information in a winForm appl. I dont have any idea how to do it. Can you give me a hint or a book where to start . thanks in advance for your help, Edward thanks for your help. let me se if I undestood well. I have this database in a web-host provider server, I don't understand how my Exe appl. is going to search this host If I only set in my sql connection- server=155.32.123.21, then my app is going to use internet to connect to it thanks again Edward how are you connecting it ...Show All

  • Brendan Stewart How to return the complement of a set with an XPath expression ?

    Is it possible to write an XPath expression to return the relative complement of A in B (ie the set of all elements which are members of B, but not members of A) Here is an example: From the xml file below I would like to return the set of all pet elements in the genus 'canis', which do not have elements in other genera with pets of the same name. ie snoopy is the only dog without a namesake in another genus. < xml version="1.0" encoding="utf-8" standalone="no" > <Pets> <Genus name="canis"> <Pet name="snoopy" /> <Pet name="fred" /> <Pet name="lassie" /> </Genus> <Genus name="felis"> <Pet nam ...Show All

  • rtaiss Binding Data retrieved from text file to textbox

    In my following code example everything is running peachy except for when I'm trying to tie results[l] = rprtARR .ToString() I keep getting a null exception. I tried declaring string[] results = null; but that did no help to me. Obviously I'm a novice but I've been working my way through this thing. I am coming from developing in Visual Basic so I'm pretty rough around the edges. Thanks in advance for the help and here is the code: private void panelComboBox_SelectedChangeCommitted(object sender, EventArgs e) { using (StreamReader sr = new StreamReader(@"C:\LS.rpt", Encoding.GetEncoding(437))) { char delim = ' '; string entry; string panel = panelComboBox.SelectedItem.ToString(); st ...Show All

  • Ozberg How the present .Net application which is developed in 32 bit will support in 64 bit windows vista?

    Hi, I am developing an application(windows) in vs2005. I got some doubts regarding my application support in the windows vista environment. I am presently developing the application which will run under 32 bit os. I am using the gdi32.dll, user32.dll and win32.dll to achieve some functionalities like Screen capture, Hotkey setting for the form and to display the windows explorer in a form etc..... Could any one give some suggestions to achieve my functionalites like i mentioned above which will also support under the 64 bit windows vista environment. Thanks. Note that tweeking CLR headers using corflags.exe is not supported by MSFT, if you want to make sure your application runs as 32 bit, you have to set the tar ...Show All

  • vijil Difference between 2 dates in a database

    I got a dateReturned and dueBack in a Rent table in my database. I want to know how i can have my program to work out the number of days difference between the two. Cheers for any help in advance are you connected to the database Are you talking about comparing dates on client or server Cheers, but i get the error that Rent is not declared, what do i have to do to sort that out Guys was being really dumb, got it sorted now cheers use this function DATEDIFF("d", Rent.dateReturned, Rent.dueBack) ...Show All

  • shakalama XML Serialization of Custom Classes and Web Services

    Hi All. I am stucked with xml serialization. I am having one custom class and one Web service which is having one web method to return instance of my custom class. But when proxy class is created for my web service, properties of my custom class are not exposed as properties but are exposed as fields. My custom class looks like this: <Serializable()> _ Public Class Trade public m_TradeId as integer public m_TradeName as string Public Property TradeId() as integer get() Set() End Property Public Property TradeName() as string Get() Set() End Property This class instance is returned through Web service web method. But the proxy which is generated for the webservice is not exposing Propert ...Show All

  • Hf Kok Int64

    I'm not sure where to put this question, so if this is the wrong section: feel free to simply point me in the correct direction. :) I was wondering if there were plans to include support for Int64 numbers in the .MDB/Jet system (Or should I forget it and look at other filebased DB solutions ) Have you tried using the Currency data type At this point there are no plans to take the Access Jet database engine into the 64-bit world. I have not tried to use the Currency data type. My goal was to be able to use the same table structure/dataset in my program, but have the user be able to choose between a local .MDB file or a xSQL based database. The point of this was that I didn't want 'casual ...Show All

  • biggieuk Using multiple SqlConnection objects, bad for performance?

    Hello, I am planning to use three databases on the local SQL Server. DB1 will be for App1, DB2 for App2, and DB3 will hold tables, that both, App1 and App2 need to access. With applications I mean ASP.NET applications. Obviously, I need in App1 and App2 at least two SqlConnection and SqlCommand objects, one that access their respective databases, and one that will access DB3. Will this result in a worse performance (The using of two SqlConnection objects in one aspx page as example, and switching them) Should I for better performance get rid of DB3 and add the tables there to DB1 and DB2 (Thus multiplying data, but, if the performance will be much better, it will be fine with me) I would be thankful for any advices. ...Show All

  • kaizen Account cannot access private key

    Hello, I'm developping a web service with WSE 3.0. I use mutualcertificate for security and authentificate. But I can only get it working when impersonating as Administrator. Otherwise I always get the error that I cannot access private key. I've use the WSE 3.0 Certificate Tool and I have given access to everyone to the private key. But I still don't get it to work. Another option was create a local user, and install the certificates under this account. Then, impersonate the asp.net to this account. This way works as long as the user is logged in the server. How can I configure to make it work The sever is a W2K3. Thank you!! Hi, You have to install the certificates in the local comput ...Show All

  • varda-elentari How to create AppDomains when assemblies reside in IsolatedStorage?

    The project entails a server that hosts the running of user code in sub AppDomains. A specific directory in a non-roaming IsolatedStorageFile contains the assemblies the user code references. For file system security reasons, it is desirable to be able to point the new sub AppDomain's base directory to a sub directory of the isolated storage file. Is there someway of doing this - without copying files to the actual FS For example, by refering to the actual ISF directly via:<SYSTEMDRIVE>\Documents and Settings\<user>\Local Settings\Application Data\<ISFName> How would the ISF's file name be determined in this case More generally, a furture requirement for the server is to allow cabinets or zip archives to be us ...Show All

282930313233343536373839404142434445

©2008 Software Development Network

powered by phorum