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

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

jhassing

Member List

Seefer
nayob
MrJP
avikhinvasara
MR123
spolsky
Frank Uray
Terrence Chan
Derek Comingore
c699976
jibotang
Landon Parks
Rekar
MMCompton
pkr2000
cisco0407
Tan .NetCF
sl5
RubenPieters
S.Sriram
Only Title

jhassing's Q&A profile

  • SQL Server Obscure error while attempting to install SQL Server 2005 SP1

    I successfully installed SQL Server 2005 SP1 on one PC. When I attempt to install it on a second PC, however, I get the following obscure error: Unexpected Error Occurred The following unexpected error occurred: That's right, there's nothing else listed, other an OK button. D'oh! When I press the OK button, the following error report dialog box appears: Hotfix.exe A recently applied update, NULL, failed to install. There are no pending updates that I'm aware of, as I just booted the PC. I sent the error report. I notice on this particular PC that the SP1 install EXE is expanding/writing to an external SCSI drive; would that make a difference I don't see a way to specify a different (i.e., internal ATA drive). A ...Show All

  • Visual C++ Multiple file extensions

    If I create a C++ project and select 'MFC application', there is a dialog where I can enter the file extension I want to use. If I want to use two different file extensions in my program, for example '.abc' and '.def', then what shall I do   Simon Eriksson wrote: Thanks a lot for helping me! When I create a new MFC project (SDI application), the MFC application wizard displays a number of dialogs. In one dialog, Document Template Strings, there is a field where I can enter the file extension. Is there a way that I can enter two different file extensions in this dialog No, the wizard does not support more than one extension.  You have to implement it manually b ...Show All

  • Windows Forms How does one test for the last node (or leaf) in a TreeView?

    I see the CalcJuntion returns L, T or Root but I do not know what these mean. I try to enter if (e.Node.CalcJuntion) = 'L'{} where 'e' is defined from private void treeView1_NodeMouseClick( object sender, TreeNodeMouseClickEventArgs e) but CalcJuntion is not coming up as an available method for e.Node. How does one test for a leaf or last node Thanks in advance. Klaus ...Show All

  • SQL Server Parent ID in a Slowly Changing Dimension

    Hi There, Just wondering if any of you implemented a (Kimball type 2) dimension structure, in which a ParentID column exists which points to a record from the same dimension table, using a SCD objects in SSIS. The ParentID column would have to be "Historical". The challange here is that you would need to go through the table twice somehow, because if I would do a lookup of the parent record in the first run, I wouldn't be sure if I got the right parent record. Thnx, Jeroen. Indeed no changes are made to the attributes of the child record, unless you consider the ParentID column an attribute of the child record. And updating it will solve it for the current point in time, but as you can ...Show All

  • SQL Server Problem with DateTime and milliseconds (a bug?)

    Hi, I hope someone can help answer this question. I have a report containing two datetime parameters. Both parameters are populated with data from a sql-query. The fields returned from this query are datetime's. Everything works as expected when the fields does not contain any milliseconds, but when I changed this and added some records with milliseconds I get this message "Default value or value provided for the report parameter 'sortSchemeActivated' is not a valid value." I change the records back again so there are no milliseconds and it's working again. So the only ting I can come up with is that dateTime parameters are not compatible with milliseconds. So to be more specific I will start by asking if anyone c ...Show All

  • Visual Studio Team System Branch and Retain History

    When we create a new branch, we would like the history from the original file to be copied to the branch. Is this possible Branch and merge history is always tracked by the system; in fact, you can't turn it off. The only problem is we didn't have time to expose this info from the main UI. Try 'tfpt history' from the PowerToys. ...Show All

  • Visual Studio 2008 (Pre-release) Costumzing/using Costum control in a resource dictionary file

    Hi, I have a Resources.xaml file and in there I have all my styles and templates, but now I need to use a custom control inside a template of an ListBox, I've inserted the namespace but it doesn't seem to work, it complains about "Missing XmlNamespace, Assembly, or ClrNamespace in Mapping instruction. Line '3' Position '21'.". Here's the namespace I've added: < ResourceDictionary xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x = " http://schemas.microsoft.com/winfx/2006/xaml " xmlns:controls = " clr-namespace:Multivector.Slideshow.UI.Controls " >   Is There anything else I need to do Thanks Bruno Silva I have found that one generic.xam ...Show All

  • SQL Server How to create multiple tables on the fly so that every user each has his/her own set of tables?

    Hello all, Being still a relative newcomer to SQL Server (people may say I'm trying to take on too much being somewhat inexperienced once they read about the problem I'm trying to tackle, but alas...) I'm running into the following problem: I need to create tables in my user database on the fly (using Stored Procedures) so that each table can be created many times in the database but only once for every user. The tables should be named something like "username.Table1", "username.Table2" etc. as opposed to "dbo.Table1". I then want to use the stored procedure from .NET/C# in my web application, so that i can create the complete set of usertables for each of my clients. Now, I tackled the stored procedure ...Show All

  • .NET Development Serialization Question

    I have a question on serialization that web services do. I have created an object that serializes fine over a web service call, but I have noticed some things and want to know what is up. It appears that functions of my object do not go with to the client, is this supposed to happen It appears properties don't serialize unless they have both a get and a set Am I going crazy or is this just how things are The only members of your object that will be serialized are those needed to deserialize the object and recreate a copy with the same instance data elsewhere. Since the member functions aren't needed to do this they aren't serialized. Same goes for read-only properties, since there's no wa ...Show All

  • Windows Forms How dos tooltip works

    Hi Noamlly i use msgbox to tell something about the field the user shall write somethning about in Can i use tolltip her Or something else Alvin not sure I follow. If I understand correctly, you wish to set tooltip text for a control, such as a textbox, to notify the user on what they need to type/helpful hints correct if so then try this: in the textbox mouseHover event, create a tooltip which will show the tooltip on the textbox. So once this event has been implemented then use the tooltip object to show the tooltip text: Dim theToolTip as new ToolTip() theToolTip.SetToolTip(Me.theTextBox, " your tooltip text here ") does this help ...Show All

  • Visual FoxPro Backup Options for newbie to VFP9

    Can someone please advise me on how to perform backups to either a CD or a memory stick from a menu choice Referring to a previous thread re the zip libraries, how would I call these libraries then actually perform the physical backup to the CD or memory stick The users want VFP9 to completely run this routine for them without any intervention except either inserting a CD or placing the memory stick in the USB. Previously, the 2.6 app used the run pkzip then copied the file to a disk drive. Thanks Sammy32 You can use an external ZIP library. Generally using an ActiveX or DLL that does the ZIP seamlessly is a better idea. I use DynaZip (See http://fox.wikis.com/wc.dll Wiki~DynaZip ...Show All

  • Visual Studio 2008 (Pre-release) WCF and application design

    Hello All, I'm looking for some design guidance about WCF. I want to build an application where my business objects live in one process (the server). I want to be able to attach arbitrary UI’s (or interested parties) to this process to display information about the business objects, as well as manipulate them. These UI’s could live on the same machine, or on other machines. I would like provide a uniform interface to these UI’s regardless of where they live (same machine or other machines). It seems like this is an ideal circumstance to use WCF (based on the whitepapers on WCF), but once I started playing with the June CTP I began to wonder if WCF would be the approach Microsoft had in mind for this situation. ...Show All

  • Visual Studio Express Editions coding help

    Public Class Form1 Dim ans As String Public Sub Form1_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load 'whatever is in here will be executed when you start the program' End Sub Public Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click 'whatever is in here will be executed when you press the button 1' test() 'this gives me "test is type and cannot be used as expression" ans = InputBox( " thats it" ) End Sub Public Sub Button2_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click End Sub End Cla ...Show All

  • Windows Forms how do i draw lines on a Panel?!

    I want to create somthing like a note book.. im using panels.. but how can i draw lines on the panel it self ! thnx Use the Graphics class. This one has got lots of methods , and many of them are for drawing... Graphics panelGraphics = panelPaint.CreateGrapchics(); panelGraphics.DrawLine( new Pen ( Color .Black), 0, 0, Width, Height ); panelGraphics.Dispose(); ...Show All

  • Visual Basic How to convert floating point number to hexadecimal representation

    I am new VIsual Basic and need to learn how to convert a floating point number, declared as a single, to its internal hexadecimal representation (IEEE 754 32-bit representation). The hexadecimal number will then be transmitted across RS-232 to another controller which interprets the 32-bit hexadecimal data as single precision floating point. As an example Global float_input as Single float_input = 2.5 desired hexadecimal output = &H 40200000 Check out http://msdn2.microsoft.com/en-us/library/yhwsaf3w.aspx for some additional info that you may find useful... Best regards, Johan Stenberg ...Show All

©2008 Software Development Network