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

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

byang

Member List

JoeBlow
Marta Segura
Kailash-Bisht
Jake Reynolds
Aimee13131
Hong Cham
Scott McLean
Michael Rajan
dcritch
DPiessens
Shagey
Eric Leung
MustafaSF
db_cooper1950
Jimmy Bogard
zsaing
Gokhan_Varol
LFerg
djdekker
cominfo
Only Title

byang's Q&A profile

  • Windows Forms Performance

    I have a pretty huge app. When I'm resizing it it lasts for few hundreds of years. I don't have time for rewriting some slow controls, so I'm wondering if somebody knows how to clear windows option "Show window contents while draging" This is only solution now for me (it really helps).. So please.. hello, This is what i done one time : Private Sub Form1_ResizeBegin(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.ResizeBegin TabControl1.Visible = False End Sub Private Sub Form1_ResizeEnd(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.ResizeEnd TabControl1.Visible = True End Sub You could m ...Show All

  • SQL Server SSIS Import and Export Wizard Data Sources

    I'm just beginning to use SSIS (bracing for a steep learning curve due to lack of helpful documentation) and am starting out trying use the Import and Export Wizard.  On the "Choose a Data Source" page there is a dropdown for the Data Source.  I see a list of possible data providers, but not one of "Microsoft OLE DB Provider for ODBC drivers," which is the one I wanted to use because I'm trying to connect to an obscure database.  So I figured that I need to use ".Net Framework Data Provider for Odbc."  Unfortunately, regardless of what I enter for the Connection string or the Dsn or the Driver I invariably get a ...Show All

  • SQL Server Any solution for that?

    I've got a .dts which load data to several Sql2k servers by Copy SQL Server Objects Task. I'd like to add another task for a Sql25k but I can't because of it's requesting SMO. It seems that such task need DMO. I know that there are other ways for do such stuff in that DTS but I wonder if there is any trick or shortcut for to avoid this barrier. ...Show All

  • Visual C++ [VS.NET 2003/C++] Treating enums as ints

    I have two C++ projects which both share a source file. The following code: enum MyEnum {     kFirstValue,     kSecondValue }; MyEnum myEnum = kFirstValue; myEnum += 1; compiles fine in one project. The other project gives the error, "error C2676: binary '+=' : 'MyEnum' does not define this operator or a conversion to a type acceptable to the predefined operator" So for some reason, one project is treating enums as ints, and the other isn't. How do I let VS know that I'd like to treat enums as ints in the project that gives the error Thanks, Tim This is exactly what the p ...Show All

  • Smart Device Development Can i use transcriber into an CF2 application ??

    Hello, I have searched a lot but i dont find that.. I would be use the transcriber into my application. do you know how to use a dll or the transcriber engine. In my application i would use the transcriber but without display the toolbar. I would too use the transcriber just into a panel.. Do you think it' possible to do that (excuse me for my bad english..) Thx. Any of your applications can benefit from Transcriber just as any other input panel (the soft keyboard, etc.) as the user will select the input panel they wish to use and the input will just be directed to the control with focus. However, you canno ...Show All

  • SQL Server SQL Server 2005 Setup Was Unable to Install on Your Computer

    My retail box VS2005 Standard installation attempt produced the message "MIcrosoft SQL Server 2005 Setup Was Unable to Install on Your Computer". (I'm taking this up with MS -- "unlimited free installation support for VS2005!" ) ...Show All

  • Visual Studio 2008 (Pre-release) Styling Listbox items with DataTemplate and VisualBrush

    I have a simple object with three string fields. I put instances of the object into an ObservableCollection to databind to three listboxes (each field in one box). My data templates look like this: < DataTemplate x:Key = " FieldATemplate " > < Canvas Width = " 60 " Height = " 70 " > < Border BorderBrush = " Black " BorderThickness = " 2 " > < TextBlock Text = " {Binding Path=FieldA} " /> </ Border > </ Canvas > </ DataTemplate > < DataTemplate x:Key = " FieldBTemplate " > < Ellipse Width = " 50 " Height = " 50 " > < Ellipse.Fill > < VisualBr ...Show All

  • SQL Server Must I have a wildcard MIME type in order to see images?

    Is there a way to display images rendered by Reporting Services without applying MS KB 326965 on IIS 6   The workaround calls for setup of ".* - application/octet-stream" MIME type in IIS. Any direction is welcomed. Regards, Patrick Sorry, I thought that the hotfix you mentioned was an RS hotfix (which were rolled into SP2). The underlying bug should be fixed in RS 2005. In the meantime, you can add the wildcard. ...Show All

  • Visual Studio 2008 (Pre-release) Why the reverse German-like syntax?

    Why do the LINQ queries have to look like a SQL query in German   If you are trying to make it easier and are adding SQL-like keywords to the language, at least keep the ordering the same as SQL. The way this is, I have to know C#, SQL for triggers and stored procedures, and LINQ for the in-code queries.  I don't see how this is going to make my life any easier. As I recall from the spec, the queries are purely macro substitutions, without any juggling during compilation.  This makes things much easier to compile, and the sequence of things doesn't change between the query syntax and ...Show All

  • Visual Studio Express Editions Using windows media player in vs 2005 express???

    Ive tried the AxWindowsMediaPlayer1.URL = "file name"  and the codes ok but any and all of the files i try to play come up with a message that sais " the file you are trying to play has an extension that does not match the file format" and then won't work. what can you give us more details also, try to update the file types. and then open the file ...Show All

  • SQL Server SQL Express won't work in iis but works fine inside vs2005

    Hi I am getting the following error trying to run my test web site from iis: Failed to generate a user instance of SQL Server due to a failure in starting the process for the user instance. The connection will be closed I searched for this error but non of the suggestions out there help. I am running Windows server 2003. I have installed iis, vs 2005 and SQL server 2005. I use vs and create a web site using the 'personal web site starter kit'. I have made no changes and when I run it inside vs it works perfectly. I then go and use vs to copy the web site to my iis server which happens to be the same machine. It's when running my ...Show All

  • SQL Server cursor best practice

    Please suggest any best practice for using cursor in stored procedure and trigger, thanks! You should actually avoid cursors as far as possible. If there is a set-based logic that can solve the problem then you should use it instead of cursor based logic. Cursors are procedural in nature and not performant as such. There are however certain tasks that are simplified using cursors like looping through each table to run update stats and so on. So it depends. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. UI controls

    is there a way to get listbox.contains(object) using the listbox control I went into the sampleFramework and looked at the code and created a bool function called contains but cant get it to work right. I noticed itemList is a arraylist so under that function i used itemList.Contans(myvarible) it does not seen to spot it. also I am trying to remove string objects from the listbox at runtime but there is really no way to get the index value that I can see at runtime, is there someone willing to help me with these two things thanks a bunch I added this to the sampleFramework in the listbox control under th ...Show All

  • Visual C++ How to initialize an independent display using CreateDC

    I am trying to initialise a second display as an independent display on my machine using:    CreateDC("\\\\.\\DISPLAY2", NULL, NULL, &demode); but I keep getting error code 0x709. The "\\\\.\\DISPLAY2" is the string returned from EnumDisplayDevices The devmode structure has been initiailised with basic information about the display (height, width, freq, color depth) which I know works with ChangeDisplaySettings if I extend the desktop onto the second display. The error code is described as "The printer name is invalid. " in visual studio. I can get everything to work fine if the Windows desktop is extended onto the sec ...Show All

  • .NET Development VPN beginner: VPN & SmtpMail

    I need to send emails in my application, and the client has a VPN. Do I need to do anything special in my code for the VPN, or do I just call the SmtpMail.Send method and do I need  install a mail server Any links to tutorials(on sending emails when VPN is involved - in terms of coding and setting up the machine) would be appreciated. [I am using framework 1.1 and C# 2003] thank you If you are asking for VPN APIs in managed code, please articulate this by emailing nclasks@microsoft.com .  This email alias goes directly to the System.net team. ...Show All

©2008 Software Development Network