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

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

SenPluto

Member List

lorddog
frindim
AboOmar
Carl-Otto
Sébastien Nunes
Duckocide
Bulldog.NET
Roger Jennings
Pigyman
InquiringMinds
Omar Fawzi
Pierre Leclerc
Keith Chapman
Nanja Raje Urs
AtulSharma
PricklyPear
Susand
Ashok Kumar MVN
LutherW
dr.acv
Only Title

SenPluto's Q&A profile

  • .NET Development Dataset to Xml file with sub nodes

    Hi, I am trying to write an XML File in the following format <xml> <Person> <Name> <FName>John</FName <LName>Philip</LName> </Name> <Address> <Blk></Blk> <Unit></Unit> </Address> <Sex>Male</Sex> <Age>33</Age> </Person> <Person> <Name> <FName></FName> <LName></LName> </Name> <Address> <Blk></Blk> <Unit></Unit> </Address> <Sex></Sex> <Age></Age> </Person> </xml> I have a dataset (dataset schema) with multiple tables. Table 1 with Person information, Table 2 with Name information, and Table 3 wit ...Show All

  • Visual C++ Decimal Mistery

    Hi, My name is Angel Delgado, I have a problem with this operation: 16.88 - 15.88 The resutl is 0,999999999999998 I have tested it in VB6, VB 2005 and C++ 2005. Also I have tested it in diferents computers. Which the mystery is r9r99 wrote: I have a problem with this operation: 16.88 - 15.88 The resutl is 0,999999999999998 In addition to what others have said, I would recommend using the Decimal class for such operations. As in Decimal a(16.88); Decimal b(15.88); MessageBox::Show(Decimal::Subtract(a , b).ToString()); ...Show All

  • Visual Studio 2008 (Pre-release) Cann't Find System.Data.SqlServerCe reference for windows application ?

    Hi i have the following problem : i attempted to connect with a SQLServerCE DataBase to Insert and update its rows, but i noticed that i want the reference : System.Data.SqlServerCe i went to (Add references) but i didn't find it .. what should i do to break this problem please help me ! If you are trying to target a SQL Everywhere database on your desktop then you need to install the SQL Everywhere CTP at http://www.microsoft.com/sql/ctp_sqlserver2005everywhereedition.mspx . If you are trying to target an instance of SQL Mobile running on a device then you need to make sure you installed the support to target devices when you set up VS and you should search your system for the system.data.sqlser ...Show All

  • Visual Studio Express Editions RegistryKey return null if cant find

    I got truble with regkeys. i got an app that ready few RegKeys in the machine. but if the keys dont exist in the machine will pop up that .NET error hendaler message... i don't want to see that message if the key is missing i want to do someting else like show text..thats my code.... catch the exception and handle it. That is what try catch blocks are for :-) try { //do your opening here } catch (Exception ex) { MessageBox.Show("There was an error"); } be sure to catch the specific exception than a general exception. ...Show All

  • Visual Basic LSet equivalent in .NET

    I'm upgrading an application from VB 6 to VB.NET. Is there any equivalent for LSet in .NET for UDTs Else any work arounds Here's the code: LSet Status = StatusMsg Status is of Type Status_Msg StatusMsg is of Type Status_Msg_Type Structure STATUS_MSG_TYPE <VBFixedString(2), System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.ByValTStr, SizeConst:=2)> Public nSYSTEM_ID As String <VBFixedString(8), System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.ByValTStr, SizeConst:=8)> Public sDATE_SENT As String <VBFixedString(6), System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.ByValTStr, S ...Show All

  • Windows Live Developer Forums WPF (Sparkle) overlays in 3D virtual earth

    Ultimately, we would like to be able to go way beyond simple polyline overlays on maps. I.e. we would like to be able to bring the full power of WPF interactive (sparkle) animated graphic embedded in the 3D space of Virtual Earth. (all geo-located). In addition we would love to be able to download all textures and tiles for a region and work off-line. Of course, this is not possbile yet, But how close are things and what can we fake or mock up to get close to this 1. Can we host the control in a WPF application (outside of IE ) 2. Can we find out the camera vector and bounds of the display region 3. Can we get events and updates when the camer shifts 4. If so we might be able to apply our own 3D overlays on top of the map ...Show All

  • Visual Studio Express Editions How??

    How can i generate those numbers Example: I create a textbox1 and i create a button1 And i want to show this numbers: 1234 and 123456 and 123456789 If you click button1 and button1 show this number in textbox1: This:1234, if you click again button1 show this: 123456 but if you click again button1 show this number: 123456789 how :: In Visual Basic 2005 Express Edition :: Please post the code ! To add a 'clear' only to a click, (between numbers): Public Class Form1 Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Static x As Integer = 0 Select Case x Case 0 : TextBox1.Text = "1234" Case 1 : TextBox1.Text = & ...Show All

  • .NET Development Error while unloading appdomain. (Exception from HRESULT: 0x80131015)

    Hi, I am using Wiasrc.dll component for displaying a selecting dialog box on user machine.Its web base project.It runs fine in vs2005 which use built-in web server.But when i run on IIS. It give a following error after 5 to 10. Error while unloading appdomain. (Exception from HRESULT: 0x80131015) System.CannotUnloadAppDomainException was unhandled Message="Error while unloading appdomain. (Exception from HRESULT: 0x80131015)" Source="mscorlib" StackTrace: at System.AppDomain.Unload(AppDomain domain) at System.Web.HttpRuntime.ReleaseResourcesAndUnloadAppDomain(Object state) at System.Threading._ThreadPoolWaitCallback.WaitCallback_Context(Object state) at System.Threading.ExecutionContext.Run(E ...Show All

  • Visual C# Using the IS operator in a FOREACH loop

    I am either not understanding how the IS operator works or how the FOREACH loop works. I found some C# code that creates 1 object of 4 different derived classes (see code below). Those 4 objects are assigned to variables of an array of the "base class" type. A FOREACH is used to iterate the array. The FOREACH variable is the "base class" type also. In the FOREACH loop, the IS operator is used to find the object that is specifically one of the four derived types. Here is my question... Since the FOREACH variable is a "base class" type how can the IS ever evaluate to true since the type it is being compared to is a "derived class" type What am I missing Given: Class Employee - An abstract ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. DirectX Questions... Problems with .lib and ddraw.h

    Hi, ... ... ... I use the Visual Studio 2005 Standard Edition, Visual C++ 2005... I've done some Windows programming and been using the GDI to make some graphics so far, it works well... But can anybody tell me how to Clear the screen after using the GDIs to draw some polygons... You see, the screen then becomes full of polygons, and that's what was wanted, but then, finally, how about Clearing the Screen completely and then start to draw some other, say, triangles instead... So, What is the exact Command to Clear that Window that the polygons were drawn in... ... ... ... OK, Now, here's the problems... I've finally started to get into Direct3D and DirectX... So, I've read and Understood all the materials about how to creat ...Show All

  • Visual Studio 2008 (Pre-release) Authorization in a WCF Client

    Hi, How can I include a Password and User for the Web Service Server into my WCF Client Project. I want add a authorization into the http header. Here is my config file: < xml version = " 1.0 " encoding = " utf-8 " > < configuration > < system.serviceModel > < bindings > < basicHttpBinding > < binding name = " CustomerSimpleByNameAndAddressQueryResponse_InSoapBinding " closeTimeout = " 00:01:00 " openTimeout = " 00:01:00 " receiveTimeout = " 00:10:00 " sendTimeout = " 00:01:00 " allowCookies = " false " bypassProxyOnLocal = " false " hostNameComparisonMode = " StrongWildcard " m ...Show All

  • Visual Studio 2008 (Pre-release) Automatic scroll event get

    Hi, I want to make an application in WPF.When this application runs, two windows should be opened. Scrollbar of second window automatically scrolls when I click on button in first window.If anybody knows how to do that then reply me as soon as possible. Thanks, Pavan   ...Show All

  • Windows Forms using CMD.exe in form

    I am trying to use a CMD command line inside a form. i just need to execute the net session command line and have the result displayed in a form... I can achieve this via referencing a batch file then calling system.process.start but this is not what i would like to do. if there is any way i can address cmd.exe commands correctly then that would be great. thanks try this: System.Diagnostics.Process.Start("net", "session"); I hop this will work fine as you are expecting! Best Regards, Rizwan ...Show All

  • Windows Forms Two active forms

    Hi! I'm developing an application which needs 2 active forms at the same time - something like Photoshop with af form at top of the screen (the mainform) with a menu and a toolbar which can open different childforms. What I wan't is to have the mainform and one of the childforms to be active at the same time so that I can activate the menues and toolbar of the mainform with just a single mouseclick and shortcut keys from the keyboard while a childform is active. I don't wan't to use a MDI form and childforms. When I open a childform I add it as a OwnedForm to the mainform. Is there a way to have 2 forms active at the same time Thanks! Brian Isn't there anyone who can help me with this s ...Show All

  • .NET Development save not working ...... please help

    Hi Everybody, I am writing an application using the bindingnavigator and the oledbDataAdapter. I am not able to save the changes to the actual access database. Please help me. The code follows. What do I mean when I say that I am not able to save the changes I mean that they are not reflected in the database when I reopen it. Does an error occur No error occurs. If not then how am I determining that the save operation didn't work No changes are reflected in the database. What value does Update return It returns zero. So, there might be a problem with the update function. I am binding the richtext box with the bindingsource. And the bindingsource is the datatable. Are the values in the datatable automatically updates when I chan ...Show All

©2008 Software Development Network