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

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

doobey

Member List

Clabab
laurence
spazman
sraddhan
Kazius
Greg Enslow
Jimvh28
Eamorr
naveen73
DongL
juszuf
Gwapo Joe
Bob Vera
michelangelot
GoranB
desifunde
Markish
Shawnee1111
Nanda Motikane
Delly
Only Title

doobey's Q&A profile

  • Visual C++ Owner drawn CListCtrl items too spaced out on Win2K (picture).

    Hello all, my owner-drawn CListCtrl is having problem on Win2K system, its items are too spaced out only on Windows 2000. This is not happening on Windows XP systems. Please take a look at the following image: http://psychopotato.com/temporary/clistctrl.png It might be due to the different behaviors of MFC controls on these different operating systems. Will I be able to override this behavior and make them look the same I have tried to intercept and process LVM_GETITEMRECT and LVM_GETITEMSPACING (I'm deriving a class from CListCtrl ) but they did not help. Is there anything else I'm lacking Thanks in advance for any help! Regards, Ben. ...Show All

  • Visual Studio Team System Create new file, Exclude file, Include File = Error

    Created new Web Site project. Added solution to source control. Created new file Default1.aspx. Excluded new file from project. Included Default1.aspx file. This is the error I get: The item c:\Inetpub\wwwroot\registration\Default1.aspx.exclude was not renamed in the source control database because there is already an item with this name in the destination folder. This scenario has been fixed and will not result in an error in the upcoming release. When you exclude Default1.aspx, a pending rename to Default1.aspx.exclude is created. When you include it back, VS attempts to pend a rename to Default1.aspx. This re ...Show All

  • Visual Studio Qt and Visual Studio .NET 2003

    Hey all!  Wondering if anyone has installed Qt 4.0.0 on their computer with Visual Studio.  I'm curious as to how I can get Qt working with VS.  Qt is supposed to fully support Visual Studio, but I'm unsure on how to get it working.  I've gone through some tutorials, and the code isn't recognized.  The dependencies don't show up under references either.  So I'm curious as to see how others put Qt on their machine to get it working with Visual Studio....if there is anyone who has done this. Mike If you are talking about Qt# then you probably will want to talk with the SourceForge guys . If you are talking ...Show All

  • SQL Server RDA Pull with existing table

    Hi Forum, I am currently implementing RDA Pulls and Pushes. Both worked fine for me, except when I try to pull a certain table twice. I read that in order to pull the table a second time I must drop it on the client. My original approach was to use a select statement with a where criterium in the pull statement (e.g. SELECT * from tblPhonebook where Pulled = 0), then set Pulled to 1 and pull again later. My understanding of RDA was that I use the where criterium to filter the data at the server side and simply append that data at the client side. Can I simply append data in some way or do I really have to drop the table on the client side ev ...Show All

  • SQL Server RS2000 on multiple websites, customize look and feel, turn off admin

    I'm brand new to SSRS and just installed RS2000. I have seen numerous posts/articles about how to set up RS2000 on the non-default website, but haven't been able to figure out if you can install it on multiple websites on the same server. Here's my situation: we have multiple clients who run our software on the same server. Each client has their own db and their own website in IIS. I'd like to provide each client with access to reports through their own website that report on their own database. Is this possible at all From what I'm finding, I don't think it is (it seems SSRS can only be installed on one site), but figured I would ask t ...Show All

  • Visual Basic Code for letting the user change the color and font for whole application

    I am making a application program in vb.net 2005. I want the user to select the font and the color which he/she wants for the application. Once the user select the color changes should occur to the whole application. or if possible the list come from the display property and user can select from scheme which is in apperance. Please help....... Hi Puneet Create one Labelfont variable with global access. Public lblAppFont As New Label Whenever user changing somesetting update the changes into the font variable. lblAppFont.Font = New System.Drawing.Font( "Arial" , 9.75!, System.Drawing.FontStyle.Bold, System.D ...Show All

  • .NET Development Inherit a class by a class that should be marchal be reference

    Hi! I think this is a simple question for those that have been working with remoting for some time. And somehow, I believe the answer will be simply 'NO' . Is it possible to have a class that is marshal by reference and also inherits another class, other than MarshalByRefObject I guess that if that other class inherits MarshalByRefObject, this would do the job. But what if that other class is not mine, let's say... a system class. For instance, can I have a class that inherits the Generic.Dictionary and be marshal by reference a the same time This would be a solution to some cases, where I have access to ...Show All

  • Visual Studio Team System TFS Error Branching... SQL Error 8152 ...String or binary data would be truncated...

    I've put about 5GB worth of data into TFS. Had problems with some paths exceeding the 260 character path limit of the windows shell & #define's etc. (I think NTFS has a 4k limit on paths or something...) Anyway, managed to remove offending directories during check-in, & all was fine. At some point, I did a branch & all was fine. Earlier today, I went to do another branch & it complained about: SQL Error 8152 ...String or binary data would be truncated... etc.!!! I suspect the path names being too long, but this is silly if that's the case. It let me put the files in there in the first place, why Can't ...Show All

  • Visual C# Try Catch Finally

    Hi Does Try,Catch,Finally block slow down application's performance Why Where I can find the documentations or EBook about C# 2.0 Thanks. Yes, it absolutely slows it down. You should not use it to control program flow, only to catch exceptional circumstances, such as errors. amazon.com has plenty of books on C# 2.0, some of the Microsoft published ones are terrific. ...Show All

  • SQL Server Wrong digits in float SQL 2000 field.

    Hello, i'm having troubles while selecting fields that are FLOAT type. If I make a select from Query Analyzer, I see my data OK, but if I make a cursor, fetch the data and put into a float variable, then I get only the three first decimal digits of the data and rounded. Example: DATA IN TABLE:  1.2034999999 In select: shows the same In Cursor / Float variable: 1.204 In Cursor / Numeric (18,4) variable: 1.2040 I tried with CAST and CONVERT too. Where are my digits Thanks. Float is an approximate data type so not all values can be represented accurately. This might result in values being rounded up according to the IEEE 754 spec wh ...Show All

  • Visual Studio Team System Warning CA1822 : Microsoft.Performance :

    The Error: Warning 1 CA1822 : Microsoft.Performance : The 'this' parameter (or 'Me' in VB) of ActivateFormClass.CheckActiveMidChild(Form):Void is never used. Mark the member as static (or Shared in VB) or use 'this'/'Me' in the method body or at least one property accessor, if appropriate. C:\Documents and Settings\joe\My Documents\Visual Studio 2005\Projects\BMC_2005\BMC_2005\Components\ActivateFormClass.vb 15 Bmc2006 The Code: 'Check to see if form is open already if so bring it to the front *** Public Sub CheckActiveMidChild( ByVal formCheck As Form) Dim frmMdiParent As Form = BMCForm ...Show All

  • SQL Server ODBC connection for client application to SQL Server 2005 Express installed on network computer

    Hi All, I've developed an application that connects to a SQL Server 2005 Express database. I created a DSN to connect to the database through ODBC. Currently, I am testing locally and everything works fine. I would now like to install my application on another workstation and connect remotely to the database located on my development machine. The client workstation does not have SQL Server 2005 Express installed on it because I would just like my application to connect remotely by creating the DSN and using ODBC. What I'm missing here are the database drivers. The "SQL Natice Client" is not available on this client workstation. Ho ...Show All

  • .NET Development problem with TimeStamp fields while converting to xml

    Hi,       I am passing datset diffgram to my stored proc which uses openxml to read the diffgram and update the database. every thing works fine expcept time stamp field. I am sending time stamp field in the diffgram and I want to compare this timestamp field with the existing time stamp in the DB. but this comparison is always returning false even though i send same value. here is my stored proc snippet:  update publishers set pub_id= pub_id1 ,pub_name=pub_name1,city=city1,state=state1,country=country1  FROM OpenXML(@iDoc,         '/diffgr:diffgram/NewDataSet/Table', 2) ...Show All

  • SQL Server Problems with remote SQL 2005 server and excel as an input source

    Hello, I am trying to write my first couple Integration Services packages using SQL 2005.  My configuration is a workstation running windows xp professional, and a windows 2003 server that is running the SQL server. Anytime I run a package that accesses the remote server from my workstation, the job fails with an error code.  The workstation cannot seem to run a package to load data to the remote sql server.  Why is this   Is there a service pack, or hotfix coming out soon to correct this problem Additionally, I also seem to be unable to update a database using excel as the data source from which information ...Show All

  • Visual C# if..then..else

    protected void Button1_Click( object sender, EventArgs e) {         if  (DetailsView1.Visible == false ) then;         Button1.Text = "Update" ;         DetailsView1.Visible = true ;         else ;         Button1.Text = "New" ;         DetailsView1.Visible = false ;         End if ; } Hi there! I am a hobby code writer. I am new to C# ...Show All

©2008 Software Development Network