RajeshPKumar's Q&A profile
Visual Basic Encrypting File System Additional Features
Hi guys. My thesis for college is a system that encrypts and decrypts images and text. Obviously, the main issue here will be security, but here's the thing: to satisfy my panelist, he says that I should add more features that reaches beyond security, meaning give more features which are just about security. So, I was wondering if you guys could help me out by giving me some ideas for more features beyind security. This would greatly help me. Thanks guys. alphonso, Thank you for the question. Here I would like to recommend you an article titled How to encrypt and decrypt a file by using Visual Basic .NET or Visual Basic 2005 in the following link: http://support.microsoft.com/kb/301070 This artic ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Random and tileing
I am a newbie at the C# language and XNA so I was wondering if I could get some help on some aspects of my game. So far I have a blob bouncing up and down, you can move him, and there are walls. For the floor I created a sprite that I can tile across the screen. How do I draw it so it tiles across the screen Then I created grass, holes and fruit sprites. I want to now how to create a certain amount of each ( depending on the LV ) and randomly place them on the map and be able to now the fruit and holes x and y values so my character can interact with them. Thanks for the info. The xna resources site will defiantly keep me busy for a while. If that is your site at the bottom of your post that ...Show All
.NET Development How to attach NotifyIcon to the Windows Service in C#
I want to attach a NotifyIcon to my Windows Service. How can I do this in C#. My Code is as under I am not getting any error but I am not able to see the Icon in my System Tray. m_notifyicon = new NotifyIcon (); m_notifyicon.Text = "RT7_Updates Available" ; m_notifyicon.Icon = new Icon (GetType(), "Icon1.ico" ); m_notifyicon.Visible = true ; Thanks in Advance. Sunil Dutt You can't/shouldn't. Services do not have a UI because they run under a different desktop than the logged in user. Instead you should create a separate WinForms application with the notification icon. You can add your application to the user's Startup group (like SQL Server does) or add an entry ...Show All
.NET Development Too many Updates to do
Hello. I'd want to know how does a .net application work when we have to do too many updates, I want to say for example 1000 updates on a file at the same time. For only one update, if I'm rigth, we send to a procedure: the connection and the sql statement I want. The procedure, open the connection, execute the sql statement and close the connection. But, If I have 1000 updates to do at the same time I can't open and close the connection for each update It's not logic, I guess... Could anyone tell me how can I do that Thanks.... Thanks. Another question, please: If I have 10000 updates to do. Must I set something special I say that because la connection is opened much ti ...Show All
Internet Explorer Development IE7 File download issue
IE7: To download a file when i click on a button in a page, a new browser window is opened and if the response in the new window has the response header " Content-disposition " set to " attachment; filename='<fileName>' ". Then the file is not downloaded. The downloading dailog is shown but never completes. Looks like new browser window and content-disposition don't go hand in hand. Is this an expected behaviour. If so please explain why We are seeing a similar problem. We set window.location of a frame in our application to a URL that downloads a file - http://docserver/app/dowloader. The response includes the content-type and content-disposition header and the contents of the document. This works gr ...Show All
SQL Server Report Manager in HTA
Hello, I am loading Report Manger in an HTA and I get a javascript error (object doesn't support this property or method) when I select a report and load the report viewer. If I try to actually execute a report, I get more javascript errors: this.m_ clientController is null or not an object parent.ClientControllerctl61 is null or not an object object does not support this propperty or method and the report just seems to hang on the "Report is being generated" screen. Anybody know how to get around this issue Thanks, Tom ...Show All
Visual Studio Express Editions Can I replace 7 chars with 5 chars at the beginning of a string?
#include <string> using std::string; s.replace(0,5,"12345"); // replace the 1st 5 characters s.erase(5,2); //then delete the superfluous 2 or is there a better way iccle wrote: Not really in this case, as standard string just moves the "begin" pointer to the start of the valid data, it only reallocates memory if there is not enough space in the string. Oh right iccle, cheers but if some chars are 'deleted' from the middle of the string does a char * naturally jump to where it should have been or does it hit a NULL where the deleted (replace 3 with 2 or nothing) char and then think the string has ended Oh wait, each char has a begin pointer pointing to the next char which is automati ...Show All
Game Technologies: DirectX, XNA, XACT, etc. general use of XNA vertex types?
I am trying to create some methods to manipulate various parts of the XNA vertex structs. I want to be able to pass all the different vertex types as arguments to these methods. Because they are structs they don't derive from a base class other than ValueType. If I use ValueType as the parameter I don't have access to the propertys of the vertex. Is this a case where refelection would be usefull Can anyone help me find a way to write a method that can access the position property of any type of vertex. I hope I have been clear enough. Thanks. If at all possible, can you move your processing to build time At build time, you can make use of Microsoft.Xna.Framework.Content.Pipeline.Graphics.VertexContent a ...Show All
Windows Live Developer Forums How to update the pushpins location based upon live GPS data
I am working on gathering real time GPS location data and displaying that on the map. I see we can add pushpins but I do not see a way to keep the location lat/lon up to date with current position data. Do I simply just update that pins' VELatLon or is ther another technique to do this Thanks Rich G There is no way to change it that i'm aware of. You need to delete it and add it at the new location. The SDK shows you can delete a specific pin or all the pins. John. ...Show All
Visual C# BindingSource Filter with textbox.
Hi All! I have a question... How can I do filter the BindingSource and the TableAdapter under c# 2005 with textbox My database is mdb. Please help me! Thank's! Excause me! I said this: " Dear MasterG! Thank you the reply. It's will maybe the key. I will test it at tomorrow. Thank you, and if i have any problem, i will write. " ...Show All
Visual Studio Team System The first window before to create the project
Hi When I created my team proyect from Visual Studio 2005 a beatiful window describing msf, team of peers, first steps etc was loaded. I close Visual STudio and now I can't find it. Any clue Thanks in advance Javier If you are using agile or cmmi, the process guidence page is at http://<AT server name>/sites/<project name>/Process%20Guidance/Supporting%20Files/ProcessGuidance.htm location. You can also reach there by right clicking a workitem and selecting "project process guidence". You can go to project portal using "show project portal" context menu when right clicking a project name in team explorer. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Methods to check 2D rectangle collision?
I enjoyed Win32's IntersectRect() before for this kind of work. Is there a similar method for 2D collision I think you'd be better off just writing your own function to do the same thing as the BoundingBox.Intersects method, accept in 2D. It's a pretty simple function, although the logic is backwards. You actually test to see if the objects aren't intersecting and return the inverse value. For a BoundingBox it would look like this: public bool BoundingBoxIntersects(BoundingBox bb1, BoundingBox bb2) { return !((bb1.Min.X > bb2.Max.X) || (bb1.Max.X < bb2.Min.X) || (bb1.Min.Y > bb2.Max.Y) || (bb1.Max.Y < bb2.Min.Y) || (bb1.Min.Z > bb2.Max.Z) || (bb1.Max.Z < bb2.Min.Z)); ...Show All
Visual C# How to Switch between two forms
Hello Everyone, I have two forms, first one is the login screen and second is the one where the main stuff happens... Say LoginScreen and MainScreen two forms.... If user enters the correct password I want the application to take the user to MainScreen from LoginScreen -- This works But when from MainScreen I close the application it doesnt close completely.....It wants that LoginScreen should close the application............ How can I do that.... Thanks, Harsimrat I tried that and my login form have a cancel button....so when I cancel there I want the whole application to close with showing the dialog it just closes the dialog.... Any ways to deal with that Situation.... Thank ...Show All
Visual FoxPro Foxpro 5.0 : Excel Automation : change a memory variable to a row number
oSheet("10:" + ltrim(str(m.mrow)) ).NumberFormatLocal = "#,##0.00_)" or: oSheet( textmerge("10:<<m.mrow>>") ).NumberFormatLocal = "#,##0.00_)" or one of other N ways... ...Show All
Visual Studio Crystal Report Software Requirements
Is it necessary to have MS OFFICE installed, to export report in 'Excel format' using crystal report ...Show All
