Hashim Ahmed's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. SampleFramework in FullScreen
Hello, I'm trying to run the sampleFramework's examples directly in fullscreen mode, passing -fullscreen in command line arguments or by code setting to False the Windowed parameter in the CreateDevice() method. The samples starts in fullscreen mode but don't works fine why I don't know what's the problem. I'm trying to implement a fullscreen application with the sample framework and I'm very frustrating with that situation. Anyone have the same problem Any help would be much appreciated. Hi. Ok, first of all, thanks for the reply. I'm trying to run the managed samples of the SDK (june2006) in fullscreen. There are two options: - Passing -fullscreen in the command line arguments - In cod ...Show All
Visual Studio Express Editions help a noob out!
Okay, here's my problem: When i start a project, then set it aside and work on a new project, I can't go back and edit the ui! anybody know why please help me! I spent 12 hours straight on my web browser to have it uneditable! You may have accidentally locked the controls. Right click the form in the designer and turn off "Lock Controls". ...Show All
.NET Development failed to connect to an oracle 8i database
Hello everybody, I hope someone would be able to help me… I need to programmatically talk to an Oracle 8 database located in a remote server. I have installed the client oracle 8 + Toad into my computers (Windows XP) and I have no problem connecting to this database by using toad. Then I added the System.Data.oracleClient dll to my project, imported it and tried to connect via my application, and had the ORA-12560 error. I can’t open the connection. My connection string is : “BaseName. UNIV-PARIS.COM (from the names.default_domain in the sqlnet.ora file); user id= ; password=” Have you any idea of what my problem is Thanks you for your help, Susana You co ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How do i turn off anti-aliasing?
I know this is an easy answer but i just cant find it. I remember something about being able to set a property in beta1 with the graphics designer. I was looking all over in beta2 and i cant find it. thanks in advanced. yeah where is that and how would i use turn on i did like this GraphicsDeviceManager graphics; GraphicsDevice.RenderState.MultiSampleAntiAlias = true; ContentManager content; but did not work ...Show All
Visual Studio Express Editions displaying increment numbers
Hi Could some one help me please, i want to write a code that will display a number from 1 to 500 in order or until i close the program, the number will display everytime i click on the button. Im very new at this so please help me. Marcus Do you want increment the number every time you click a button Where do you want display number (In a textbox I suppose...) In a form with a button and a textbox... Dim i As Integer = 0 Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click If i < 500 Then i += 1 End If TextBox1.Text = i.ToString End Sub ...Show All
SQL Server Distribution agent insufficient permissions
Hi, I am trying implement replication and having problem when creating push subscription to an existing transactional replication publication. The distribution agent is failing to run its job with the error: Agent message code 14260. You do not have sufficient permission to run this command. Contact your system administrator. I followed the http://msdn2.microsoft.com/en-us/library/ms151868.aspx article instructions when I set the distribution agent properties What did I miss The following is the step error message: Date 1/12/2007 2:30:01 PM Log Job History (105342-DB3\PROD-MOMA-ArchivedTransactions-105337-DEV2-15) Step ID 2 Serve ...Show All
SharePoint Products and Technologies Hosting an ActiveX component inside a web part?
Hi all, I'm just beginning to learn about ASP.Net web parts and using them inside SharePoint. I have a possible need to be able to host an Active X component inside a Web Part and had a few questions about this: 1] Firstly, is this actually possible If so are there any caveats or potential pitfalls I need to be aware of 2] Assuming its possible to host such a component inside a web part, would I be right in assuming that another web part could connect to the web part hosting the ActiveX component in order to interface with it 3] Can anyone give examples of where this has been done Many thanks for any info you can provide! ...Show All
Visual Basic DataRelation Many-to-Many
hello. A question please. When I create a One-to-many relation with a datarelation, it works fine. My problem is creating a many-to-many. Could anyone help me Thanks.... Hi Can you confirm the exact nature of the problem you are experiencing and perhaps post the code you use to create the data relation Remember that a many to many is simply a relationship between two fields where neither one contains unique values. Richard ...Show All
SQL Server 'sa' User Map error
Hello all, I'm having a problem with my sa account, we just migrated from sql server 2000 to sql server 2005 and 1 of our production applications is failing on the sa login. I checked the 'User Map' setup to the 'sa' account and the databases that need accessing aren't mapped. When I try to add the map, I get error "Cannot use the special principal 'sa'. (Microsoft SQL Server, Error: 15405)". I get the same error when trying to remove a user map for sa (there are a couple db's already mapped), and I don't remember how I mapped them in the first place, but it certainly isn't working now! Thanks in advance, 102020 What is ther error that you get back and for waht operation do you get it back Ple ...Show All
SQL Server Stop spell check of Outlook 2003 signature
Hi All, I have a user who's spell check always checks her signature - is there a way to prevent this I know how to stop it on an individual email, but I want every email she creates to automatically NOT check the signiture file. Running - Exchange 2003 and Outlook 2003. Thanks! Wrong forum... Try posting this to the Exchange Client forums at : http://forums.microsoft.com/TechNet/ShowForum.aspx ForumID=835&SiteID=17 Jeff ...Show All
Visual C# What is equivalent of ocx in .net?
Hi I would like to know How I can add a winForm to webForm If you are thinking about creating ActiveX controls for Internet Explorer, to be honest i didn't create any such thing in .NET. But i did controls in C++ that can integrate in a web page. But that was several years ago, and it was right to do it with C++ and not with Visual Basic. The conclusion will be the same today also. Then it is because if you do it with C++ your control will be tents of time less weigth then if you create it with Visual Basic. Just because you should put also VB runtime libraries in it, and C++ doesn't need any. If it's possible to do it with .NET, then you have to be sure that every user has .NET Installed. But ther ...Show All
Visual C# Extracting OLE Object from MS Access
Hello, I'm using MS Access as database back-end for my C# application and I have an OLE Object field in my MS Access Database and I want to extract the content (say JPG image) to the users' desktop. I'm using OleDB and C#.NET 2.0. How can I do that Thanks. THANK YOU very much :) What about extracting an html file Thanks. ...Show All
Windows Forms Printing DatagridView
Hi, I'd like to print only certain columns of a DataGridView. How would something like this be done I couldn't find any code examples. Thanks I'm using DrawString... here's my code ... it's a bit messy right now but should do the job ;) private void printDocument_PrintPage( object sender, System.Drawing.Printing.PrintPageEventArgs e) { int x = 0; int y = 100; int rowGap = 20; int colGap = 5; ...Show All
Visual Studio Express Editions Filter Debug build problem
I am trying to build a DirectShow capture filter debug version. The Retail version built OK. For the Debug build I have included strmbasd.lib strmiids.lib winmm.lb msvcrtd.lib quartz.lib and ws2_32.lib. Ignore all default libraries : No. I get the following errors. If I excude LIBCMTD.lib (or Yes to default libraries) I get many more errors. Any advice please Regards, pcd. :- Linking... LIBCMTD.lib(dbgheap.obj) : error LNK2005: _malloc already defined in msvcrtd.lib(103.obj) LIBCMTD.lib(dbgheap.obj) : error LNK2005: _free already defined in msvcrtd.lib(154.obj) LIBCMTD.lib(sprintf.obj) : error LNK2005: _sprintf already defined in msvcrtd.lib(70.obj) LIBCMTD.lib(tzset.obj) : error LNK2005: __tzset already defined in msvcr ...Show All
Visual C# converts a char into a string
Hi All, How would I convert this string bleh = "hello world"; inputString = "r" if (bleh == inputString) { blah = inputString; } The error message I get is Error 1 Operator '==' cannot be applied to operands of type 'char' and 'string' Much help appreciated Declare inputString as char, and do: inputString = 'r'; // Note single quotes. ...Show All
