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

Software Development Network >> Heinz Krug's Q&A profile

Heinz Krug

Member List

Brett H.
Knvb1123
Mr_White
Gurpreet Singh Gill
dagfari
Nate00
Paradigm Shift
Roozbeh Sharafi
su45937
Ali Jannatpour
Emphyrio
elodie23
Hector Urizar
monkey1888
Sudheer Palyam
outcast1881
kennm
William Bartholomew
j_a_m_e_s
d.delft
Only Title

Heinz Krug's Q&A profile

  • Visual Basic What is the difference between OCXs and DLLs ?

    Hello, I wanted to add Windows Media Player to my application but when adding reference to the project, I found there was two Windows Media Player controls : WMP.DLL and MSDXM.OCX. I am currently using the DLL but I would like to know what is the difference between the two controls as they seem to be the same. Is there anyone to be preferred Thank you Oh okay, I remember these was coding differences but I couldn't tell. But are there any differences when compiling, like does the app will need runtime files or is it managed (automatic) Thanks. ...Show All

  • Visual Studio Express Editions Problem with dates

    I want to add days to a date, but I dont want to count the saturdays or sundays, or party days, how can I do that Thanks for all the help. Kaos wrote: I want to add days to a date, but I dont want to count the saturdays or sundays, or party days, how can I do that Thanks for all the help. As Stephen says, there's nothing intrinsic in the framework or the Base Class Library to do what you want. But, it's already been done many times. For example: Calculate Number of Working Days . ...Show All

  • .NET Development Modify System.Exception in SetILFunctionBody

    I am wondering if I can get some help on this. We have working "Proxy" that is invoked via insertion into methods and gathers all the calling arguments, etc. and passes to a handler. We are using the SetILFunctionBody during JIT compilation. It works fine for 1.1, but in 2.0 ONLY works when using LoaderOptimization other than SingleHost when hooking corlib methods such as the System.Exception .ctor. We are hooking many methods - all NON core methods work well. I have come to the conclusion that it has to do with Domain Neutrality of mscorlib (only) being in the shared domain. So, my questions are this: Other than the LoaderOptimizationAttribute OR the args to the CorRuntimeBindEx to load the CLR - how can one override the Loade ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. NEED SERIOUS HELP WITH XNA, SOME PROBLEMS

    DOES ANYONE KNOW WHERE I COULD LOOK AT SOME XNA 1.0 TUTORIALS THAT ARE MADE SPECIFICALLY FOR 1.0 OF XNA PLEASE HELP!!!!!!!! If you have a look or search these forums over the last few das you will find that there have been lots of posts regarding tutorials for beginners. Some of the older ones are targeted towards the Betas but it is an easy task to copy them over. Some Random Links: www.virtualrealm.com.au http://letskilldave.com www.xna101.com http://www.xnadevelopment.com http://www.xnaresources.com On a Side note, there is no need to use capitals, as some people think that this is yelling..... ...Show All

  • SQL Server Closing a conversation later on and Microsoft Service Broker Interface (sample)

    In a messaging application, a client sends a message to the server. The server uses Service Broker Interface, and is CLR based. On the server, the message has a life cycle - going throughout multiple transitions until is final (Pending, In Transit, Delivered, TimedOut, Undeliverable). As the server receives the message, it sends back to the client a reply status message of In Transit. It does so using the same message’s conversation. It also saves – along with the message – its conversation handle. The dialog is not closed. After a while, the server may decide that the message has gotten to a final state (Delivered or TimedOut). I would like at that time to send a reply status message (Final State) back to the client and also close th ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Could C# be the future of gaming?

    Since XNA is using C#, and is is a more intuitive language than C++, is it possible that in the future that C# will dominate, espessially in AAA titles. Could XNA be ushering a new way of programming in the main stream Hi Jeff, As some one who is a partner in a company (and lead developer) that produces enterprise high performance security applications, many of them in C#, I think you will be very surprised what you can do with C#. I develop in C++, C++/CLI (.net C++) and C#. C# is my favorite by far. While it certainly takes a lot of care and research to get the "barn burning" speed you can truly get out of C#. Once you know what to avoid and how to write performance critical apps in C#, you will only go back when you ...Show All

  • Smart Device Development Problem related saving the image to a file at runtime

    hi all, I want to save the image at runtime. If user changes the current image, then it should prompt for replace and if user says yes, then it should replace the existing image file.or open the savefiledialog to save the image if user refuses to replace. I tried alot but didnt got any solution. DialogResult Result = MessageBox.Show("Do you want to save the changes", "Save", MessageBoxButtons.YesNo,MessageBoxIcon.None,MessageBoxDefaultButton.Button1); if(Result == DialogResult.Yes) if (File.Exists(FormClassReference.DeviceImagesForm.ImageCollection[ImageIndexForPreview].ToString())) { StreamWriter(FormClassReference.DeviceImagesForm.customSnapList.ItemsCollection[ImageInd ...Show All

  • Windows Forms populate DataGridView from Stored Procedure

    I am using this code to populate to datagridview but nothing is happening and when I try DataBind() at the end it throws an error (dataGridView does not contain a definition for DataBind) sql_connection = new SqlConnection ( "Data Source=.\\SQLEXPRESS;initial catalog=ws2connect;integrated security=true" ); sql_command = new SqlCommand ( "sp_get_customers" , sql_connection); sql_command.CommandType = CommandType .StoredProcedure; sql_command.Parameters.Add( "@id_number" , SqlDbType .VarChar).Value = "%731%" ; sql_connection.Open(); sql_reader = sql_command.ExecuteReader( CommandBehavior .CloseConnection); dataResult.DataSource = sql_reader; You can not direc ...Show All

  • Visual Studio Express Editions Database confusion amazon enabled movie collection example

    Let me use the amazon enabled movie collection as an example because it is readily availible to anyone by download. If you publish this program as is you get the following files with cd dvd instalation option MyMovieCollection1_1_0_0_0.application MyMovieCollection1.application setup.exe A folder named MyMovieCollection1_1_0_0_0 DVDCollectionDatabase.mdf.deploy DVDCollectionDatabase_log.ldf.deploy DVDCollectionDataSet.xsd.deploy EULA.txt.deploy MyMovieCollection1.exe.deploy MyMovieCollection1.exe.manifest A folder named Resources icon_magnifyingGlass.png.deploy A folder named Web References A folder named AmazonServiceSDK Reference.map.deploy Now if you burn all this to disk and run the setup.exe file on a computer that h ...Show All

  • Windows Forms Hey Moderator

    Anybody know how to set up a gridview so that each column header has an up and down arrow that when clicked would sort that column in that direction I have seen tons of examples of a single image to indicate which direction the current column is being sorted on, but why do that and possibly have to click a column header twice to sort in the desired direction when you can just have an up and down arrow image for each column that reacts to the click event by sorting in that direction It's nice that you have a data controls section, but this topic is not about windows based programming, it is about ASP.Net applications in C# ...Show All

  • SQL Server Errors in the metadata manager

    Hello, I'm trying to process a cube and i'm getting the following error message. I'm not working in Analysis Services Project 4, i created another project. I deleted Analysis Services Project 4 and every project i try to execute i get this error message. "Error 1 File system error: Error opening file; \\ \C:\Program Files\Microsoft SQL Server\MSSQL.2\OLAP\Data\Analysis Services Project4.0.db\TBLE~MC.0.cub.xml is not a disk file or file is not accessible. Errors in the metadata manager. An error occurred when loading the TBLE~MC cube, from the file, '\\ \C:\Program Files\Microsoft SQL Server\MSSQL.2\OLAP\Data\Analysis Services Project4.0.db\TBLE~MC.0.cub.xml'. File system error: The following error occurred while writing to the file ...Show All

  • Smart Device Development Cab installation failures due to signed files

    Hi. I have a Smart Device CAB file targeted for WM5 Smartphone. I'm using Visual Studio 2005 to build it. For my executables/dlls, I'm signing the files using the SDK developer certificate. When I'm installing on an actual phone or on the emulator, I will sometimes get errors on the signed files. Usually, they happen on the same files but not on all the signed files. I think it is more likely to happen on a file that self-registers. The problem goes away when I reinstall with a rebuilt file that is not signed. In setup.log under \Application Data\Volatile, I will get something like this: <characteristic type="fsbraille.dll" translation="install"> <characteristic-error type="Extract"> <pa ...Show All

  • Visual Studio Express Editions to every character have diffrent size how can I show string in listbox that every character have the same size exactly?

    yaniv ...Show All

  • .NET Development The configuration section cannot contain a CDATA or text element.

    With this config section: < EditorSettings > < name > Verdana </ name > < size > 24 </ size > < style > 2 </ style > </ EditorSettings >  I receive this error "The configuration section cannot contain a CDATA or text element." Using the new ConfigurationManager, ConfigSection and ConfigElement classes, are you unable to have that type of config section now. I am able to make it work like this: < EditorSettings name=" Verdana" size=" 24" style=" 2" / > Also, can you have multiple config sections in the same external config file Any ideas please, I alterate "...", config file, localhost, pwd but not solution I have this ...Show All

  • SQL Server hopefully an easy one

    I need to determine the top 20 most frequent occurences of a value in a specific field using SQL. This query is from SQL 2005; select top 20 c . system_type_id from sys.all_columns c inner join sys.systypes st on c . system_type_id = st . xtype group by system_type_id   or something like this select top 20 st . [name] from sys.all_columns c inner join sys.systypes st on c . system_type_id = st . xtype group by st . [name] ...Show All

©2008 Software Development Network