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

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

CharlieCSharp

Member List

Demonslayer
bw12117
killers
cosmicstudio
Radvis
barkingdog
sorcer1
ChrisB999
tonofit
airwalker2000
BobRS
jasse_91
DavidR100
DavidThi808
kawano1h
ShayEr
Amos Soma
Gopinath M
Markus Berthold
SaloS
Only Title

CharlieCSharp's Q&A profile

  • .NET Development Win32 Vs .Net

    Hi How does the OS differentiate between win32 and .Net exe what is the difference between the header structure It doesn't. The EXEs are the same. The PE file format consists of a DOS stub program (read by DOS only) which displays the standard "You need Windows" message. Following this is the Win32 portion that allows the loader to run the program. For .NET apps the starting Win32 program is actually a stub (called the runtime invocation stub) that starts up the CLR host and then parses the CLR header and ultimately compiles and runs the main program entry point. Now to be fair I said there is no difference and there isn't. The structures are the same. However the PE format is extensible such that new sections ca ...Show All

  • Visual Basic Common Language runtime detected an invalid program

    We have developed a Window Application in VB.NET (Framework 1.1) with Back-End MSDE and with Crystal Reports. We haven’t got any issue as long as we run the application in our development machine. Also we deployed it in many clients and it works fine But in only one client place, we got the following error ‘ Common Language runtime detected an invalid program’. The application contains many forms with many controls (More or less 100) But the issue comes only in one form when it is opening Configuration of the Client Machine Processor : AMD OS : XP professional We will be thankful if any one provides solution for this… Have you tried debugging on that machine t ...Show All

  • Visual C++ C++ 6.0

    Hello i'm new to this forum i downlaoded the C++ 2005 from microsoft which is available for free but i use C++ 6.0 at my univeristy the C++ 2005 is totally different so can anyone tell me where i can get C++ 6.0 so i can use it on my laptop instead of sittin in uni all day any help will be appreciated, Thanx in advance Toseef K VC++ 6.0 is not available any more since the official support for it already expired. Thanks, Ayman Shoukry VC++ Team ...Show All

  • Visual Studio Express Editions most efficient way to turn on and off visibility for multiple usercontrols

    i have multiple usercontrols. when i click a button i have a usercontrol display and hide all others. i have a button for every usercontrol which do the same thing. see sample code below. is there a better way to do this. this is a sample for just 2 usercontrols,but real program might have 20 usercontrols. currently the program seems to redraw slow. Private Sub panel1buttons_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Btn1.Click, Btn2.Click selectedcontrol = sender.name Me.SuspendLayout() If selectedcontrol = "Btn1" Then UserControlwindow1.Visible = True Me.ToolStripActiveControlLabel.Text = "first window " Else UserControlwindow1.Visib ...Show All

  • Visual Studio Error creating ServiceContract, also not displaying my current project's DataContracts / FaultContracts???

    Hi all, I'm modifying the Dec 2006 Web Service Factory and I'm getting the following message when trying to create a new ServiceContract: " devenv.exe Error: 0 : Microsoft.Practices.RecipeFramework.ValueProviderException: An exception occurred during the binding of reference or execution of recipe Generate_ServiceContract. Error was: An error happened while calling the value provider or evaluating the default value of argument ServiceImplementationProject.. You can remove the reference to this recipe through the Guidance Package Manager. ---> System.InvalidOperationException: Cannot set property ServiceImplementationProject from Custom Page GenerateServiceImplementationFromInterfacePage. ---> System.NullReferenceExce ...Show All

  • Visual C# Namespaces over Multiple DLLs

    Hi, I have one namespace stretched over two DLLs. In my first DLL is a full implementation of a class, and my second DLL contains a soapsuds generated meta class of the same type. When using both of these DLLs in a project, there is a namespace clash between the two. This could be solved my specifying the assemby of my class before the namespace, i.e: <assembly>.<namespace>.<sub-namespace>.< classname> Is this possible to do in .NET Thanks. Why do you need to reference both in the same project To answer your question, it's possible in C# 2.0 with extern alias . ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. GameComponents not showing up in the ToolBox

    Hello everyone, I created a new game from the template but in the designer view for the game I don't see any game compenents in the tool box. Shouldn't there be a graphics component and I created a component to mess around with, but its not showing up. The only tools in the toolbox are some standard controls like background worker, dataset, eventlog, print document etc. How do I fix this Try this: Start a new project Right click your project, and click add new item Choose Game Component Rebuild Solution Double click Game1.cs You probably just need to do steps 4, 5. Hope that helps, Mark ...Show All

  • Software Development for Windows Vista Wasapi exclusive streaming

    Hello, I'm trying to implement audio streaming using the new Wasapi API. I've managed to make shared mode for recording and playback work but I'm stuck with getting exclusive mode work (AUDCLNT_SHAREMODE_EXCLUSIVE flag). Everything seems to work (i.e. all the calls to IAudioClient etc. return success) but after I call IAudioClient::Start() it seems that the actual streaming never begins, and the callback events are never set. A similar problem happens when capturing in shared mode, the callback event is never set, but I get around that by polling GetCurrentPadding() to see if there's data ready. This doesn't work in exclusive mode because GetCurrentPadding() always reports 0 for capture and on rendering no sample gets 'consumed' by the dri ...Show All

  • SQL Server Attempting to obtain report name or identiy using CheckAccess method in SQL Reporting Services 2005

    I found some dead-end threads regarding this issue but have not seen a clean solution. Utilizing a Reporting Services security extension, I can't find a way of obtaining the reports name or identity from within the CheckAccess() method so I can use it to query an external database to ascertain authorization. In other words, my company requires the creation of custom roles that can be used from within our ASP application and well as being honored by SQL Reporting Services 2005. If anyone can help, I would really appreciate your time! Thanks in advance, Tom Thanks Teo! You sure have put lots of work into the "Harden MS Reporting Services Usin ...Show All

  • Visual Studio Express Editions Question about the EULA

    Hello. I'd just like to ask, is the EULA just an agreement between the maker of software and the user, or is it actually a legal thing if it is a legal thing, how do you get it Am asking because as am still new to programing I dun't fully understand it, and av still got a lot to learn. Than you. No you do not have to include a EULA in your software that you create unless you want to make certian legal restrictions upon your users...and then you would put those restricitions in the EULA...(such as ..as the user of this software you may not resell or distribute this software....)it would be an agreement between you and the users of your software....as far as freeware is concerned once a ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. First XNA project & a question regarding pink outlining

    I am creating a old-style RPG with added bells and whistles and it uses XNA. I threw a character in the game and he has a pink outline around him which is actually what I use for the transparent color. Do I need to do anything in code to remove this I thought I did something similar in Direct3D before when I was first creating the texture. Since GSE does it all for me, I'm getting an unwanted result. Screenshot: http://lh5.google.com/image/philvaira/RZ2EQXve37I/AAAAAAAAAAs/rx381x00kQA/Nral_Alpha_Screenshot_1.PNG.jpg imgmax=800 At any rate, this is my first project using XNA. I have a local team and we are finally putting it into production as commercial-based PC game. Using XNA has really boosted our productivity. ...Show All

  • .NET Development CreateParameter give bad performance

    We are working with MSSQL 2005 and ado.net framework 1 .1 During our performance tests over large DB (~1M records) I found out that when I run one of our queries, with embeded values in the query -string, instead of using the CreateParametr method, the query ran 40 times faster!!! The parameters are 2 strings (~30 characters) , the type in database is varchar(255). Wh at can cause such a huge difference in the execution time This is our AddParameter source: public void AddParameter( object parameterValue) { string paramName; IDataParameter IParam; //For string that is empty do nothing means null is entered to field. if (((parameterValue is string ) && (parameterValue.ToString( ...Show All

  • Architecture Planning transactions with N-tier, distributed transactions, multiple databases

    Hi Forum I would like to know if there are some best practices for planning/documenting transactions in order to avoid deadlocks. We unfortunately have the bad habit of going into production before discovering deadlocks. The problem is that we have an N-tier architecture where developers can choose to start transactions that spans not just multiple tables but also multiple databases. So it is distributed transactions. It gets quite complex when many people implement transactions, not necessarily calling the resources in the same order. What should I as an architect do - Should I put together a document and have the developers document all transactions, including isolation level and in what order they are calling resour ...Show All

  • Visual C# Error usign COM in C#

    Hello All, I wanna ask Some question about COM. I am adding the Menuitem in the menu of the Quickbooks(Accounting S/w)...now when i add menu succefully after it, on menu item click i will have to call my other application... Now question is that..... for implementing this i have to Specify the CallbackClass ..means must use COM... When using COM i m getting this error "CallBack application of CLSID or ProgId provided in Request cannot be found."[menu is nt added and application quits] it means that it did nt find my application... For it How do i craete GUID which is i think CLSID n progID which is Namespace.classname.. and where i need to register it in registry so that calling back it will get my Callback class... Regards, Aami ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. ExternalReference<CompiledShader> - Am I missing something?

    I'm trying to create references to .fx files from my Content Pipeline types (my writer). When I build my level objects, I want the references to textures and effect files to be baked into the object so that you don't have to add .fx and .png files to your project, just add the file that processes into a level. (A .bsp in my case). My problem is that I used this thread to create external references to textures, but the same technique does not work for shaders. Psuedo code in the processor: ExternalReference<EffectContent> source = new ExternalReference<EffectContent>("C:\shader.fx"); ExternalReference<CompiledShader> built = context.BuildAsset<CompiledShader>(source, typeof(EffectProcessor).Name); ...Show All

©2008 Software Development Network