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

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

Exclusive

Member List

Anonieko
swmiller
Rastislav Maskal
Johan Normén - Nsquared2
nibs
C#Architect
Usai
japreja
WholesaleElectric
jsndgrss
RoccoSmit
win-
hendyb
Wim_M
venkyweb
NeeTrihT
RodTorres
Ping Wang
William Lai
virenkar
Only Title

Exclusive's Q&A profile

  • Visual C++ Header File Inclusion problem?

    Hi guys, Please take a look at this code. I have some problems, This is not the real code, but a sample. /************************************************/ //File:   SomeObject.h class CSomeObject:public CObject {       //.....code goes here } //End File //File:   SomeObject.cpp #include "someobject.h" CSomeObject::CSomeObject() {       //.....code goes here. } //End file /************************************************/ /************************************************/ //File:     UsingSomeObject.h class CUsingSomeO ...Show All

  • Visual Studio Express Editions Disabling the close button

    This may have been asked before, but I cannot get a solution to this - how to disable the close button in the title bar (the red cross on the upper right corner). I have seen code examples in the net using the API functions which are supposed to work in VB6, but they dont in my Express Edition. You can try this to hide the x button. On the properties of the form1 for example look at properties and find controlbox and than set it to false. It will hide the x button but your app can be closed than by pressing ALT+F4 Hope this helps. ...Show All

  • Visual C# How to assign 4 bytes of float to byte array

    I need to assign each of the four bytes of a float type variable to four bytes of a byte array. Can someone suggest a way to do this In essence I would like to do this: byte_array[0] = float_byte1 byte_array[1] = float_byte2 byte_array[2] = float_byte3 byte_array[3] = float_byte4   This array will be sent via a USB transaction. On the other end I will need to re-assemble the float type variable... In C++: byte byte_array[4]; float f = /*something*/; memcpy( byte_array, &f, sizeof (f) );   ...Show All

  • SQL Server Value "+00000000000000" considered as NULL values in the last column

    Hello I use a Flat File Connection Manager for a file with 18 columns. My column delimiter is the "~" caracter and my row delimiter is "{CR}{LF}" The source files contains about 2300 lines. None of them contain NULL values. My last row is a numeric(16,2). Even if it is not the appropriate type for the value I want extract, it works with all my columns. My problem is with the last column. I have read the SQL Server 2005 interpretation of the row delimiter as actually the last row column delimiter. But, here, my values are OK and put in the destination table if it is not 0 : "+0000000001352" ...Show All

  • Windows Forms CLickOnce with Tomcat

    Our requirement is to use Tomcat as Web Server and I am exploring possibility of deploying our smart client using ClickOnce. Is it possible to use ClickOnce with Non-IIS web Server, specifically Tomcat. If so, what do I need to do. Any changes required on tomcat side to support this I would appreciate any ideas on this. Thanks, Sushma Hi, ClickOnce does work with non IIS web server. You just need to have the MIME types on the server configured correctly for the web server to server .application files. See this post for more information. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=10606&SiteID=1 ...Show All

  • Visual Studio Express Editions 2 events at once

    I'm creating a simple, old, black and white tennis game for practice. I've created an event handler for 9 keys - 2 for moving 2 paddles up, 2 for moving them down, 2 for left and 2 for right. I also have an Enter key that starts the ball moving. The problem is that when I press Enter, none of my other keys work, until the ball goes off the screen. Does anyone have any suggestions how to fix this If you provide mode detail, someone might be able to provide some guidance. I'll assume this is a WinForms application. What event are you subscribing to to handle the keys, KeyDown, KeyUp, or KeyPress What is the c ...Show All

  • SQL Server Bulk Insert -- Access denied issues - 2

    Hi All Same situation as described here , same issue. SQL Server(SQL2005 on Windows2003) uses domain account. This domain account enabled to be trusted for delegation. Client connects to server using Windows auth. Client issues BULK INSERT with UNC path. Statement returns error: Cannot bulk load because the file "\\Server\pub\file.txt" could not be opened. Operating system error code 5(Access is denied.) SQL 2000 runs this statement successfully so statement and file are OK. Everyone has all permissions on network share. Domain account granted all permissions explicitly so there is no access troubles. Audit show anony ...Show All

  • Visual C# Future C# string optimization directions

    This is a topic of academic interest to me.  Are there any plans to optimize code patterns such as: string results = ...; bool foundSomething = results.ToLower().Contains( "something" ) ) Here, I'm making a case-insensitive search and it seems that ToLower() is an unnecessary use of CPU cycles and memory accesses.  One possible solution, which isn't very extensible, is for ToLower() to do a lazy-copy: it will first make a reference to the input string and add a "use-lower-case" bit.  Contains() uses this bit to do the case-insensitive compare on the original string.  Brian ...Show All

  • Visual Basic Embedding an XML file within Custom.Config

    I have an application which has an unlimited number of "Profiles", each Profile being an XML file. During the user configuration I want the user to choose which Profiles they will be running and then these need to be "added into the config file" when the program starts, so taht my application thinks that the app.config file always included them ... is this possible ...Show All

  • Visual C++ Writing a Music Player that supports MIDI Instruments

    I want to write a Music Player that can play MusicXML files. These have information about them that can be used for conversion into MIDI, such as what instrument each part should use. However, in conversion to MIDI lots of information is lost, like crescendoes,diminuendoes, and emphases. I want to write a Music Player that can play these files, keeping this information in, but use the MIDI instruments. Is this possible, andd can anyone give me any pointers, as I don't really have a clue where to start. Thanks, IxxI For such issues, please use the newsgroups at http://msdn.microsoft.com/newsgroups/ . This ...Show All

  • Visual Studio 2008 (Pre-release) Styling Issues - Designer Errors

    Sometimes, when I try to write styling xaml code, I get an error from the designer on TargetType attribute: < Style x:Key = " {x:Type ListBoxItem} " TargetType = " {x:Type ListBoxItem} " > which says that the value is not of a desired type: Error 1 Object of type 'System.Windows.Markup.TypeExtension' cannot be converted to type 'System.Type'. And one more question: When creating a gradient background in Sparkle, it adds additional <GradientStopCollection> under for example <LinearGradientBrush.GradientStops> tags which "Cider" warns it's incorrect, what's that again Are these ques ...Show All

  • Windows Forms Can DataGridViewComboBoxCell be able to edit by user (like a normal Combobox)?

    Can DataGridViewComboBoxCell be able to edit by user, like a normal ComboBox If can't, how to customize a cell/column to get this feature Thanks a lot! hi all, http://www.windowsforms.net/Samples/Go%20To%20Market/DataGridView/DataGridView%20FAQ.doc this link was very usefull, i have a combo box, its a databound now i want the combo box to be editable, and i have to check whether the new entry is not available in the databound, if not available should store into the database, how to validate this requirements, helps please. Regards, Prasenna. K ...Show All

  • Visual Studio crystal report in vb.net problem when converting project from .net 2003 to .net 2005

    I developed an application using vb.net 2003, which contains crystal report, in the code, i gave the parameter values, so that when "report" button is clicked, the report automatically displays itself with given parameter values. however, i opened this application within vb.net 2005, and converted it into a .net 2005 project, after all this, when i run the applicaiton, and click on "report" button, it started asking values for all the parameters, why plz help here is the code: ( blue-colored area is most likely causing the problem, i checked the outputs of sqlcommands, all fine, seems that somehow the sqlcommands output values are not ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Rotation matrix: absolute rotation instead of relative?

    Hi, When multiplying rotation matrices for rotating around x, y and z-axes R = Rx * Ry * Rz ( http://en.wikipedia.org/wiki/Rotation_matrix ), I get a relative rotation matrix, meaning that rotation around Y is not the original Y-axis, but the new axis that has "occured" after rotating around X. What I want to do, is to have absolute rotation, so that the Y-rotation is performed around the original Y-axis, and not the new one (absolute rotations instead of relative). If you know the math for this, I would appreciate if you let me in on it :-) Thanks!! > I get a relative rotation matr ...Show All

  • Visual Basic automatically sorting a datagrid and selecting the first matching value

    I actually have two questions reguarding use of the datagrid. I have a project where I have a datagrid bound to an access database. How can I ..... 1. Sort the datagrid in ascending order A at the top and Z at the bottom. 2. Select the first matching value in a grid. Example: If the user enters 'S', it will go down to the first 'S' (Sayers) in the last name column. ...Show All

©2008 Software Development Network