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

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

merwy

Member List

LankyNibbs
seand_03
EricLa
John~
Betty01
Nate Stewart
Raj0001
aggieben
Lokesh
TheDoctor30306
bob laros
Paul Coddington
dead man
Bertrandkis
ssdfsdfsdfsdfsdf
Catadmin
MikeFrey
Eray
Andreas Hofer
vivi_0606
Only Title

merwy's Q&A profile

  • .NET Development XmlSerializer or custom serialization?

    Hi! I'm currently not sure whether I should use XmlSerializer to save the properties of a class to an xml file or if should just write the file manually with XmlTextWriter. The problem hereby lies in the speed of deserialization. My program will load an undefined number of such files and create instances of the corresponding class at startup. Thus the deserialization operation should take as few time as possible, even if that means writing more code. If I have a class named Employee with the properties Name, Address, Age, and Salary I'd deserialize it with an XmlReader as follows: while (reader.Read()) {     if (reader. ...Show All

  • Visual Studio Express Editions how to import Bookmarks favorites file to treeview

    hi i'm export my favorites links from internet explorer as html file now i want to import this ( html ) file to tree view on my form i can read form this file and get folder name and URL but i cann't make it as tree it's now in on level only i want to read from this file and make tree view in many level can you help me if you want to explanation pls tell me   i'm also search for this code but i have an wxample it's show folder and url in bookmarks , but it's show in one level can any one help me to show in multi levle as tree this is my example http://www.segaaal.com/Read_Bookmark.zip   ...Show All

  • .NET Development Possible to pass System.Type and then cast an Object?

    Im trying to do something like this: public class isthispossible() { Inventory someClass = new Inventory; Type someClassType = someClass.GetType(); someMethod(someClassType); } public someMethod(Type ClassType) { Object someObject = new Object(); someObject = (ClassType)someObject; } I want to pass a System.Type and then cast an object to that type, using that System.Type I passed. Is this possible I keep getting a compilation error saying the ClassType namespace does not exist. Any ideas What effect are you trying to get If you successfully cast t ...Show All

  • Visual Studio Team System How can I run a perfomance test capturing the time taken to an open a document from the application

    Our web application enables the opening of a PDF file in an inline frame. Is it possible to measure the performance of when the document open request is made and when it is completed. Running a number of tests always returns the same results which I assume is just the start of the request as the time does not vary in anyway even though it can take a long time for the PDF to open. Response time will be the amount of time it took to download the PDF file. If you're talking about measuring the length of time Acrobat process the PDF, that isn't possible since web tests work at the HTTP level and don't actually open any files in applications ...Show All

  • Visual C# Unable to update the dependencies of the project

    I have had this error every time I try to check my program into source control after making changes. The project builds and works fine until I check it in and check it back out then it won’t build. I have deleted the setup project and built a new one only to have the same problem after checking it into source control. It also givs me a warning that " Assembly ' FolderName\FileName.exe ' is incorrectly specified as a file. Any suggestions would be helpful. 1. Yes, there is a database project in the solution. 2. If I delete the hierarchy section in the project file I just get the same series of " ERROR ...Show All

  • .NET Development ExecuteNonQuery: Connection property has not been initialized Error

    laptop spec: XP pro Programs using: ASP.NET Web Matrix I am trying to create a webpage using ASP.NET Web Matrix that will accept 2 fields and then upload into the database. This a portion of code I have in C#: <%@ Page Language="C#" Debug="true" %> <%@ import Namespace="System.IO" %> <%@ import Namespace="System.Data.SqlClient" %> <script runat="server"> void Upload(Object s, EventArgs e) { SqlCommand dataCommand = new SqlCommand( "INTERT INTO SongDetails (SongTitle, SongArtist, Song" + "VALUES (@Song ...Show All

  • .NET Development representing XmlElement

    Hi,  I need to represent something like public struct MyStruct {  public string MyProp1;  public string MyProp2; } with the only intent to serialize its data into <a:MyStruct>  <a:MyProp1>...</a:MyProp1>  <a:MyProp2>...</a:MyProp2> </a:MyStruct> I can do it this way using struct or simple class, and providing something like ToString and manually create the xml string. However, wouldn't be better to represent it using some xml classes I was trying to inherit form XmlElement, however its protected constructor prevents me from manually constructing the childs. ...Show All

  • Visual Studio Express Editions Applying the same code to ListBox

    Hi All, I have an array which contains values of the checkboxes that I would like to check in the CheckBoxList. However, when I do a loop only 1 checkbox is checked. Is it a coding error I am using Microsoft Visual Web Developer 2005 Express Edition and am coding in VB.Net. I would really appreciate it if you could help or assist me. Thank you so much. tb_lessons.Text contains a String for eg: 2,3,4 Here is my code: ''====== Retrieve Multiple Values for CheckBox ======= Dim sel As String = tb_lessons.Text Dim myarray As Array myarray = Split(sel, ",") Dim i As Inte ...Show All

  • Visual Studio Express Editions How to disable, and hide a single Tab Page

    I have a problem on my program. I have a Tab Control consist of 3 tab pages. I want to hide or disabled the second tab, How can i do it Please help me:( Hi, There are 2 ways of doing this. 1. If you do it the normal way of disabling thetab page it will disable all the contols on your tab page. e.g: TabPage2.Enabled = False This will render the controls disabled. Also the intellisense does not pick up the .enabled function, but it still works 2. you will have to remove the tab on load or whatever you decide to do. e.g: TabControl1.TabPages.Remove(TabPage2) Rem ...Show All

  • Visual J# Displaying some data

    As a project for academy, I have to import a csv file (xxx,xxx,xxx;yyy,yyy,yyy;...) and a part of the assignment is that we have to display this data, now I would like to know where i can find a good tutorial for using a datagrid without the use of a external database, because the csv file will be splitted in my program. Also helpfull tips are welcome! thanks in advance Hi pieter, Make a datatable object in your code with the splitted values as contents and bind the datatable to your datagrid. hope this hint will help to solve your problem. regards, Raj Thilak ...Show All

  • Visual C++ VC++ Debugging - skip standard library code?

    While stepping through my code in the debugger, can I automatically skip over STL (and other standard library) code If so, how Thanks for the tip. This isn't exactly what I was looking for, but is a useful tip nonetheless. Thanks again, Kevin ...Show All

  • Visual C# SQL Server 2005 at Visual C# 2005 Express Edition Beta

    Does installing the C# Beta together with the included SQL Server 2005 will not affect my existing MSSQL server 2000 installed .  And why I can't connect to the data source when I try to connect from c# to my SQL2000 database Any help is very much appreciated This morning I install the MS SQL server 2005 to try again adding new data source but i can't still connect, this is the error message "FAILED TO GENERATE A USER INSTANCE OF SQL SERVER DUE TO A FAILURE IN STARTING THE PROCESS FOR THE USER INSTANCE. THE CONNECTION WILL BE CLOSED." then again i try it generates another error "UNABLE TO OPEN PHYSICAL FILE C:\PROGRA~1\SQL\myfile ...Show All

  • Visual C# Can this be made more efficient?

    Does anyone know of a better way of doing this   I have been tasked to convert a VB 6.0 app over to C# and encountered this routine (there are more like this).  Luckily the original coder believed in documenting but, I'm having a devil of a time trying to convert this to C# code! I've thought of possibly using a regular expression but I'm not at all familiar with them and so far have gotten hopelessly lost.  Can someone please help   My meager attempt at this is below the VB code.  As you can see, I'm very new with C# and there is an obvious error "Operator '||' cannot be applied to operands of type 'bool' and 'st ...Show All

  • Visual Basic Creating a backup application.

    Hello, I have been tasked with creating a backup application to backup a users "My Document" folder. It has to run when the user logs off of their pc and only copy new files, folders, application to the new directory. I have found information on how to make a copy of a directory but do not know where to turn to for information on how to only copy new data that has changed after the initial copy of the directory. I am also lost as to how to determine when a user logs off of their pc. Any guidance would really be appreciated, Demopro You can write a script utinlizing ntbackup a ...Show All

  • Smart Device Development Screen Is Somehow compressed

    For some reason - on a certain percentage of the devices I am deploying my app to - the datagrid and label controls seem to be squeezed up and compressed into the upper left hand corner of my screen - again, only on some of teh Dell Axim WM 5.0 devices - others it displays fine on - is this a known issue with WM 5.0 or CF 2.0 or should I start to investigate the hardware vendor (dell):   Hi Travis, I will be happy to investigate the issue. I wonder if you have a small piece of codes/application that reproduces the issue and you could send over to me at Anthony.Wong@microsoft.com It would be ...Show All

©2008 Software Development Network