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

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

RJMPhD

Member List

Andy Ho
RizwanSharp
Peter Peter
Marcel Vroone
_john
Alca7raz
vTyphoon
coolcoder
OmegaMan
Christopher Ireland
jcarlos.net
Struggling Dev
JohDas
Skippy_sc
BeckDMB
Venkata Prasad K
WolfgangEngel
joynerCN
Kamii47
Creation
Only Title

RJMPhD's Q&A profile

  • Windows Forms opening exe through link in an email

    I do not know whether this is possible or not but We have a requirement to open an exe (My VB 2005 windows application on a local user's machine) through heyperlink in an email passing a parameter to that exe) I can create an HTML email with a link to my exe but not sure how can you pass a parameter to that exe <a href=" file://C:/Myapppath/myexe.exe parameter1">Click to open this application</a> Honestly, I was trying to explore whether that could be possible or not. You are right it can be a huge security problem. I apologize for such question. ...Show All

  • Visual Studio Express Editions button control

    Hi I want to know is it possible for a button to have multiple events for example: I created a form with two buttons the first button(labeled "show Image") when clicked shows an image that is not visible until the button is clicked, now once it is clicked I want the button to be able to hide the image (and the label on the button to read Hide Image). How can I get the button to do this I hope this is making sense. Please explain how to do this if it is possible. The second button on my form is an exit button. The first button text is show image and once it is clicked I want it to change from show image to hide image and have the image become non visible and the button to change back to show image command. How do I write the co ...Show All

  • Windows Forms DataGridView Cellkey Property

    How can add the cellkey property into DataGridView For example: DataGridView.1Rows[0].Cells[1].CellKey = "12" ; Thank You You can always make your own datagridview column type which has a cell key property. You can find some whitepapers on making custom columns here . ...Show All

  • SQL Server Excel 2007 Services

    I have a test environment with Office 2007, including Sharepoint and excel services. I was able to publish pivot table reports to a report library and then include them in dashboards and analyse in my web browser. Now al of a sudden, after publishing an excel report to excel services and when I try to open it in my web browser, I get the following error message: "The file you selected cannot be opened because it is corrupt, protected by Information Rights Management, or in a file format not supported by Excel Services. Excel 2007 may be able to open this file". Indeed the full client is able to open the file. What strikes me is that editing the excel reports which worked fine in the past and republishing them, causes no proble ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. DreamBuildPlay is up!!!

    Now go register!!   Actual contest details to come the week of Feb 5th U can't do it....U can't give wrong information, as it's violation of "terms of use": MEMBER ACCOUNT, PASSWORD, AND SECURITY If any of the Services requires you to open an account, you must complete the registration process by providing us with current, complete and accurate information as prompted by the applicable registration form. You also will choose a password and a user name. You are entirely responsible for maintaining the confidentiality of your password and account. Furthermore, you are entirely responsible for any and all activities that occur under your account. You agree to notify Microsoft im ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Right forum? Where to obtain the source code for the XFest 06 Exploiting D3D 10 - Adv Tech talk by Shanon Drone

    Is the source code available I tried searching the forums and the web to no avail. If you mean GameFest instead of XFest (which, as I understand it, is now dead) then I'm not aware of a public download for any source code. You could always email directx@microsoft.com to see if they're prepared to let you have it. But, based on them stripping some videos out of the GameFest slides, I'd imagine you'd had to of been there to get any additional material... hth Jack ...Show All

  • Visual C# How to activate a control on the form that activated the current form?

    Hi all, i have an application with 2 forms, lets say A activates B, i cant find the way to activate one of A control from B, its important to say i'm using Show() and not ShowDialog cause i dont want to limit the number of B's, now, i tried transfering A to B like this: public B(Form A) and then activate one of its controls but it only lets me see some general methods and variables like name, activate and close, so even making its methods public wont let me see them... tnx for your help! well i solved it, i made B get a A type Form in its constructor, the problam was that before it was a type form and not a B type form, meaning, i casted it to its parent so i couldnt see its methods, i hope you l ...Show All

  • Visual C++ whats problem with this code? msvs2005

    hello, it's my first post here, i have little problem, i'am trying to build minimal executable, but i can't, the main problem is 'unresolved external symbol _memcpy' main project options is /NODEFAULTLIB, enabled intrinsic-functions and changed entry-point to WinMainA here it my simple code which reproduce error: #include <windows.h> // Constants struct _TEST { char test1[256]; char *test2; int test3; }; // Main code void _test(_TEST *tst) { ZeroMemory(tst,sizeof(_TEST)); tst->test3=666; } int __stdcall WinMainA() { _TEST mmm; _test(&mmm); ExitProcess(mmm.test3); } ps. this code successfully compiled on msvs2002-2003, please, help me to solve this, thanks We're on the same page. I think the list you give, along ...Show All

  • SQL Server Very Urgent ASP.NET 2.0 with SQL Server 2005 - ADO.NET 2.0 DataAccess using Functions (CTE)

    Dear All, We developed a web based application using asp.net 2.0 with C# and back end SQL Server 2005. In Database we wrote a CTE for get record from SQL Server 2005. In ASP.NET, we wrote Dataset (xsd file) for DAL using TableAdapter we retrive the data using Table adapter in Dataset. In Local development Web server working well. When I hosted to live web server I encounter the new type of error. The query has been canceled because the estimated cost of this query (706) exceeds the configured threshold of 300. Contact the system administrator. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where ...Show All

  • Gadgets Can i upload to live gallery ...

    can i upload to the live gallery my gadget if it has a exe embedded into it or will they reject it Hi Thomas. We will allow gadgets on the site that have EXE or DLLs, but we (or the end user) may not always have access to the additional programs or DLLs that are used or needed if distributed seperately. Ideally, if something is not available to the gadget it should fail gracefully. Thanks. ...Show All

  • Visual Studio Team System License issue? Please advice

    My company is going to purchase Visual Studio Team Edition for a commercial project. I would like to know what is the license issue I might need to know as follows: 1) We have 10 developers. All of us can install and use this copy of Visual Studio 2) Can we lend it to our colleague in another country to do another project 3) What is the best edition for this purpose (10 developers might be doing same or different .NET projects) Please kindly advice. I promise to grade you. Thanks Hi You will need one copy of either a Visual Studio Team Edition or Visual Studio Team Suite for each member of the team. Please see http://msdn.microsoft.com/vstudio/teamsystem/products/ for a descripti ...Show All

  • .NET Development Best Practice - Implementing Dispose / Exposing the Disposable Resources

    I apologize if this thread is in the wrong forum. Our general rule of thumb is if our class owns a class level unmanaged resource or a managed resource that contains a Dispose method then we implement IDisposable on our class. So, for instance, we have a class level DataTable that we instantiate from within the class, since it has a Dispose on it, we implement dispose. No problem there. My question is, if we expose that class level DataTable that our class owns via a property, or return it via a function or even return it via a reference parameter....should we still clean it up via dispose We are divided here at our shop. I say no, my boss says yes. We are currently cleaning it up in the dispose. 8) My thought is we are sending t ...Show All

  • Visual C# Enum.Equals vs ==

    Hi, I have another newbie question. I was looking at documentation for the ' Enum.Equals() ' method at the msdn2 website, Enum , and I was wondering what is the difference between using something like; enum Mammals { Cat, Dog, Horse, Dolphin }; Mammals myPet = Mammals.Cat; Mammals yourPet = Mammals.Dog; if (myPet.Equals(yourPet)) { } // and this statement if (myPet == yourPet) { } Does one method have an advantage over the other At the msdn2 website they don't even mention "==" in the documentation. Which method is the acceptable standard and considered a best practice Thanks, Erica Enum.Equals is declared as "bool Equals(object)" which means that enum value passed in would need to be boxed &a ...Show All

  • SQL Server Invalid object name

    The following T-SQL code generates the error "Invalid object name 'tf_1.dbo.ADX_1'". The database is attached; I can view the table in SSMS and using VB8 code but can't get this statement to run without error. What am I doing wrong SELECT t1 .* FROM tf_1 . dbo . ADX_1 AS t1 , tf_2 . dbo . ALN_1 AS t2 WHERE t1 . [DateTime] BETWEEN '2004-01-01T09:30:00' AND '2004-02-01T16: 00:00 ' AND t2 . [DateTime] BETWEEN '2004-01-01T09:30:00' AND '2004-02-01T16: 00:00 ' AND t1 . [DateTime] = t2 . [DateTime] ORDER BY [DateTime] I checked and all the databases that are attached from other directories (i.e., NOT C:\Program Files\Microsoft SQL Server\MSSQL\Data) on the same c ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. need help..

    im kinda new to xna and c# and when i tried to debug now i get some errors that i dont know how to fix lol. heres the errors i get this is what i wrote in: protected override void Draw(Microsoft.Xna.Framework. GameTime gameTime) { this .graphics.GraphicsDevice.Clear(Microsoft.Xna.Framework.Graphics. Color .Black); this .spritebatch.Begin(Microsoft.Xna.Framework.Graphics. SpriteBlendMode .AlphaBlend); this .spritebatch.Draw( this .mytexture, this .spriteposition, Microsoft.Xna.Framework.Graphics. Color .White); this .spritebatch.End(); base .Draw(gameTime); } and heres the errors: error 1 = Error 1 The best overloaded method match for 'Microsoft.Xna.Framework.Graphics.SpriteBatch.Draw(Microso ...Show All

©2008 Software Development Network