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

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

zzpinkie

Member List

wannabguru
WinDeveloper
Looooooka
Ofir Epstein
M. Nicholas
Cycling is too much fun
ile
EvilOneSD
TokyoDev
nicola_italia
naguaramipana
jortiz
Vivek S
Ivan Tx
Xadja
ProxyPro
Padmaja T Chavali
ropley
Konstantin Gonikman
M.Yaseen
Only Title

zzpinkie's Q&A profile

  • SQL Server Authentication issue

    Hello I'm using RS 2000 and although Windows Authentication has been selected on the website and the "Reports" virtual directory, when I browse to localhost/reports I get the report manager with only Home on it and a very limited menu bar whixh exists of home, my subcriptions and help. I can't see any folders. What am I missing Thanks! Are you connected to some corporate network or it is stand alone PC Are you in the Admin group on that machne if not add yourself to the Admintrators group it should solve the problem. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. do you have to use createwindow to create the main directx window? or does the directx api have its own way?

    i am starting to look at directx , do i have to use createwindow to make the window or does directx api come with its own way to create a window ,, Yep, You have to create a window and then pass it's handle to the method that will create the device. In c++ it will look something like this pDirect3d->CreateDevice(...Window->hWnd...) In Managed DirectX you pass the handle to the constructor of the device. Device device = new Device(... Window.Handle...) The reason for this is in the flexibility it provides when you want to render to other controls such as Panels for creating tools and you want to see the effects of it in your engine. I hope this helps. Take care. ...Show All

  • Visual Studio 2008 (Pre-release) Exception: The type 'XYZ' has no identity key

    Hi there, I used SQL metal to generate some C# code against a database. Some of the tables in there have primary keys that are not identity columns, but just integers. Whenever I try to retrieve any data from these tables using Dlinq it throws an exception saying where 'XYZ' is the object generated from the table: Exception: The type 'XYZ' has no identity key Am I doing something wrong here Are identity columns a requirement for all objects used through Dlinq Any help would be greatly appreciated. Thanks, Dhugal. What if the exec sp_pkeys still returns nothing for a view I assume we can simply add it to the XML before code gen, but now I have a manual step when I do a "SqlMetalRebuild" (a batch f ...Show All

  • Visual C# Create CSV file with styles

    Hi, How can I create CSV file with styles Thank's Alexei Hi, You can use the default .xls format. Here is an example of how to do it: http://support.microsoft.com/kb/302084 . Note: You will see that .NET renders the xls file as an xml based file. This format is not supported by Excel 2000 and earlier. Greetz, Geert Geert Verhoeven Consultant @ Ausy Belgium My Personal Blog ...Show All

  • Visual FoxPro grid problem

    hi guys...im working on my thesis and its a library system...i have two grids in the form, the first grid are the list of books and the second grid contains the other copies of the book selected on the first grid...what i want to happen is that when the second grid shows the other copies of the book, i want to distinguish whether the book is available or unavailable by changing its forecolor to a different color...how will i be able to change its color if its available im using an SQL statement to fill in the second grid..should i include in the SQL the column where the you'll know whether its available or unavailable please help me guys...thanks :) Generally it is better to calculate availability before ...Show All

  • .NET Development Setting/getting encoding property

    Is there any way to get/set the 'encoding' property of a DOMDocument The following works: var doc = new ActiveXObject( "Microsoft.XMLDOM" ); doc.load( "test.xml" ); // Print initial encoding var pi = doc.firstChild; var eattr = pi.attributes.getNamedItem( "encoding" ); var encoding = eattr.value; // Convert to string and reload (this loses the encoding) var xml = doc.xml; doc.loadXML(xml); // Reset the encoding to "ISO-8859-1" pi = doc.firstChild; var eattr = pi.attributes.getNamedItem( "encoding" ); if (eattr == null ) { eattr = doc.createAttribute( "encoding" ); pi.attributes.setNamedItem(eattr); } eat ...Show All

  • .NET Development C# Com Interop problem - should be simple!

    I have some trivial vb6 sample code that uses a com dll to interface to talk to some hardware but I can't seem to port it over to C# Interop successfully. I have tried many permutation of marshalling attributes but I get a "Attempted to read or write protected memory..." exception with types I believe will work and DataTypeError returned from the com interface function if I am deliberately incorrect with the types.   The com interface declaration in OLE Viewer: long RpcCall(long iJobCode, VARIANT SendData, [in, out] VARIANT * RecvData);   The sample in vb6: Dim n() as Byte Dim r() as Long n = StrConv("Time_s" & vbNullChar, vbFromUnicode) conn.RpcCall(10012, n, r)   The intero ...Show All

  • Visual Studio 2008 (Pre-release) GridSplitter -- is it dead in the current version?

    Is GridSplitter broken in the latest beta It doesn't seem to even show up at all. It doesn't work in the samples nor anywhere else. If it's just not working for this beta, will I expect to see it working again in the next version, or will there be some breaking changes Thanks, Rei Odd... Does this code work for you I got it from the link at the bottom of http://www.charlespetzold.com/blog/2005/12/200643.html . It compiles, but doesn't show the splitters. Thanks for the help.   <Grid>     <Grid.ColumnDefinitions>       <ColumnDefinition Width="50*" />       <ColumnDefinition Width="Auto" /> ...Show All

  • Visual C++ Sequence Class

    hello, I have to implement a sequence class, however the header file is predefined [code] class sequence { public: // TYPEDEFS and MEMBER CONSTANTS typedef double value_type; typedef std::size_t size_type; static const size_type DEFAULT_CAPACITY = 30; // CONSTRUCTORS and DESTRUCTOR sequence(size_type initial_capacity = DEFAULT_CAPACITY); sequence(const sequence& source); ~sequence( ); // MODIFICATION MEMBER FUNCTIONS void resize(size_type new_capacity); void start( ); void advance( ); //set the current_index to the next number in the array void insert(const value_type& entry); //insert before the number with the current index void attach(const value_type& entry); //inser ...Show All

  • Visual Studio Team System Max Length

    I'm a new Team Edition user. I wanted to know how to verify the maximum length of a text field. I'm unable to find a Validation Rule for max length. Thanks, Melissa. You may be able to use the Required Attribute validation rule by setting the Match Attribute Value parameter to an attribute value contained in your text field tag that is unique to the particular field you want to validate.  You would set the Attribute Name to maxlength, and the Match Attribute value to <insert your text field name or id here> Another option would be to extract the attribute value using an Extract Attribute Value extraction rule and then verify the value is correct in the Context (in coded web test) ...Show All

  • Windows Forms Displaying different image size in a listview.

    Hi How can we display the images in different size or in proportion to the original image in a listview. if we add the images to imagelist and assign the imagelist to the listview it changes the size to the imagelist size. and dosnot display the images in proportion. Can somebody help me with this. I am working on VB .net platform. Thank You Atheeque Hi Guys i am able to solve this issue by drawing the images in proption and loading them into the imagelist in a proportion. The function used to load image into the library is given below. Public Sub LoadImageList( ByVal ImagePath As String , ByVal Key As String ) Dim picImage As Image = Nothing Dim final_Bitmap As Bitmap = Nothing Dim org_Im ...Show All

  • Visual Studio Checkin multiple files failed (VS 2005; VSS 6.0d)

    Hy after editing a lot in my soulution (VC++ project, unmanged) i want to check in all changes through the pending checkin tab. When calling i got following error box: http:// www.bytemee.de/download/vss_err.jpg Can sombody help me Thanks, Jens Have you tried figuring out which file(s) gives you the problem and what could be special about this file(s) For example you could try to checkin only several files (or projects) at a time untill you know which files give you the troubble. You could also make sure you still have read and write access to the database files and perhaps run analyze on this database. ...Show All

  • Internet Explorer Development IE 6/7, restart computer on plugin update

    Hello. I noticed that after some Windows Update, IE6 (also 7), XP, asks to restart the computer after some plugin was sucessfully updated. The plugin is not in use at the moment when the webpage (that requires the plugin) is loaded. Do you know why And, most important, does anybody know a way how to avoid the restart Thank you. Cosmin There is no install program running. There is only one instance of iexplore.exe running. The sequence is the following: I update the plugin on the webserver and the javascript code that specifies the version. The client downloads the page and IE gets the latest version of the .cab file. And then it asks to restart the computer. One little thing is annoyin ...Show All

  • Smart Device Development How can RAPI detect SmartPhone vs PocketPC

    I am developing a mobile application that runs on both SmartPhone and PocketPC. I have a PC based management app that needs to load software and configure the mobile application for each platform differently. ActiveSync 4.2 seems able to identify if a SmartPhone or PocketPC is connected but RAPI does not appear capable of returning this information. I see that other people have also struggled with the same problem. Can anyone help I have seen the blurbs about having common binaries for the two platforms but I don't think that is going to work for my case. thanks, KevinBase Hi Kevin The RAPI2 Interface IRAPIDevice provides a way to identify a connected device. See here: http://msdn.mic ...Show All

  • .NET Development HttpWebRequest and ServicePoint

    Hi. I have faced a problem that I still cannot find solution for. I need to execute web requests to SAME web server using different source IP and port combinations. Yes, I know that I should use ServicePoint.BindIPEndPointDelegate and I use it. But my problem is that I have multi-threading application and because I use same destination address I got same ServicePoint instance for all threads and therefore can use only one combination of source IP and port in time. Does anybody know solution to this problem I'm using .NET 2.0. Thanks. Well, not sure how to help you. In my case everything works fine. But I have a server that has direct Internet connection and it has pool of IP addresses (public IP) and I ca ...Show All

©2008 Software Development Network