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

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

VAD214

Member List

ChrisMakesMovies
Lohic Beneyzet-Jouy
Wendell G
Mateusz Rajca
Montana Jones
enric vives
MrLucky
dbooksta
Rizzlers
pkv
TechSupportV
randomblink
hazz
fafnir
Sarosh79
jkeele
Furty
Derek Ekins
ChangLuo
rene-poepperl
Only Title

VAD214's Q&A profile

  • Windows Forms UNC/URL path from OpenDialogForm

    Hi I'm using the OpenFileDialog control in VS .net 2003 to allow users to select file paths and save them into a grid and add a description. Now this works fine for local and network files which can be resolved to a UNC path. My problem is that when trying save the path of a file located on the web with a URL path it downloads the file locally to the users temporary folder and points to that rather then the source path. example: select file at google.co.uk/documents/programming/OFDCode.vb Click Open File is downloaded to temporary folder The .FileName property updated to C:\Documents and Settings\%USER%\Local Settings\Temporary Internet Files\Content.IE5\GHGJGZUP\OFDCode.vb I need the .FileName property to return th ...Show All

  • SQL Server Programatic creation of SSIS packages

    I am playing around with creating packages using C#. One major problem I have run into is controlling the location of the tasks I create in the package. I have found no way to access any properties to set this. Does anyone know how to do this Dave, I don't think the ability to define tis exists in the API at the moment. if you think it should then ask for it at Connect ( http://connect.microsoft.com ) I recommend you take a read of this though: Extended properties... ( http://sqljunkies.com/WebLog/knight_reign/archive/2005/01/13/6247.aspx ) -Jamie ...Show All

  • SQL Server Train and test data sets

    I've seen that sometimes is better to split the table into a test dataset and a training dataset, and I'll appreciate if anyone can explain why is this... thanks Santiago Acenolaza Argentina Usually after you finish building a data mining model, you'll want to test the accuracy of model against sample data. If you use the same data that you used in training, the model might show accurate results; but in reality it might have overlearned (or overfitted) on the data. Splitting the dataset into test and training allows you to validate the model accuracy on dataset it hasn't seen during training, which is more representative of the dataset it'll be used against for prediction. Let me know if you have any a ...Show All

  • Visual Studio Express Editions Using a variable to specify a label using ctype

    I have various labels named ALabel, BLabel, CLabel etc. I wish to hide these labels using the following sub '------------- Sub hidelabel( ByVal x As String ) CType ( Me .Controls(x & "Label" ), Label).Visible = False End Sub '------------------------- What have i done wrong here Also if the sub took in a number as an input (e.g. my labels were Label1, Label2, Label3...) how would i change the code (perhaps using .tostring ) Can anyone point me to some further reading on giving controls variable names Thanks in advance Your original code could have looked like this: Public Class Form1 Sub hidelabel( ByVal x As String ) Me .Con ...Show All

  • Windows Forms How to calculate the coordinates of text-entry fields in pre-printed forms?

    I would like to write an application in C# to collect data from users and then print them on pre-printed forms (examples of pre-printed forms: visa application forms, employment application forms, social insurance application forms, etc...). The forms have hundreds of text-entry fields. What is the best way to print the data on the forms I guess I have to calculate the coordinates of each text-entry field to do printing. If so, what approach would you recommend By the way, is C# a good programing language to write this type of application Is there any other programing language that you you would recommend I am pretty new to C#, so I don't mind switching to another language if it's better suited to my need to write the application. T ...Show All

  • Visual Basic VS 2005 Commerciral Development Version?

    I work for a commercial software development company and our primary product has been components (.DLLs) developed in VB6. When we started years ago, we had to buy the VB6 Enterprise Edition in order to develop .DLLs that could be distributed and registered on customer machines. Does the same concept exist in Visual Studio 2005 We want to add a line of .Net-based DLL products and currently have VS 2005 - Professional Edition. Is there any requirement to use VS 2005 Team System for developing commercial apps You can use any version of visual basic / visual studio to develop commercial applications (except student version I think) So you could develop applications using VB Express (which is free) if you ...Show All

  • Visual Studio Express Editions .dll help

    hello. I will explain my problem I have an application, in that is a webbrowser and I want it to switch to an url on a user specifiet time. but now. I want the code (which I already made) in a remote .dll file (or another one, if you can recommend one) with all the url's it should go to. Example: Select Case timername Case 0 WebBrowser1.Navigate( "URL" ) timername = 1 Case 1 WebBrowser1.Navigate( "URL" ) timername = 2 End Select Why do I want it in a remote So the application can update it when I have an update for the url's and not have to update the whole application. So how do I do that (I don't want it in the resources but in a folder on the hardisk (C)) Note: this application has a use! I want ...Show All

  • Visual C# "Smalltalk’s object-based hierarchy does not work so well".Also c#??

    I read a book , "Thinking in C++".At pg:694( Introduction to templates) he writes: "The Smalltalk solution. Smalltalk (and Java, following its example) took a simple and straightforward approach: You want to reuse code, so use inheritance. To implement this, each container class holds items of the generic base class Object (similar to the example at the end of Chapter 15). But because the library in Smalltalk is of such fundamental importance, you don’t ever create a class from scratch. Instead, you must always inherit it from an existing class. You find a class as close as possible to the one you want, inherit from it, and make a few changes. Obviously, this is a benefit because it minimizes your effort (and explains why yo ...Show All

  • Smart Device Development What books to use?

    I am new in smart device application development. Can anyone out there suggest me some good references or books so that I can learn how to develop my own mobile application (desktop application that can use to send SMS to pocket PC emulator) PS : I am using Visual Studio 2005 C# Thanks in advance. Slightly out of context here. But here is a link which could be useful. http://msdn.microsoft.com/mobility/understanding/books/default.aspx Hope this helps. -Thanks, Mohit ...Show All

  • Visual Studio Team System Problem in running build -error MSB3073

    Hi I am trying to run a build using TFS and I geting an error. It looks like it fail on some post events (md directory + copy) of a VS project. Is it a known bug in TFS build If I build the solution without using TFS build it works ! Thanks, Error: Solution: MasterSolution.sln, Project: Destinator.PC.Services.Local.csproj, Compilation errors and warnings C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets(3089,13): error MSB3073: The command "md C:\console_build\Destinator_IL\PCPortal Master\Sources\PCPortal\DestinatorPC\\Destinator.PC.App\C:\console_build\Destinator_IL\PCPortal Master\Binaries\Release\ copy *.* C:\console_build\Destinator_IL\PCPortal Master\Sources\PCPortal\DestinatorPC\ ...Show All

  • Architecture What is the scope of static webservice object

    I have a console application which calls a webservice.In webservice we create a static object of it. Then we call two webmethods of it and the value retrieved in the following two Console statements are 1 and 2. I need to know where(Are they stored in code segment oe data segment) and how static variables are stored across various stateless webservice calls and why we got values as 1 and 2 and not 1 and 1.   ConsoleApplication Code----- localhost.Service service = new localhost.Service(); Console.WriteLine("DoSomethingWithStatic() returns: {0}", service.DoSomethingWithStatic()); Console.WriteLine("DoSomethingElseWithStatic() returns: {0}", service.DoSomethingElseWithStatic()); WebService Code------ public class WebServ ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Model Animation

    I was wondering if there is any example code for model animation floating around yet I'm basically looking to do a simple walking animation via an .x file. I scoured the XNA documentation and was surprised to not find anything on this topic yet. From what I understand, it appears that the .X processor only loads static models. Your basically on your own to create a custom processor to store the data into your own animation storage format. Are there any plans for providing builtin support for basic animations (With the builtin XNA model processors) in the RTM Maybe I'm clueless and this process is more straight forward then I'm thinking. Looks like leclerc9 just posted what I'm looking for in the XNA Framework forum : http://f ...Show All

  • .NET Development [[ Strong name validation failed for assembly ]]

    First of all, I am sorry for posting this two times. I have posted this in MSDN Forums Visual C# Visual C# General but it seems that no body is interested in this subject or i have posted in the wrong forum. I have used ExeShield to protect my application. ( http://www.exeshield.com/ ) - There is no problem when i try to protect Application writen in C# .NET 1.1 - But when i try to protect Application writen in C# .NET 2.0 i get this error Strong name validation failed for assembly 'c:\lab\xshld875.tmp'. The file may have been tampered with or it was partially signed but not fully signed with the correct private key. Any help on how to disable the Strong Name Validation Kind Regards ...Show All

  • .NET Development IIS defult configure

    Hi, I am a ASP.Net user, and with all of my stupidity I tried to change the IIS configre, didnt backed it up and now I cant find the "Defult" butten, I tried to remove it and add it again but it didnt restarted it. What shot i do Thank you all, Nadav Levintov. I see... you should check the Event Viewer for details on any errors that have occured. That should shed some light on what the problem is :) Also, you may have made changes in the web.config which is stored in your applications web directory. You could rename this file and see if it makes any difference. ...Show All

  • Visual Studio 2008 (Pre-release) What limit my connections?

    I set the maxConnections of my netTcpBinding to 1000, and the behaviorConfiguration of my service is like this: <BEHAVIOR name="SampleServiceBehavior"> <SERVICETHROTTLING maxConcurrentInstances="1000" maxConcurrentSessions="1000" maxConcurrentCalls="1000" /> </BEHAVIOR> In my client, I send 200 requests to my service in 200 threads, In every thread, I create a new proxy to connect to my service. In my service, I make the thread sleep 10 seconds before return the response. for I want to simulate multiple clients call the service to do a long time work in concurrency. But I found that my client can't receive all the responses. And there were some timeout excep ...Show All

©2008 Software Development Network