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

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

PK_VBE05

Member List

Sunil Virmani
nitinbell.ca
mohdtmn
Mateusz Rajca
Chade
Divyajosephjohn
nishanttheone
R.Tutus
MKan
Samer Selo
João Ferreirinha
I.Katzav
Sarath.
Wil Burton
WingingIT
MisterMoon
Tom De Cort
Jamie Thomson
New-Bee
Banhnam
Only Title

PK_VBE05's Q&A profile

  • Windows Forms Remove Disable Textbox blinking cursor

    I would like to disable the blinking cursor from my textbox whenever it gets the focus. There is some code in there that shows how to do it. It looks like you have to do it through API calls and you have to make those calls pretty frequently. http://msdn2.microsoft.com/en-us/library/ms648398.aspx ...Show All

  • SQL Server HELP, error report, Setup Bootstrap\Log\SqlSetup0017.cab

    I've installed SQL express eight times at least. The first time it went throug without warnings. Now, I'm getting this by simply wanting to open Northwinds or Pubs database to practice with. Path=c:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\SqlSetup0017.cab Thanks for you support everyone! Karen Edition Change Check (Warning) Messages Edition Change Check To change an existing instance of Microsoft SQL Server 2005 to a different edition of SQL Server 2005, you must run SQL Server 2005 Setup from the command prompt and include the SKUUPGRADE=1 parameter. This error is a result of having an existing instance of SQL Server 2005 on your machine and trying to run a new install of a different ...Show All

  • Windows Networking Development How to Enable TCPIP.SYS in kernel Mode?

    Hi, everyone, I want to set the TCPIP.SYS BootStart to zero so it can enable in kernel mode. But it's always hang or raise BOSD. if the TCPIP does not start in BootStart mode, the WSK function of WskCaptureProviderNPI with WSK_INFINITE_WAIT will blocked. I also create a system thread to call WskCaptureProviderNPI with WSK_INFINITE_WAIT, I still can not create any WSK_SOCKET if tcpip's start value as 1. Does anyone know how to deal it Under 2000/XP with TDI, tcpip bootstart to zero is OK. Thanks in adavnced. Hello Stone, Both the WSK subsystem and the TCPIP transport will eventually start as the system boots up. You can wait for the WSK subsystem to come up by calling WskCaptureProviderNPI in a thread different from the one your Dri ...Show All

  • SQL Server Stripping out numbers from a string

    Hi I have a field that starts with numbers and then has a description after if, eg. "123 This is the description for string 123" 1. How would I go about stripping out the first instance of number to leave the string as "This is the description for string 123" thanks. Bill From the problem described, we can't use any form of REPLACE, since that will take away all occurences of '123'.. We want to keep '123' in both parts, right Not take them away One way to split the string into two, is to simply substring it apart. The trick here is to figure out where to split - ie where is the end for the first substring, and where is the start for the 2nd substring It seems like this is what we ...Show All

  • Visual C# compile in 1.1 framework

    I'm currently using VC# 2005 Express Edition. Is there a way to change the compile framework to 1.1 or is there a way to make 2.0 work when only 1.1 is installed There was a way to change the framework in the previous VC#, but it's not there in the new verions. Thanks in advance. VS2003 only supports .NET 1.1 VS2005 only supports .NET 2.0 (and .NET 3.0 with orcas add-in I think) You cannot convert .NET 2.0 to 1.1, its not backwards compatible but you can convert from .NET 1.1 -> .NET 2.0 The .NET Framework is tied with Visual Studio - it's "married" ...Show All

  • SharePoint Products and Technologies MOSS and Documentum

    Hi, I would appreciate if somebody can post some material, links comparing MOSS with Documentum and other competing products. Regards Shyla ...Show All

  • Smart Device Development [Pocket PC] User32.dll for keybd_event

    It seems like everyone else is using the keybd_event great i've never had a problem using it in applications for the desktop, but for the pocket pc i get a connot find user32.dll. I can't figure out how you guys are getting this to work and i'm getting an error. Declare Sub keybd_event Lib "user32.dll" Alias "keybd_event" _ (ByVal bVk As Byte, ByVal bScan As Byte, ByVal dwFlags As Integer, ByVal dwExtraInfo As Integer) Nothing to special about the code i dont think it seems like the standard of what everyone else uses. Any help would be great. Thanks. I know this... and it doesn't make it work. I figured by labeling it that someone would say it was some specific .dll that i wasn't think ...Show All

  • SQL Server insert into combination

    I would like to select data from two different fields within the same row and insert them into a new table in different rows. For example: Source table contains the fields: DateTime, FirstValue, SecondValue Destination table would have the fields: DateTime, Value Sample source data: 2006-01-01T00:00:00, 25.OO, 20.OO 2006-01-02T00:00:00, 28.00, 24.OO Sample destination data (inserted): 2006-01-01T00:00:00, 25.00 2006-01-01T00:00:00, 20.00 2006-01-02T00:00:00, 28.00 2006-01-02T00:00:00, 24.00 Is this doable in T-SQL This is known as "unpivoting".  There is an operator that does this in SQL Server 2005, but you haven't told us which version yo ...Show All

  • Visual Studio Express Editions How to use OpenURL for INET in VB.NET

    I am in the process of converting a VB6 app to VB .NET. I was using the following code in VB6, but if I use it now, I get : Overload resolution failed because no accessible 'OpenURL' accepts this number of arguments.  Code: HTML = Inet1.OpenURL(" http://www.site.com ")   What should I do   Thanks for any help When I use Inet1.OpenURL("webaddress",icstring) I get a "time out" response, even when I set the RequestTimeout > 30 seconds. I'm calling an .asp file which contains code to run a .dll file which builds a XML file from a database, no matter what I do it times out in 31 seconds can anyone give me insight on what I could look f ...Show All

  • Visual C++ How to convert unsigned char __gc[] to char[]

    Hi, I am new to C++ .Net and currently running into a problem of type conversion. I have a unsigned char __gc[] and I need to convert it into a char[]. How do I do that Thanks for your help! Feng Thank you so much Jiang for the links. The "method number 2" of your sencond link solved my problem. Really appreciate your help! Feng ...Show All

  • Windows Forms How to choose the execution thread for a delegate?

    Hello. I wonder how to choose a specific execution thread for a delegate. With "simple" async delegate calls, we just know it will run on some thread of the thread pool, but not on which one. Control.Invoke(...) method allow to get the delegate running on the GUI thread of the control. The BackgroundWorker component matches it, I don't know how, to get back to the "main" thread (in opposition to the worker thread), whithout a reference to a control. Is there any way I can do something similar to the BackgroundWorker component, choosing the executing thread for a delegate without reference to a control Thanks... ;) Well, I've implemented my own "async" model, savin ...Show All

  • SQL Server "Database name (6.5 Compatible)" under Management Studio viewing sql 2000 server

    I never noticed it before, but I am now using Management Studio to administer our sql databases and the issue became apparent. One of the databases located on a sql 2000 server, says "6.5 compatible", when viewed from Management Studio (but not from Enterprise Manager). What are the step needed to upgrade the database (I think I need to run the Sql 2005 Upgrade Advisor first, fix any errors found, then manually change compatibility mode (to 80) from the sql 2000 server where the database is located. ) TIA, Barkingdog ...Show All

  • Visual Basic Type conversion problem

    I'm using the .NET framework v1.1 and dominantly C#, but am having a problem with some VB code. First of all, I have a type: public class Field { object _fieldValue; private object FieldValue { get { return _fieldValue; } set { _fieldValue = value; } } public static implicit operator Field(string fromRawString) { Field untypedField = new Field(); untypedField.FieldValue = fromRawString; return untypedField; } } (Compiled using "csc /target:library MyType.cs") I then write a program to use this type: public class Klass { public static void Main() { string s = "Hello World"; Field f = s; } } (Compiled using "csc /r:MyType.dll MyProg.cs") I then write a similar program to use thi ...Show All

  • Visual C# Parent and child form maximize problem!!

    Hi all, 1. I have two forms, FormA and FormB. There's a button on FormA that when click will brings up FormB. The trouble I have is When I maximize FormA (the parent form of FormB), FormB doesn't maximize with it. Please, help me on how to do that. and another question! 2. How to let the user enter only numbers in a textbox and not letters Thanks Jason Hi Andrej, Thanks for your help, I took your advice about the MDI App. and it's work great now like the way I wanted. Again, thanks for your help. Greatly appreciated. Thanks Jason. ...Show All

  • .NET Development Deserialize - unable to find an Assembly .....

    Hi, I've got a really strange error. I'm using a fairly standard method to implement the IClonable interface, basically I serialize my object to a memory stream and then stream it back again. This all works fine in the .Net runtime environment and if I use a test application. However, I need to run as a COM control inside of an HTML page (long story, but I am embedding it in the home page pane of Outlook). Anyway everything works fine except this routine. It fails when trying to deserialize with "Assembly not found". I added some debug code to load the assembly dynamically and that all works fine. It can't be a version issue as I am serializing and deserializing the same object in the same method. I've traced where the framewor ...Show All

©2008 Software Development Network