Ahmed Mahdy's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. I cant Install Directx 9.0c December 2005 dsound.inf problem
When I try install Directx 9.0c December 2005 Redlist I Envisage with this Error : "An internal system error occurred. Please refer to DXError.log and DirectX.log in your Windows folder to derermine problem." I several time download Directx 9.0c December 2005 and November 2005 but everytime I Envisage with this error and when I go to DXError.log and DirectX.log see this Problem with dsound.inf : -------------------- [01/05/06 01:40:11] module: dsetup32(Sep 28 2005), file: setup.cpp, line: 6443, function: CSetup::InstallDirectXInfsFromInfSection Installation of 'C:\WINDOWS\System32\DirectX\DX113.tmp\dsou ...Show All
.NET Development Reflection code: C# and VB.Net equivalents in .NET 1.1
Hi I used "System.Reflection.MethodBase.GetCurrentMethod().DeclaringType" in VB.NET to get the type of current class. But, if I try to use the same code in C#, it gives "class was expected" error and does not compile. What is the equivalent of "System.Reflection.MethodBase.GetCurrentMethod().DeclaringType" in C# Please advice. Thanks Pankaj Actually, GetType() is an instance method on System.Object. So for any instance, obj, you can call obj.GetType() to find the class object (i.e. Type). You cannot call typeof on an object. You use typeof in C# on type names to retrieve the class obje ...Show All
.NET Development Rich Client not working on HTTPS Server...
Hello everybody, I have a little problem downloading the .Net control hosted in web browser in case of HTTPS Server (SSL Authentication). Basically the .net control is downloaded when the user tries to run it at first time. It works very fine when I uncheck the SSL authentication in IIS. Can any body figureout the reason behind that I think there is a special settings or something like that. Please help me. Mudassar Majeed I haven't tried this with IIS, and controls, but in general when you deal with SSL, you'd need to make sure that the certificate that the server is using to authenticate itself on the IIS ...Show All
Visual Studio Express Editions value from txtBox
Hi all, In the new version this code variablename = me.txtboxname.value or variablename = Val(me.txtboxname.values) don`t wrk it. Is there a another option to read values (numbers) in vb express or i can`t use it in vb express cheers, spike thx for fast reply. buit i will to take numbers as values. in older version if i type variablename = txtboxname.text wasn’t same like variablename = me.txtboxname.value . with variablename = txtboxname.text will be as number if i type number in box ...Show All
Windows Forms using binding context
Consider two tables as follows. parenttable---------------table name code description 1111 “Redr” 1112 “Blue” 1113 “Green” 1114 “Purple” 1115 “Yellow” childtable code customer qty address 1111 Kmart 3 sfdsf 1112 Myer 4 dfdsf 1111 Myer 5 gsdgsg 1111 BigW 2 gsggf 1112 Kmart 12 gfgfg 1113 Coles 432 gfgsd 1113 Myer 2 fgfgfg 1115 Safeway 4 sgsggs create these two tables in a xml file and read it to a dataset. &nbs ...Show All
Visual Studio Express Editions Choose Toolbox items, adding to toolbox, which dll?
This must be a simple question: I have created a classlibrary with some components. Now when I select 'Tools, Choose Toolbox items..' and select 'Browse' to find my library, should I use the dll in the 'bin' folder or the one in the 'obj' folder Also, I assume, I should use the 'Debug' version. Right Yep, select the one located in the Bin folder. If you're component is compiled as Debug, choose the Debug version, otherwise, choose the Retail version. ...Show All
Visual Studio Express Editions Cannot register Visual C# Express Beta 2
Links provided to register are not longer valid. I've tried it several times but result is still the same: page cannot be viewed. Can anyone help me please Do NOT use the links provided in Registration FAQ question #15 to obtain an registration key for your Express Edition; this is not the purpose of the links in that question. To register your product, click the Register Now link in the Help menu or Activation/Registration dialog box that appears at startup of your Edition. Then complete the registration process to be provided your registration (activation) key. Please see question #8 in the above referenced FAQ if your browswer wind ...Show All
Windows Forms Deploy DirectX 9.0c
Hello, I'm not sure if this is the correct forum to put this question in, but any how we got a recent batch of DELL workstations that their Video driver requires directx 9 to be installed on the workstations before you can install the driver. I'm wondering if their is a way to deploy DirectX using Group policy I downloaded the redistrib. copy of DX but it does not have administrative install option. Thanks This isn't the right forum, you might try a Windows OS forum. If I remember correctly though, you don't need the "administrative" install option. The install will automatical ...Show All
Windows Forms NetworkStream and StreamReader/StreamWriter
I've got an app that uses the TcpListener and TcpClient classes to accept a connection and assign it to a NetworkStream which is then assigned to a StreamReader and StreamWriter. The program uses a Do Loop to read data from the stream as it becomes available. This all works great. The problem comes when the connection is lost. I need ...Show All
Windows Forms create excel headers/footers using excel Object library
Using the excel object library - how would I add a header and footer when I dynamically create the sheet this is just partial code... in the footer, I would be putting the page number Dim oXL As Excel.Application Dim oWB As Excel.Workbook Dim oSheet As Excel.Worksheet Dim oRng As Excel. ...Show All
Visual Basic Designer is allways Blinking
Hi all i have this problem in VS2005 RTM When i’m working in a windows form ( design mode ) and i’m placing controls in the form, the IDE sudently starts to blink, the mouse pointer starts to change from arrow to hourglass, and my CPU goes nuts !!! to 100% and there it stays for a few minutes ... does any one knows why is there anyfix for it thks JSB I don't know why, the Windows Forms forums might have a better answer. It's a really odd bug. However, I've seen this and there is a much faster workaround than waiting for a few minutes. Just Alt-Tab to another application, bring it's ...Show All
Microsoft ISV Community Center Forums transmitting a string from excel to com1
I can use the accessibility option to get RS232 information from a serial port. In this case a balance but for some electronic balances I need to have a VBA macro to send a string to the port. Any suggestions Per our support engineer: As I know that it is hard to access RS232 data from serial port. I suggest our ISV to create a dynamic library, and access it in VBA code. Thanks. -brenda (ISV Buddy Team) ...Show All
Visual C++ (MSVCRT) _iob disappeared?
What can I do to replace the functionality of _iob Seems to be missing in MSVCR7/8 (using VS2005). Error 1 error LNK2001: unresolved external symbol _iob main.def In my def, I'm redirecting this export as such: _iob=MSVCR80._iob I also tried: _iob=MSVCRT._iob ...Show All
Windows Forms How do I manually fill a dataGridView & BindingNavigator?
I haven't had a lot of luck with my project so far, because for some reason my TableAdapter won't let me create a variable in my Fill query - so now, I want to do it manually, because I -know- you can use variables in OLEDB. Does anyone know how to create a datagrid from a manual connection ...Show All
Visual Studio Express Editions Trouble setting up SQL Database from within Visual Basic Express 2005
Hello people. I've been experiencing some difficulty in setting up a new MS SQL Express database in a Visual Basic Express 2005 project. When I go to the solution explorer and click on "New Item" it opens the dialogue to add "New SQL Database". No problem. I click this and choose my database name. However, it then freezes for a while and comes back with a timeout error. After this it tries to open the DataSource Configuration Wizard but this doesn't open properly and instead comes back with a timeout error saying: "an error occurred while retrieving the information from the database - the timeout period elapsed prior to the complet ...Show All
