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

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

day10

Member List

amisole
Sotham
IntMain
Antropoid
Anders Pettersson
Talahaski
Raph304
dork
swg
Mateusz Rajca
leo landry
djjdaeja
robin l
domukajoor
IEQ
zz2
bpeikes
Solsan
Sailu
Matthijs Koopman
Only Title

day10's Q&A profile

  • Visual C# Converting Float to 32bit Integer(Hex)?

    I need to convert Float value ( 0.1 as example ) to Hex (32bit) value (0x3DCCCCCD). How can i do it Hi, AFAIK, hex can be converted for "integer part" only. Its base 16 number and starts with 1 onwards... So i really have a doubt that logically its possible or not! Figo Fei, you suggested to write code for it but if you know, please tell me that how a float can be converted into Hex logically Thanks, ...Show All

  • Visual Basic Generic Collection of Genereric Type?

    I was wondering if I can have a generic collection of generic type. Lets just say I have a Generic Class that implements the following interface: Public Interface IGeneric(of T) ReadOnly Property Name As String ReadOnly Property Value As T End Interface How can I have a generic collection that will accept ALL types of the generic class . Something like this: Dim Generics As IList(of IGeneric) You can do part of what you've asked, a generic list of a generic type: Dim list As New Collection(Of Collection(Of String)) But, it will only accept the specific type you've specified. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Vertex Shaders without Pixel Shaders

    Sadly, XNA Beta 2 does not let you use vertex shaders without pixel shaders... If you are targetting GF2, GF4MX or Radeon 7xxx old hardware, here is a workaround: bool [ ] verifiedCanDraw ; fi = device.GetType ( ).GetField ( "_verifiedCanDraw" , BindingFlags.NonPublic | BindingFlags.Instance ); verifiedCanDraw = ( bool [ ] ) ( ( fi.GetValue ( device ) ) ); for ( int i = 0 ; i < verifiedCanDraw.Length ; i++ ) { verifiedCanDraw [ i ] = true; } Will XNA users get a fix for this This is an absolute business non-sense. Each  time you increase your target hw requirements, you loose customers. Business decisions like this have many, many inputs ...Show All

  • Visual Studio Express Editions weird exception

    THe below codes create an Access violation exception which I could not fix ptmp = a; sortedlist=a; //process of joining both lists, into a single list begining at a while (ptmp->next!=NULL) { ptmp=ptmp->next; } ptmp->next=b; Would you please help me Thanks There is full list of node whose head is a. p =a; then we pass through the each nodes to reach the last part and then we can merge/stick the second list of nodes to the " p ". ...Show All

  • Community Chat Kyro KidSafe Browser (beta)

    Hello all, I am making a "KidSafe" browser for kids. Please download my program and post any noticed bugs,etc.  It takes only minutes to set up.  I am 10 years old, so who can make a browser for kids better than a kid Progress:  Final will be started in January Thanks you everyone for your contributions  and encouragement.  *Has 3 tabs for browsing. *Has a "My Websites" button with up to ten of your programmed websites in it. Beta Features: *Has 3 tabs for browsing. *Has a "My Websites" button with up to ten of your programmed websites in it. *Talking Help guide *A new install program Updates in final version: *Button text replaced with graphics. *A game room with games, and fun KidSafe software (suc ...Show All

  • Visual C++ How to forward MSG message to another window

    Hello. I'm learning Win32 API and I am wondering what should I do if I want to forward MSG message recieved by hook procedure to another HWND window Thanks. ungvar wrote: From the other hand if PostMessage does it asynchronously the MSG object could not exists by the time window will process the message (because the hook is global) and the process may crash. Right I still dont understand if the semantics of SendMessage is correct. The SendMessage looks fine to me, but I'll admit I haven't done much API programming in the past few months In this specific case, I don't think you'd run into trouble, but I suppose that depends on what else is on the hook chain. Personally, I don' ...Show All

  • .NET Development When will x64 mixed mode debugging be supported

    I've found posts that indicate "Orcas Timeframe" Is this true and when will that be Thanks NIK OK, thanks for the info. This is the thread that I picked that idea up from http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=54877&SiteID=1     ...Show All

  • Visual Studio 2008 (Pre-release) Calling a WCF STS from a WSE 3.0 Client

    I am trying to set up a WCF Token service that I can call from a WSE 3.0 client, but I cant get it to work. Does anyone have a sample showing what i have to do in the wcf service so that the wse 3.0 client can communicate with it Hi Read the following article: http://msdn2.microsoft.com/en-us/library/ms752257.aspx Hope this helps manu ...Show All

  • Visual C++ Converting Long to Char

    I'm trying to take an ID number from a database and convert it to a character number to use as a product serial number. is there a simmilar function that does that or would i have to do some type of long to int conversion, then do the itoa function thanks A long is the same size as an int so just use _itoa_s ...Show All

  • Visual Studio 2008 (Pre-release) Master/Detail && Total/Subtotal && DataBinding in WPF

    Here is the scene: class detail : INotifyPropertyChanged{ public int SubTotal{ get{return _subtotal;} set{ if (_subtotal!= value) { this._subtotal= value; this.RaisePropertyChanged("SubTotal"); }; } ............. } // class detail class master { private ObservableCollection<detail> _details; public ObservableCollection<detail> Details { get { return _details; } set { _details= value; } } public int Total{ get{return "the sum of subtatal of all _details";} } ........ } When binding them to UIElements, I hope that when I modify ...Show All

  • Windows Forms How can I make a panel's Opacity 50%?

    How can I make a panel's Opacity 50% so that some of the background shows through Thanks, Never mind... I figured it out. Go to Microsoft Photo Editor and create a new gray image. Set the transparency key to that color and the transparency percentage to 50% (or other percentages). Then, save it as a PNG file. No other type will work. ...Show All

  • Visual C# form closing problem

    I could not invent a realistic title for the post since I do not know how to name that object. On the top border of every form there is a small button on the right that closes the form. It is next to Maximize/Minimize button. I wish I knew a special term for it. I want to prevent my form from having the option of being closed by pressing on it. I want to always close it via a custom close button. How can I do it The reason for this is as follows. I have a stream of records that accumulate in memory and when the number of rows in a DataTable reaches a certain threshold a portion thereof is being sent to SQL Server. About 2000 records remain in memory. When the process of downloading ends I may still have some records that are unsav ...Show All

  • Visual C++ LNK2019: unresolved external symbol error when using #include <fstream>

    ERROR: ---------------------------------------------------------- error LNK2019: unresolved external symbol "__declspec(dllimport) class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl std::operator<<<char,struct std::char_traits<char> >(class std::basic_ostream<char,struct std::char_traits<char> > &,char const *)" (__imp_ $ 6DU $char_traits@D@std@@@std@@YAAAV $basic_ostream@DU $char_traits@D@std@@@0@AAV10@PBD@Z) referenced in function "public: static void __cdecl Message::init(void)" ( init@Message@@SAXXZ) Message.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::basic_ofstream<char,struct std::char_traits<char> & ...Show All

  • Audio and Video Development Checking for Display

    Is there a way to check if the Player is hooked up to a display or if the display is on ...Show All

  • .NET Development How to set data in cells of a hidden column in a databound datagridview control?

    I am using a datagridview control, bound to a child class of a purchase order object to enter/display line detail of a purchase order. Some of the data, product ID for example, is set by program code and not the user, and so I have hidden the column. My problem is that I don't know if it is possible to set data in a cell when it is hidden. (It is the things that the help files and clients DON'T tell you that are killers, but I digress). I tried Identifying the column name but it gave me an error saying it could not find it. Has anyone out there done anything like this > I have to do it in the application What do you mean by that The application has access to the databinder and hence the ...Show All

©2008 Software Development Network