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

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

Aleksi

Member List

bsraju.net
Murtuza39
peterMarshall106
Quim88
Svat
Swap
dydoria
shp21
Alx_it
msorrent
AdamChen
Hayley
Gmoney1404
dcw
Seyed
Ben Voigt
istrasci
opticyclic
appolospb
sathyamca
Only Title

Aleksi's Q&A profile

  • Visual Basic access key prefix character

    Hi, When I use an ampersand character (&) in the control's Text property to be an access key prefix character (ex. Button1.Text = "&End"), the E is underlined. But when I set the Text property during runtine, the access key (ALT+E) is working but the key-character ("E") is not underlined. Thanks for your help, George http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=133879&SiteID=1 ...Show All

  • Visual C# Using OS to open files

    I am currently writing an app that extracts files from a database and attempts to open them using Process.Start(); It works fine as long as the file type has an association, but if there is no association, I get an exception.  What we are looking to have is for the OS to handle it just as if you tried to open a file from Windows Explorer and the file type is unassociated, you get a Windows Dialog (Windows cannot open this file) What do you want to do Use the Web service to... or Select the program from a list. The current code: try { // open the file in a new process Process otherProcess = new Process(); ...Show All

  • .NET Development How to get the left digit value?

    Hi Is there any function is available in Managed C++ to get the left side value of Integer value for example, that function should return the interger value like this... leftvalue(19,1) = 1 leftvalue(25,1) = 2 Assume leftvalue() is proposed function. Thanks in advance Jose  Hi, If my memory serves me right, then InStr() - gets the location of a specified character(s), Mid() gets a substring. If thats the case then: String^ test = "Microsoft"; // INSTR() int idx = test.IndexOf('o'); //Mid String^ str = test.substring(1, 5);   cheers, Paul June A. Domag ...Show All

  • Windows Forms Requesting a computation to wait

    This concerns a windows application in which I want to do a short computation, display a message based on the result, and then go into a longer computation. However, the second computation apparently pushes the message off the queue, so that it does not appear until the second computation is finished. If I don't start the second computation until I click a button, everything works fine, but that's not the way I want to do it. Can I somehow tell the second computation to hold its horses for a while You can try calling Application.DoEvents(), although if it's all in one spot, in a single thread, I don't see w ...Show All

  • Visual C# Using C# Express!

    Hi! I'm using C# Express, I created Console Application. I wantn't run my program in Quick Console, I want run my program in the console window... http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnvs05/html/usingcsharpexpress.asp ...Show All

  • SQL Server Msg 9772 -- Service Broker in database "" cannot be enabled

    I backed up a database "Broker", and restored it on the same instance as "BrokerQA"  (Broker db still exists, I need them both running on the same instance). tried sending a few messages, sys.transmissions_queue says: The broker is disabled in the sender's database. then tried to enable service broker for BrokerQA: alter database BrokerQA set enable_broker Msg 9772, Level 16, State 1, Line 2 The Service Broker in database "BrokerQA" cannot be enabled because there is already an enabled Service Broker with the same ID. Msg 5069, Level 16, State 1, Line 2 ALTER DATABASE statement failed. How do I reset the service broker ID o ...Show All

  • Visual Basic html editor in visual basic

    Hello everyone, I would like to know how to build an HTML editor with (drag and drop) in Visual Basic. I'm just looking for drag and drop into html editor and autoamtic write code themself. Does anyone know how to build that in Visual basic or is there is any sample website where i can learn more about the drag and drop html editor! Alidad   There is a pretty interesting control for this on your system. if you go to tools Menu and select Choose Toolbox items and select the Com Components and check - DHTMLEDIT Control for IE5 it will add this control to your tool box. Make a form ...Show All

  • Smart Device Development Suddenly get "sql server does not exist or access denied" after connected for ages.

    Hi all, I'm developing a PDA app using the compact framework. It connects to a SQL server 2000 database calling stored procedures to read data and update it etc.. It all works absolutely fine for 10 minutes or so - reading and writing lots of data. Then all at once I get the error "sql server does not exist or access denied". In my error handler I try to reconnect - but it seems once this error has happened it's not possible to reconnect. I don't know whether it makes a difference but the PDA is connecting to a database on my machine via a USB connection and the ActiveSync (the very latest version) program. Any ideas would be much appr ...Show All

  • Windows Forms Bind to GeometryModel3D Material

    hallo, I really like the flexibility that XAML and avalon introduce into 3D vector graphics. So I've created a listbox that has it's items style with two viewport3D's. I've also created a loop in the codebehind that inserts items into the listbox. Each of these items is assigned the defined 3D style with 2 viewport3Ds. So what I have is a listbox with 3D button items. However, assigning a different material to the geometrymodel3D in the style everytime a new item is assigned the style is a story of a unique sort. I've tried using databinding but am unsure of the sytax involved and therefore tried *Alias. But *Alias, to my knowledg ...Show All

  • Windows Forms Docking and ClientRectangle in custom control

    I've created a custom control (derived from Control) to be used for image rendering.  I'd like this control to be dockable.  Whenever I Dock my custom control as Fill on a test form along with another control that is docked Bottom (for example), theClientRectangle for my custom control represents then entire client area of the Form.  The net resul ...Show All

  • Windows Live Developer Forums Slide Show - add music?

    How do I add a music file to a slide show I created in my blog My blog - "daytradingtowin" Thanks, Peppy This forum is for questions about the MetaWeblog API in MSN Spaces. Feedback, feature requests or questions about the MSN Spaces product are probably better directed to http://spaces.msn.com/thespacecraft/ ...Show All

  • Visual Studio Team System FxcopInputAssembly VS 2005 beta-2

    Hi, This info was useful. I'm trying to import c++ dll in c# program. Evenif we have done same output folder for unamanaged, managed and consumer folder it is still showing same error. "Load of property 'FxCopInputAssembly' failed.  The 'FxCop Input Assembly' must be under the project folder. " sometime it was showing the file vc80.pdb is changed when it was precompiled, basically it is unmanaged project vc80.pdb is overridden by managed project. The Projects are: Consumer(C# client) Managed (Dotnet wrapper for C++ DLL) Unmanaged(C++ DLL) output folder is: ..\bin\debug The execution order for projects are: 1. Unmanaged 2. ...Show All

  • SQL Server Double quotes in ASCII file

    I've an issue with double-quotes in CSV file. One of the columns may contain this kind of value: "STATUS ""H"" " I've got quote set to " The file source fails on such records. I found this thread and Scott tells us there that the file can't contain " in data. Is this 100% correct I've got mutliple text columns and the pain is that I don't know which column might have these cases in future. To create a script means to write my own file parser for all files I use. Any ideas Dima. Hi, If you have a CSV file, do you actually need to specify ...Show All

  • Windows Forms .Net 2.0 Install Fails

    When attempting to install .net framework 2.0 redistrubatable on any web server (2003 SP1), install fails with the following message "Extracting file failed. It is most likely caused by low memory (low disk space for swapping file) or corrupted cabinet file". I've increased and decreased the swapping file, downloaded the dotnetfx.exe several times. I can install the .net 2.0 beta version without a problem, but since these are production servers I don't want to run any beta software on them any suggestions Thaddeus.Tate@nissan-usa.com Thanks in advance ...Show All

  • Visual C# Attribute method intellisense

    !Hello! Sorry but my english is very bad. What attribute i should use to show a short description of an method in the intellisense tooltip I know [Description("")] but isnt show information... Thanks Pavleras Use the XML documentation feature of Visual Studio. The <summary> tag is used by Intellisense to display value-added information: /// <summary> /// Description for SomeMethod.</summary> /// <param name="s"> Parameter description for s goes here</param> /// <seealso cref="System.String"> /// You can use the cref attribu ...Show All

©2008 Software Development Network