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

Software Development Network >> Todd.Net's Q&A profile

Todd.Net

Member List

saileshdev
Ian Thomas
nils_gate
Adam007x
GuiCai
jetx
Sanjoy Debnath
Brunosdd
John Seal
jwagner20
Ahmet Gurcan
matley
Scott VanDelinder
SteveTheFiend
Tom Le-Rademacher
PoZZyX
AleksandrKostick
Computing student
Bayeux
Sethu
Only Title

Todd.Net's Q&A profile

  • Visual Basic Using Application framework, but having main form in another Library DLL

    Our application we have now has it's main form in a library file (DLL) along with the majority of other forms in the app. It is like this because of the system we implemented for a plug-in loader and such, so we have the EXE used as kind of a bootloader that loads resources from the app's main DLL and executes those. However, the application framework seems to only let you specify a main form from the exe. It doesn't let you use the applicationstartup event at all to instanciate the main form. What can I do about this I'd really like to use the new app framework's events in the loader app along with the splash screen system.   ...Show All

  • Windows Forms type mismatch spinner value and textbox in VS 2005 Beta2 and SQL Server 2005 Beta

    I'm trying to multiply a value from an updown spinner by a value in a textbox and put the result in another textbox.  Seems simple enough, but I can't get it to work. I'm using C# in VS version 2.0.5215 from the Beta2 install and the 9.0.1116 version of SQL server 2005. (Microsoft Visual C# 2005 55603-000-0000016-00189) The data in the textbox is stored in the db as an integer and is formatted in my windows forms app (in VS) as numeric. The code I used is this: TextBox2 = numericUpDown.Value * TextBox1.Text; There is a type mismatch between Value and Text There is no Value property for the TextBox1. Is there a way to cas ...Show All

  • .NET Development .NET XML Serialization Question

    Hi Folks I'm running .NET 1.1. I've a quick question regarding xml serialization: Is it possible to flag properties with an attribute to specify "Always Serialize". Especially read only properties. Explanation: I am using xml serialization to produce xml from objects for consumption by my frontend, which is displayed via javascript and xslt. I obviously would like all my public properties to pull through in the xml. They don't seem to unless they are declared read-write and have actually been modified in the object. I don't want to have to write a custom implementation of IXMLSerializable to do the work as that d ...Show All

  • .NET Development Problem altering DBF table thru C#.NET

    Dear Members, I am a newbie in GIS field , Access & SQL databases canbe altered easily but when I am altering a DBF file its format gets corrupted .Plz help me in this regard.My code snippet is public void Alter_table() { try { string strConnect; strConnect="User ID=;DSN=;Collating Sequence=MACHINE;Data Source='d:\';Provider=VFPOLEDB.1;Cache Authentication=False;Mask Password=False;persist security info=False;Mode=Share Exclusive;Extended Properties=;Encrypt Password=False"; OleDbConnection dconn= new OleDbConnection(); dconn.ConnectionString = strConnect; dconn.Open(); OleD ...Show All

  • SQL Server Replication Deadlocks

    Hi All, I need to get some assistance with some replication deadlocks im getting. We have two servers, which push information between each other, which I have a hunch could be a cause. Basically I keep getting the 'Agent Retry' Alert from SQL: DESCRIPTION: Error: 14152, Severity: 10, State: 1 Replication-Replication Distribution Subsystem: agent SQ01-EMS-SQ02\UK-183 scheduled for retry. Transaction (Process ID 68) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction. When doing some googleing, I found the Trace Flags and setup flags 1204 and 1205, but they dont give me ...Show All

  • SQL Server T-SQL Select Statement executed inside the Visual Studio 2005 Environment returns -1 for the "True" Values of the bit fields

    T-SQL Select Statement executed inside the Visual Studio 2005 Environment returns -1 for the "True" Values of the bit fields of any table. The database is SQL Server 2005. When I execute it inside the SQL Server management Studio I receieve 1 for the "true" values.   I think this is a bug. Hello, I have added "Database Project" to my solution, so I want to be able to execute some statements without starting the SQL Server Management Studio. I have added some scripts to the project and all of them work well. ...Show All

  • Windows Forms Windows Form w/Internet Explorer

    Has something changed between .Net Framework 1.1 and 2.0 concerning the ability to use Windows forms in IE. In 1.1 I wrote a class library and then used it via the <OBJECT> tag in IE. I could access the public methods and properties of the DLL via javascript as well as using the <PARAM> tag. I wrote the same DLL in 2.0 and now I can only use the <PARAM> tag to access properties and methods, not javascript. For instance my class library has a property, LabelText, that modifies the text of a Windows Form Label hosted in IE. Assuming my <OBJECT> tag has an id of myObject I could modify the text by the following BLOCKED S ...Show All

  • .NET Development Int32 - how related to ValueType?

    Hi! I am looking at System.Int32, for example, and don't understand how it's related to System.ValueType . Can someone explain how ValueTypes are implemented as structs in some detail, or refer me to a good explanation on the Web Thx, Jess C# Online.NET http://www.csharp-online.net/ the answer is in the object browser. if your going to search for INT32 you'l see that one of its base class is ValueType. CTRL + W + J = Object Browser (VS2005) ...Show All

  • Visual Basic searching in datagridview using textbox

    I had a datagridview which contains all the last name of a certain database.the data was displaying properly .I want to accomplished two tasks,first I want it that upon loading on the datagrid, data are sorted alphabetically already even without pressing the column header.Second I want to search the datagrid using a text box. I want like an autocomplete manner, if I type a single letter, say "B", the datagridcolumn will automatically point to the the name say "Bal" and so on...thanks once again. Here is what I would recommend: Bind your DataGridView to a DataView (instead of a Dat ...Show All

  • Smart Device Development Unable to deploy to Pocket PC

    I've been trying to deploy a pocket pc 2003 application (compact framework 2.0) to a device using VS 2005.  I can get a successful build but when I go to deploy I get the following error message "The operation could not be completed".  The output from VS then shows "Deploy: 0 succeeded, 0 failed, 1 skipped".  I can connect to the device from the VS connect to device menu.  I have installed: ActiveSync 4.0 Windows Mobile 5.0 Pocket PC SDK DMA Transport update Smart Device Project November CTP Has anyone had this same problem and if you did were you able to fix it There were some probl ...Show All

  • Visual Basic Can it show that?

    Hello, can i find out, if the Internet Explorer can show a File from the file extension For example: My String Path="C:\Documents\my.exe" This file cannot be shown in Internet Explorer. Now i want, that the String Accept="No" The answer to the core quesion is "no". Here is a quote from a MS Security Bulletin : "No. Internet Explorer does not determine file types by the file name extensions that they use." IE will attempt to open a file and look for things it recognizes (such as MIME type data). I think the best you can do is to create your ow ...Show All

  • Visual Studio Express Editions Color Gradients on Buttons

    Hello. I am wondering if there is any way to put two different colors on a single button control Similar to the "fill effects" in the Microsoft Office Suite - I would like to put one color on the top of the control and one on the bottom and have it form a gradient from one color to the next. There is somewhat of a gradient on the button when you put it on, but the gradient is not apparent when "running" the program. Also, is there any way to change the gradient slopes Once again - similar to the Office Suite, I would like to be able to have the gradient be horizontal, vertical, diagonal, etc. Thank you very much. ...Show All

  • Visual Studio 2008 (Pre-release) Controlling nillable

    Hi. I'm writing a webservice with WCF. The webserce will be used from a Powerbuilder (Powerbuilder Script) client. Here some limitations apply. With a class like this [ DataContract ()] public class Entity { [ DataMember ()] public int AnInt { get { ... } set { ... } } [ DataMember ()] public int ANullableInt { ... I get a schema like this: - < xs:complexType name =" Entity " > - < xs:sequence > < xs:element minOccurs =" 0 " name =" ANull ...Show All

  • Visual Studio Team System Continuous project checkout

    I'm experiencing a rather frustrating problem with a few projects that are being automatically checked out every time I access any solutions which reference said project.  I get a specific message each time it occurs: "There appears to be a discrepancy between the solution's source control information about some project(s) and the information in the project file(s). To resolve this discrepancy it will be necessary to check out the project file(s) and update them. If the check out fails, however, and the solution is closed without saving, you will see this warning again the next time you open the solution." It forces a checkout, no matt ...Show All

  • Visual Studio Team System Can't Install TFS RC on a Domain Controller???

    We can no longer install TFS (RC) on a domain controller This worked in earlier betas and CTP versions. But now I'm told with the installer that this is not a supported configuration, yet the installation guide talks about installing on a DC. I wasted all this time setting up the DC system and get to the point of running TFS install and am told I can no longer do this I've seen Microsoft respondents in the past indicate that you can install on a DC in these forums. What is going on here This is annoying. Due to the issues involved in installing and setting up TFS to work on a Domain Controller, we ...Show All

©2008 Software Development Network