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

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

dgolds

Member List

sergiom88
Saibal Goswami
Francisco Vicente
shanejh
kefren
R Montgomery
b6s
HapRish
James. L.
Eagle 101
AlexBB
.net sukbir
dagfari
s12
Emadkb
imdz
TheMadMonk
Carel Greaves
ga2006
Raby
Only Title

dgolds's Q&A profile

  • Visual C++ bitmap colour depth

    hi Can anybody help me out with some example or implementation I want to convert a lower bit (8 or 16 or less than 24 bit) *.jpg file to 24 or higher bit jpeg file in VC++. Here is the little bit of detail what is actually happening. If I set color quality less than 24bit, in my system's display properties and then in my VC++ project, I save jpg file, it get saved as 0 byte file. but if somehow I can change the screen depth at the time of saving the jpg file, the problem can be solved. Hello Re: bitmap colour depth Such questions are outside the scope of this forum - for the scope of the VC General forum please look at: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=19445 ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Realtime debugging text?

    Hello. All I`d like to do is display crude text somewhere inside the game screen. Can I do this without having to load/use any type of font. The `Print` commands equivelant I suppose It`s just so I can see a variable changing during play. Please excuse this possibly mundane question but I`m fairly new to all this. -Daz. Console.Write() does not add a newline; you need Console.WriteLine() to actually flush a line to the debugger output window. Also note that the text will be sent to the "Output" window in the C# express solution -- not to your game window. If you want to draw text in a game window, then you must use some form of geometry. Either a texture with the alphabet in ...Show All

  • Software Development for Windows Vista RegLoadKey / RegUnLoadKey in C#

    Hopefully this is the correct place to post. I have an XP application that I am porting to Vista. The app calls DllImport on advapi32.dll, and kernel32.dll. I am executing the following methods: OpenProcessToken GetCurrentProcess LookupPrivilegeValue AdjustTokenPrivileges RegLoadKey RegUnLoadKey I am receiving a null pointer in a method running the following code: /////////////////////////////////////////////////////////////////////////////////////////////////// int token = 0; int retval = 0; TOKEN_PRIVILEGES TP = new TOKEN_PRIVILEGES (); TOKEN_PRIVILEGES TP2 = new TOKEN_PRIVILEGES (); LUID RestoreLuid = new LUID (); LUID BackupLuid = new LUID (); retval = OpenProces ...Show All

  • SQL Server report writing help

    HI there. I am using report writer to create a report from a SQL database. I am combining 3 tables through a query. I would like to put my query results into a temprary table or a view for further quering, however I can not even create one because I get an error. I am also using parameters to run the query and that is part of the error. When I create a new var for my dataset to hold the report parameters and than use those for my filtering criteria I get the error that I can not use those values. Any ideas What should I do Thanks Armela ...Show All

  • Visual Studio Tools for Office Why do MS Word Automation return different values with and without Debugger?

    range.Select(); //line 1 float X = ( float ) ((Microsoft.Office.Interop.Word.ApplicationClass) _application).Selection.get_Information( WdInformation .wdHorizontalPositionRelativeToPage); //line 2 If I set breakpoint at line 1 and stop in debugger, I get another value in line 2. Selected range is located in table cell. May be I have to invoke some refresh function or something else before line 2. I don't really understand why I get different values for the same file and the same range in Debugger and without debugger. Cindy Meister wrote: Perhaps a loop that compares the value two or three times and only ends when the value is the same two or three times running I think loo ...Show All

  • Visual Studio 2008 (Pre-release) What does this error message mean?

    Hello! When I attempt to invoke db.SaveChanges(); I get this error message: ERROR:File C:/Documents%20and%20Settings/Henrik%20Dahl/Dokumenter/Visual%20Studio%202005/Projects/HD%20Testprojects/HDCompositeModel/WindowsApplication1/bin/Debug/EntityComponentModel.cs.msl Problem in Mapping Fragment(s) starting at line(s) (23, 29, 914): Data in C-space will be lost when storing in table CEntityComponent: The tuples in table CEntityComponent for the configuration [CEntityComponent.TypeDiscriminator = 'CPersistentSoftwareProductComponent', CEntityComponent.OwnerROWGUID = NOT_NULL] and the tuples in this table for the configuration [CEntityComponent.TypeDiscriminator = 'CPersistentSoftwareProductComposite', CEntityComponent.OwnerROWGUID = NOT ...Show All

  • Visual Studio Cannot install VS 2005... UDF ISO-13346 issue

    Hey everyone, I'm having the devil of a time installing the VS trial version (team package) on my xp pro machine. I've been fiddling with it for the last 2 days and can't get the DVD to even recognize the UDF portion of the disc at all, which is where all the installation files are. argggg... I've tried extracting it with ISOBuster, which fails almost 1/3 of the way through. I've tried ripping it to an image with Nero and fails at 69%... And those are the only two programs that I have that will even recognize that there is a UDF partition on there... Explorer is clueless to its presence. Could anyone help me I would sooooo greatly appreciate. Thanks, Tim Although the workaround in my previous po ...Show All

  • Visual Studio 2008 (Pre-release) Data binding with ObjectDataProvider and Collections

    First my apologies for the long post, but I'm running out of ideas here. In my application, I have a fairly large amount of application data that is being collected by worker threads. The data is collected in several custom classes and most of that information must be displayed on the UI. Some of the information is simple (strings, integers, etc.,...), but some of the custom classes would contain collections of other custom classes. My original thought was that data binding was a wonderful magical way of hooking all of this information up to the UI for display to the user, but as I understand more WPF's threading model for the UI and how the built-in data binding classes work I now realize it's a bit more complicated. I'm trying to use Obj ...Show All

  • SQL Server SQL Update error

    Why I am getting this error: update failed because the following SET options have incorrect setting: 'ARITHABORT' when trying to send this on the sql management express: update rates set rates.ORIGIN = '800880011_ali' where rates.rate_plan_id = 3 ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. SimpleMesh game component and x2swm

    I've uploaded a SimpleMesh game component to use on conjunction with x2swm. Instructions are here: http://astaroth.beatbuggy.net:8080/Images/XNAMagic/SimpleMesh_GameComponent_rm.jpg Download it here: http://astaroth.beatbuggy.net:8080/Downloads/SimpleMesh_GameComponent.zip Instructions: 1) Add the game component to your project. 2) Drag the component onto your game designer. 3) Set the mesh path and mesh name. (i.e media\\ , Dwarf.swm) 4) Put the DrawComponents() call in whichever effect pass you wish. This works for n swm batches. It will continue to work if the texture is missing. Here is the latest x2swm: http://astaroth.beatbuggy.net:8080/Downloads/x2swm_1_0_0_3.zip Well I did all the thi ...Show All

  • Windows Forms RichTextBox question

    I am using odbc driver to manipulate records to and from a Paradox database. In the Database I have two columns that are Paradox 5.0 memo fields, they have been formatted with a Rich Edit field in Delphi7 . I can view the data in the fields in my C# app in MSVS 2005 with a RichTextBox control except that the formatting shows in the text box as well as the data. Like this: {\rtf1\ansi\deff0{\fonttbl{\f0\fnil\fcharset0 MS Sans Serif;}{\f1\fnil MS Sans Serif;}} \viewkind4\uc1\pard\lang1033\b\f0\fs16 3/4x3/8--63/4x4/78--One X Leather--One 1/2" wedge. Hook heels around instead of cutting off.\f1\par } Is there a way to get the richtextbox to process the formatting Thanks Jon (Moderator: Thread moved to thi ...Show All

  • Visual Studio 2008 (Pre-release) What is most efficient way to create the list of image thumbnails?

    Hi! I have a "little" question... ;) I would need to have (kind of) photo-album functionality in my application - it should display thumbnails of images from certain folder (and entering a folder with 2000 images should not bring the system to its knees!), and user should be able to move in that thumbnail view (using keyboard!) and perform some actions. Problem is, that there are so many options in all respects (what should be the container, how to get thumbnail of the images, how to do it asynchronous - so that folder with 2000 images would not block whole machine, etc.), that it is difficult to choose something In your opinion, what would be the most efficient way to do this Thank you very muc ...Show All

  • SQL Server setting up SQL 2005 linked server connecting to a DB2 database

    Hi, I have setup a linked server to a DB2 database using "Microsoft OLE DB  Provider for ODBC Drivers", the connections works fine i am able to run select queries. but the number of rows returned from the two following statements are different. select * from linkedserver...tablename select count(*) from linkedserver...tablename e.g. The First statement returns  116 rows, whereas the second query returns count as 144.... I am a bit confused  could anybody think of any possible reasons.. Cheers ARAW012  The openquery and the "normal" Select behave different, because the OPENQUERY will issue a pass-through to the server instead of doing the interpreted Select query through th ...Show All

  • Visual Studio PostgreSQL as data provider?

    I would like to be able to use PostgreSQL as a data provider\data source within Visual Studio 2005. I am using the free\open source Npgsql ADO.Net data provider in my code, but now I would like to be able to use the visual tools provided by Visual Studio. Is this possible When I go to choose a data source, one of the options is "<other>", but I don't see any way to add a different data provider to the listing. See this thread: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=998285&SiteID=1 ...Show All

  • Visual Studio Increasing the wait timeout for the VSS2005 Internet Web Service and IDE plug in

    Is there any way to adjust the time out parameters on the server and/or client side when using the Internet provider What's happening is that occassionally the connection between the developer and the server is a very slow one, and the plug in gives up (often at the worst of times), resulting in bindings getting confused. My client has also discovered that the server (Windows 2003) needs to be rebooted about once a week in order to keep the web service speed up. VSS2005 starts running slowly, they reboot the server, it speeds right up. VSS2005 is the only application hosted on the server at the moment. Thanks The timeout Barry talked about is set on the client machine, and affects how long will the client wait to receive the r ...Show All

©2008 Software Development Network