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

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

DD100

Member List

PetBel
Lazarus Islo
Jonas L
Richard Morgan
quemi
rebelR
Paurav Chudasama
C4jun
Liam404
Drake Dok
James Nachbar
Mattias Sjogren
The Triggerman
Fabricio Voznika [MSFT]
Srivatsn
dcy07
Rob Plates
arindam_
Joao Santa Barbara
astubble
Only Title

DD100's Q&A profile

  • Windows Forms Hide column if no data present in row

    I have a datagrid which I am using a DataGridTableStyle to format. I'd like to hide a column completely if there is no data for that row.  Is that possible For example: Col1  Col2  d       d shows both columns Col1  Col2  d      <NULL> only shows column 1 Thanks, Dawn Hi, You could set the width of that column&nb ...Show All

  • .NET Development How do I know which class has created this particular instance of an object?

    Hi all, I wanted to know whether in .net we can get to know which class has created the current instance of an object, inside that object's methods. For eg. If I have class1, class2, and class3, and class1 and class2 create an instance of class3 in one of their methods, then can I get the info as to which class and method created this particular instance of Class3 (with which I'm working) inside a method in Class3 If yes, then how And Can I also get to know which function has invoked the function being executed inside class3' object, irrespective of whether it was called from Class1, class2 or Class3 I have tried going throu ...Show All

  • Visual Basic Textbox Reading

    Hi All, i have a problem with a certain little textbox which i cant seem to get working again , i wish to read everything in a textbox before a certain character , in this case a space how would i get this done where a button is pressed and it will display only the characters before the space into another texbox eg text1 = "John Smith" where as i would like text2 = "John" since the next character was a space .. many thanks this is in VB6 (just in case) Rob I'm not sure about VB6 details, but here is something that must be close to it: dim s as string dim spacePos a ...Show All

  • .NET Development ODBC can't connect to SQL Express

    Hello there, I'm trying to use the SQL Express via ODBC but the system keeps failing... and the SQL server is local. In SQL Server ODBC Source Test: [Microsoft] [SQL Native Client] TCP Provider: No connection cloub be made because the target machine actively refuse it. Thanks Ricardo Ricardo, With SQL Server (9.0) Express edition, TCP is disabled by default. You will need to enable it, to use it using SQL Server Surface Area Configuration (which can be found at Start - All Programs - Microsoft SQL Server - Configuration Tools - SQL Server Surface Area Configuration) Thanks, Sushil. ...Show All

  • Windows Forms IsReproducing or IsIncubating

    What's the difference between these 2 methods My critter isn't reproducing (or is reproducing VERY rarely), and I can't figure out why. Once "IsMature", and "CanReproduce", it "BeginReproduction"s, but it never (or almost never) gets the reproductionComplete event.  Are there activities which stop reproduction and/or incubation   Is it just a certain energy state&nb ...Show All

  • Visual C# GMT to BAH time

    I have an ready-made application which saves which saves all times in GMT format in the SQL Server and i need to get the time in my application in my time.. for example, if a call made on 15:30:25 it will be save in the database as 12:30:25 but i need to read it again as 15:30:25. My time is usually +3 GMT but is it a good way to just say +3 or maybe GMT has a different times in Summer or winter I am not sure.. Hi there, I believe that you are better off not just saying +3 hours because, as you have hinted at in your post, there are considerations such as daylight savings which will impact on the hour differential from GMT ...Show All

  • SQL Server inserting date through "insert" query-urgently

    when i add a date(Like 15/8/2005) through insert query it adds date as "1/1/1900" which make troubles for me. so please tell me that solution   Creative wrote: i am executing this query from "Query Analyzer" of SQL Server 2000 Why are you posting on a SSIS newsgroup then  Is SSIS involved at all Did you try Evan's suggestion of putting apostophes around the date -Jamie ...Show All

  • Windows Forms How to manage globalization of DataTime control?

    I am developing a globalized application in which the language of the UI follow the CultureInfo of the current thread. However, I found that the language of the DateTime Control depend on the language of Windows rather than the current thread.  How can I fix it string sCurrentDate = DateTime .Now.ToString("yyyy-MM-dd hh:mm:ss", CultureInfo .CurrentCulture); ...Show All

  • Visual J# Simple Echo Server

    I am using Visual J# 2005 Express Beta 2 to create a simple echo server. I have created the form and design and able am able to launch the program. I have created a RichTextbox to display the connections and 'echo's. The problem is when after starting the echo server by clicking on a button, the program stops responding. But the echo server is running in the background because I am able to connect to the echo server (localhost/port with telnet) and am able to "echo" messages. After the the telnet connection to the Echo Server is closed, the Echo server program starts responding and displays all the messages in the RichTex ...Show All

  • Windows Forms Suprising performance increase

    Hello, I recently stumbled across a huge performance difference involving writing out a large hash table to a file.  The hashtable is holding a very simple object called Token, that holds a string value called token and a couple counters.  ToString() is overriden for the object to return: tokenstring [space] counter1 [space] counter2 If I iterate through the va ...Show All

  • Visual Basic how to make enter on text box fire click event on the btn next to it?

    Hi, All. I have this code and couple more variations, but none of them work. Thanks! If sender.KeyCode = Keys.Enter Then If txtCriteria.Text <> "" Then RaiseEvent btnGo.Click() 'or SendKeys.Send("{TAB}") End If The best method is to place the code that the button click event executes in a separate sub and then call that from both places. (Watch for typos) Public Sub Button1_Click(...) doSomething() End Sub Private Sub doSomething() 'code to do something here End Sub Public Sub TextBox1_KeyDown(...) If sender.KeyC ...Show All

  • Smart Device Development Drawing Graphic Images using .NET CF 2.0

    If I have an EMF (vector) image in a memory stream and want to overlay it on top of a bitmap what alternative do I have besides ImageAttributes   Using the SetColorKey method doesn't appear to work because I don't know the pixel location or shape of the vector image beforehand.  Is there a way to do this in a Pocket PC 2003 application without having to resort to unmanaged native C++ (CDC, CompatibleBitmap, HBitmap, etc.) .NETCF does not have support for EMF images. You will likely need to resort to native code to render the image into a bitmap and then (in managed code if you like) overlay that b ...Show All

  • Visual Basic setup - custom dialog

    I have a setup project that I put a check box dialog before the installation 'progress'. With 2 check boxes that are: Desktop Icon, and Quick Launch Icon. So how do I check if a check box is selected so then I can place an icon-shortcut on the Desktop and/or Quick Launch Unfortunately, Windows Installer doesn't provide any way to conditionalize a shortcut. However, if you conditionalize the file it points to (which is usually not an option), the shortcut won't be created if the file isn't installed. HTH   ...Show All

  • Software Development for Windows Vista How can I get Strmbasd.lib ?

    I read that in order to make Strmbasd.lib I must build project BaseClasses.dsw located at (SDK root) \Samples\C++\DirectShow\BaseClasses. But after installed the platform SDK ,and dxsdk 2006 I cann`t find the BaseClasses.dsw (I use visual studio C++ 2003) Try the following location; C:\Program Files\Microsoft Platform SDK\Samples\Multimedia\DirectShow\BaseClasses\ XP32_DEBUG for the Strmbasd.lib or ...\XP32_RETAIL for the Strmbase.lib. ...Show All

  • Software Development for Windows Vista A question of Winfx SDK

    Hi to All I just installed WinFx beta 2.2, asd we know, the Visual Studio 2005 Extensions for Windows Workflow Foundation installation package contains the extensions, runtime components, and an SDK. Where is SDK How can I find it I need to see same samples or tools. There is a "window workflow foundation help" on Start --> All programs, is that what I want Also, I found some information at http://windowssdk.msdn.microsoft.com/library/ . but which one is Winfx SDK I'm new to the Winfx, Could somebody help me out Thanks and have a great one Brian If you need samples you can l ...Show All

©2008 Software Development Network