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

Software Development Network >> 20thCenturyBoy's Q&A profile

20thCenturyBoy

Member List

albedo20
Stephen Yuan
ericlock
Khalid Naseem
Fritzie Ligeralde
Dusan Tkac
soccerdad
Wadim
David Noy
Wazoo
tmigliorino
patlora
gorance
Tomi Kaihlaniemi
jkolodziejski
andykennaugh1062
Ragh
wpzhao
Will I Am 3
Caleb Jones
Only Title

20thCenturyBoy's Q&A profile

  • .NET Development web service locks up when using an inherited class

    Hi, has anyone seen this I'm using a basic class such as. public class a <XMLElement(type:=gettype(clsTestClass)), _ XMLElement(type:=getType(clsDerivedClass))>_ public a1 as clsTestClass end class DerivedClass inherits TestClass Everything compiles correctly, but when I try to put a clsTestClass object in a1 and then use it to pass to a web service, the soap call freezes up apparently at the  accessorcollection.findaccessor call.  Putting a clsDerivedClass object in works fine.  I'm working around it by getting rid of the derived class and just adding it all to the base class, but it's bad form and a lot ...Show All

  • Windows Forms Connecting SQLConnection with DataGridView

    Hello, I am currently using VBExpress. Can anyone give me a sample code on how to programmatically connect a Dataset of SQLConnection to a DataGridView Thanks for any help, Cesar I dropped a datagridview on the form and used this code to bind it Imports System.Data.SqlClient Public Class Form1 Private Sub Form1_Load( ByVal sender As System. Object , ByVal e As System.EventArgs) Handles MyBase .Load Dim da As SqlDataAdapter Dim conn As SqlConnection Dim ds As New DataSet Dim strConn As String   strConn = String .Format( "Server = {0};" , Env ...Show All

  • .NET Development Click Once shows XML instead APP

    Hi, I'm a trying a clik once app. It runs from my web site , installs .Net framework 2.0 and the when it calls the AppName.application the XML content id displayed ...the app don't run. What could be wrong Regards. Hi Shawn, The problem is related with an Internet Explorer security parameter in Tools -> Internet Opotions -> Security -> Internet - Personal level -> Open files based in contents not extension. If this option is ON the browser does not recognize the extension .application and then open it as a XML file...If the option is OFF the installation goes on. Now I'm looking for some way ...Show All

  • Visual C# Pascal's with..do construction in C#?

    Hello, i've migrated from Delphi to VS C# and i would like to ask someone experienced with C#, if there's something like with..do construction available, please C#'s "using" keyword is something different, right Thank you. Jan, http://msdn.microsoft.com/vcsharp/programming/language/ask/withstatement/default.aspx HTH, Chris. ------------ ...Show All

  • SQL Server "Send Mail Task" Error.

    I setup a "Send Mail Task" task and an SMTP connection objection. I ran the package and got this error: >>> SSIS package "Package.dtsx" starting. Error: 0xC002F304 at Send Mail Task, Send Mail Task: An error occurred with the following error message: "Failure sending mail.". Task failed: Send Mail Task Warning: 0x80019002 at Package: The Execution method succeeded, but the number of errors raised (1) reached the maximum allowed (1); resulting in failure. This occurs when the number of errors reaches the number specified in MaximumErrorCount. Change the MaximumErrorCount or fix the errors. SSIS ...Show All

  • Visual C++ timeval struct incorrect

    Hi, A question, according to the opengroup the timeval struct should store tv_sec as time_t, not as long as MS now does. Some API's return time_t, on 64bit we now get warnings. Shouldn't timeval be updated See http://www.opengroup.org/onlinepubs/009695399/basedefs/sys/time.h.html Johnny This question you may want to ask Windows SDK folks. http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=121&SiteID=1 Thanks, Nikola   ...Show All

  • Visual Studio 2008 (Pre-release) How do you read a lambda expression?

    Hi All, I am trying to figure out how to read out loud a lambda expression.  For example if I have the following i => (i %2) == 0 or c => c.Age < 50 etc. How would I read them to my children Cheers, Clint personally, i love the lambda expression additions. in school, i used SML most of the time, and it was an amazing language. i know lamba expressions are probably a little foreign for a lot of programmers, but the power of being able to inline functions creates many possibilities for streamlined implementations. give it a chance, and then you probably will wonder where they have been your w ...Show All

  • Windows Forms change ms access password....

    Hi, Is there any way I can programmatically change the password of an MS Access db Thanks Sorry Freja, I have no idea - I found that link by searching within MSDN. I did more searching now, and found this one, which might be more helpful: http://msdn.microsoft.com/library/default.asp url=/library/en-us/dndao/html/daotoadoupdate_topic7.asp But perhaps not what you need. I'll loo ...Show All

  • Windows Forms datagridview

    I have to convert a existing app to 2005 for a demo and i'm stuck the current app is using a grid and displaying the data like I need to in the .NET world. How can i get my data in  my datagridview to go accross instead of up and down   example:  default layout:  time people day  12:00 joe 1/5/05  12:30 larry 1/5/05  12:00 bob 1/6/0 ...Show All

  • Visual Studio Express Editions Using windows media player in vs 2005 express???

    Ive tried the AxWindowsMediaPlayer1.URL = "file name"  and the codes ok but any and all of the files i try to play come up with a message that sais " the file you are trying to play has an extension that does not match the file format" and then won't work. what can you give us more details also, try to update the file types. and then open the file ...Show All

  • Smart Device Development Pocket pc for example need

    pocket pc (hp ipaq 6315) needed sample code. help me ...Show All

  • Visual Studio Team System AssemblyInfo MSBuil task

    I posted these questions on the MSBuild forum about AssemblyInfo: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=210529&SiteID=1 I was then pointed to a solution to checking out the assemblyinfo files either side of the build, posted by Guatam: http://blogs.msdn.com/msbuild/archive/2006/01/05/508976.aspx however, when I try this in my team build, the $(AssemblyInfoFiles) <itemgroup> is empty. I add the import statement to microsoft.versionnumbers.targets as the last import in tfsbuild.proj, is there something else I need to do Do I need to edit the <itemgroup> definition in Microsoft.VersionNumbers.tar ...Show All

  • .NET Development Using FTP-Class with vb.net

    Can anybody please help with a sample code to upload files to ftp server. New in vb.net. Thanks a lot. Please, use the search on this forum and use a other favorite search engine to search the world wide web. There are a lot of examples out there, here is a little list: Create a GUI for an FTP Client with VB.NET Write an FTP Client with VB.NET to Bridge Legacy Software VB.NET FTP Client An FTP client library for .NET 2.0 ...Show All

  • .NET Development File download from server to separate client hard disk - I'm Stuck!!!

    Hi, I am using C# with ASP.NET2.0 I am having difficulty in downloading a file from a Web server to a client hard disk via a browser. 1. I have been able to download from the WebServer to a folder on the hard disk of the machine running the web server (Not what I want). 2. I have been able to down load a file (.zip) from the WebServer to a folder on the client machine - but this forced user intervention by asking whether I wanted to dowload or open the file. I want to be able to do (2) without any user intervention. It will be a word (.doc) document. I then need to be able to open this file into the Browser from the loca ...Show All

  • .NET Development load data slow with web service

    I created a small testing application with VB.net, which talks to the webservice. I perfer it will be worked as both window based and web based application later . When I am getting data from webservice with dataset, the reponse is very slow(more than 2 min). It is from a very small table (100 records), and application, webservice are sitting at the same server as database. Anybody can tell me it is normal or can choose other way to improve it Hello Mike, This is normal if your computer does not have enough resources - memory, disk space etc, it is possible to have slower execution of your programs. You have to check if there is a p ...Show All

©2008 Software Development Network