Emperial's Q&A profile
Visual Basic need code
I need a Video Rental Store code for VB.Net 2003. Please help me Recently i made one in VB.NET with all possible options , i sold this software 3 stores already. If u need source code , pls reply to apraveen25@yahoo.com ...Show All
Visual Studio No dev tools in Studio 2005 for crystal reports XI
Hi all, I've just upgraded CR11 from release 1 to release 2 but now there are no CR tools/forms/viewer in VS 2005. Any ideas Thanks in advance, Danny Hey Danny Did you upgrade or uninstall CRXI and install CRXIR2 I had a huge problem when trying to load over the top upgrade so to speak. You will also have to add the references to your project. CrystalDecisions.CrystalReports.Engine CrystalDecisions.Enterprise.Framework CrystalDecisions.Enterprise.InfoStore CrystalDecisions.ReportSource CrystalDecisions.Shared CrystalDecisions.Windows.Forms I am not sure if you need all these references but that is what I have on my projects. As far as my tool box goes I have had to add items to the tool box ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Distributing games with XNA runtime
So what's the best way to distribute the XNA framework with a game Just point people at the framework download on the Microsoft site Include the XNA framework installer with the game I was clicking around and found in the project properties-> "Publish" -> "Application Files..." options, I can set the publish status of Microsoft.Xna.Framework.dll and Microsoft.Xna.Framework.Game.dll to "Include", which copies the dlls with the game. Is this enough to get the game running on another PC, assuming Framework 2.0 is present and DirectX is up to date Thanks! Hi, I’ve found a post that proclams how to add XML framework as prerequisite: http://blogs.msdn.com/pstubbs/archive ...Show All
Windows Forms Hide method doesn't work on program's first execution
Hi there. In my application I have a main MDI form (called frmMain) and a login form (frmLogin) . frmMain is the main module of my application. I have the following code on frmMain load's event: this.Visible = false; this.Hide(); _frmLogin = new frmLogin(this); _frmLogin.ShowDialog(); When I execute the application for the first time on the current session, frmMain loads but remains visible and then frmLogin appears but frmMain is still there. Ok, I close the application and then run it again. This time frmMain hides correctly and frmLogin is the only form that is visible. If I restart the computer and attempt to run the program, same thing happens. Important note: if I run the program on a slow computer the problem always occur. Why this ...Show All
.NET Development advpack error
when I try to install the .net framework 2.0 I get a message saying"Error creating process <C:\DOCUME~1\"username"\LOCALS~1\Temp\IXP000.TMP\Install.exe> Reason: C:\WINDOWS\system32\advpack.dll" Why is this happening and what can I do to fix this. demiandiaz wrote: try to execute Install.exe directly from C:\DOCUME~1\"username"\LOCALS~1\Temp\IXP000.TMP\ i was getting the same error but with another file in that directory when i try to install msn. (I don't remember exactly. boot.. somthing). I run it from there and the installation works fine. ...Show All
Visual Basic JIT Debugger Error message caused by filelistbox
I have been working on a program and testing it on another computer that has the .Net framework installed. My program works fine on my computer with .Net installed. However, when I run it on the other computer (with only the framework installed) I get a random error: MyApp.exe - Common Language Runtime Debugging Services Application has generated an exception that could not be handled. Process id=0xf3c (3900), Thread id=0xf64 (3940). [The numbers in this error line are different everytime] When I hit cancel to debug it displays MyApp.exe - No debugger found. Registered HIT debugger is not available. An attempt to launch a JIT debugger with the following command resuled in an error code of 0x2 (2). Please check co ...Show All
.NET Development System.NET.AuthenticationManager
There is PreAuthenticate method in System.NET.AuthenticationManager. This method does nothing because it uses PrefixLookup class instance which never gets filled... This method is used by HttpWebRequest class in MakeRequest method. This method never adds Authentication header ... How to add Authentication info to HttpWebRequest without manual a adding header Thank you The problem was that the WebService was developed by third party developers, using non MS technology. There is another Authetication policy ... ...Show All
Smart Device Development Richink subclassing problem
Hello, I'm having problems subclassing the richink window. After creating the WC_INKX window I'm able to get a handle to the richink window with the "IM_GETRICHINK" message, then I set my custom wndproc on the richink window, and I store on a global variable a handle to the old window proc. The custom window proc gets called, but even if I don't handle any message and I just call the old wndproc passing the values to it, the rich ink window doesn't even display (as if some of the WM_PAINT messages wouldnt get handled). Here are the relevant code lines I'm using: //create the main richink window HWND rhwnd = CreateWindow (WC_INKX, NULL, dwStyle, rect.left-28 rect.top-10, rect.right-28,rect.bottom-10,this->GetSafeHwnd(),0, ...Show All
Visual Studio 2008 (Pre-release) Service and WCF
Hello Everyone, I asked a similar type of question before and I want to be completely sure as this is little confusing to me. I have a customer which wants to use the .NET 3.0 framework and WCF and everything should run as a service on Windows Terminal Services. I'm wondering what type of project should be made and how to use WCF there. Any examples, articles really appreciated. Thanks, Harsimrat You mean everything should run inside a terminal services session If so, that is orthogonal to how you host it. A terminal services session runs processes just like any other session. If that is not what you meant, please clarify. The service itself is implemented by implementing your Service ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How to randomly generate one of four letters
Randomize() lblassign2.Text = Int((10 - 1 + 1) * Rnd() + 1) How can I change this so It will generate one of 4 words. The words are Hearts, Clubs, Spades and Diamonds Also these four words should be capitalized. By the way, everyone can freely download from the http://msdn.microsoft.com/vstudio/express/visualcsharp/starterkit/default.aspx the template Starter Kit: Card Game . Suppose it may help in the card game developing. ...Show All
Internet Explorer Development Security issue on using XMLHTTPRequest
Hi, I am facing security issue in using XMLHTTPRequest in the Javascript of the .NET web page. Some of the browser having the security issue executing this, the error message is "Permission denied". i have created an xmlHTTP object and using as mentioned below xmlHttp.open("GET", "http://Server1/WebApp/Matter_Types.aspx",true) xmlHttp.send(null); I am getting error on executing the send method. Is there anything need to be set on the browser security settings. Thanks, I am gettng the same kind of problem..did you get the resolution...it will work fine if tweak the lan secutiry setting in your browser options. I know why it's happening but can't find real resolution to this problem with ...Show All
Visual Basic EndEdit returns "Column 'No' does not allow nulls." error...
I have a table called "items" with a primary key called "no". I cannot display the variable "no" in my form. I tried setting "visible = false" but that doesn't work. I am using a form field called "nokey" instead. Everything works fine until I try to insert a record. Here's a sample of the code: Dim newItemsRow As SignsDataSet.itemsRow newItemsRow = Me.SignsDataSet.items.NewitemsRow If (Insert = True) Then Dim MaxKey As Integer = 0 MaxKey = GetMax("Items") MaxKey = MaxKey + 1 Me.NoKey = MaxKey.ToString newItemsRow.No = Me.NoKey newItemsRow.Nm_Latin = Me.Nm_LatinTextBox.Text newItemsRow.Nm_Ang = Me.Nm_AngTextBox.Text ne ...Show All
Game Technologies: DirectX, XNA, XACT, etc. 2D Engine Using GameComponents and no Scene Manager Design Help
I'm currently working on a small scale 2D engine. I have a simple Sprite:DrawableGameComponent class which loads a texture, rotates, scales, and draws to the screen. I then inherited a Player and an Enemy class from Sprite. (My thinking was that sprite already has most of the data stored that I need for an Enemy class, and I can just add update code for AI in the overridden component update method.) So my first question is this: Is that the wrong way to go about this Would it be better if I had the Enemy class inherit directly from DrawableGameComponent and store the Sprite data inside it Now currently everything works, I have Enemies popping up all over the place and the player moving around. Fun stuff. My next step was adding collision ...Show All
Internet Explorer Development IE7 - selecting from a dropdown list using mouse and keyboard input
We've found a bug in IE7 whereby if you select from a dropdown list by clicking on it with your mouse, using the keyboard to jump to an item and then clicking the mouse button to select it, the display vlaue changes to the newly selected value but the inner property hasn't changed and still has the old value. An example of the problm can be found here http://www.dene.com/clicktest/test.htm Other people have had this problem, and appologies to them for using their test example, but I haven't found a resolution anywhere. This is a temporary workaround that we've found. You can capture the doubleclick event and reset the selected option so that the onscreen display matches the inner value. This however wi ...Show All
.NET Development removing file name and extension from complete path
hello all ! I m new to c# progrmming so plz help me in completing the following program I want to write a program which takes a complete path name and separates out the file name and extension in two different strings. You can also use the functionality built in to the System.IO.Path class. It contains a few methods that will do this for you... System.IO.Path.GetDirectoryName(path) Returns the path without the file name/extension System.IO.Path.GetFileName(path) Returns the file name with the extension System.IO.Path.GetFileNameWithoutExtension(path) Returns the file name without the extension System.IO.Path.GetExtension(path) Returns the extension of the file (including the "." ...Show All
