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

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

adrshen

Member List

Ananda Ganesh
ChrisErven
LutherW
koosha
Vitalijus
su45937
Vipul123
GoDaddy
r0x0r
Mikaelm
pmak
MMV2007
Ljan
PoloNet
Eugene Zakhareyev
David Mc Quillan
Jim Hough
jwagner20
Tyrone Fay
StefanK
Only Title

adrshen's Q&A profile

  • Visual Studio Tools for Office Graying out CustomUI

    Hi, When an Excel sheet is in Edit mode Some RibbonUI's are grayed out. I want the same behavior for my CustomUI. How can I detect that the sheet is in Edit Mode . Hi Mike, Thats the point, I am looking for specific checking. I am looking for the event when an user enters the formula bar or enters an Excel cell. This is what I mean by Edit mode: The moment an user enters the formula bar, the standard ribbonX buttons turned gray and at the bottom of the excel document the text "Ready" turns to "Edit" or "Enter". So I am looking for that Event. with regard Vincent ...Show All

  • Windows Forms folderBrowserDialog and triggering events

    Hi, I'm using the folderBrowserDialog to select a directory. Having chosen your directory, clicking 'ok', and having control return to the form, I would like a text box on the form to be updated to display the selected directory. How can I trigger an event having clicked 'ok' on the folderBrowseDialog. Currently, if I want to display the selected directory, I have to press another button to get the text field to update. I'm sure this isn't neccessary. All help much appreciated! Chris You don't need an event or a button to update the answer is prettey simple as 1, 2, 3 Done! Try This: if( folderBrowserDialog.ShowDialog() == DialogResult.OK) { textBox.Text = folderBr ...Show All

  • Visual C# Unable to run application on different machine.

    Hi. My application is working fine on my machine when i publish my project and try to install it on different machine.. no error in installation but the application is unable to run. gives the error "SMSChat App has encountered a problem and needs to close. We are sorry for the inconvenience." How should I debug this ... i have used media player dll in my project.. no other references added. frame work 2.0 if you need anyother detail pls tell me ... THanks, Erphan Rajput. Sounds like your app is dying on an unhandled SEH exception, like an Access Violation. .NET code rarely if ever generates such exceptions so the media player is definitely suspect. M ...Show All

  • Windows Forms C++ Drag and Drop

    I know there have been lots of questions asked about this, but I can't see any that answer my particular one. I have pictureboxes that I want to be able to move round a panel freely - they contain bmps. I have implemented the dragdrop events of the panel like so: private: System::Void pnlDragDrop_DragDrop(System::Object^ sender, System::Windows::Forms::DragEventArgs^ e) { PictureBox^ picPole = safe_cast <PictureBox^> (sender); picPole->SetBounds(posx, posy, picPole->Width, picPole->Height); } private: System::Void pnlDragDrop_DragEnter(System::Object^ sender, System::Windows::Forms::DragEventArgs^ e) { e->Effect = DragDropEffects::Move; } private: System::Void pnlDragDrop_DragOver(System::Object^ sender, System: ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. HLSL Lighting: Wits' End

    I am using DxViewer to try my hand at my first HLSL shading adventure. For the life of me, I cannot get the sphere lit. It is black. I can't believe I'm the only one having this problem, but everybody seems to have lighting figured out. WHAT am I missing -- Jeff S. ///////// /// MyEffect.fx ///////// #include <sas\sas.fxh> int GlobalParameter : SasGlobal < int3 SasVersion = {1, 1, 0}; string SasEffectDescription = "HLSL Hands-On Workshop: Completed solution"; string SasEffectCompany = "Microsoft Corporation"; bool SasUiVisible = false; >; float Time <string SasBindAddress = "Sas.Time.Now"; bool SasUiVisible = false;>; float4x4 World <string SasBi ...Show All

  • Windows Forms Drawing a Line above other Controls

    Is it possible to draw a line above and under some controls I mean, can we control the Z-order of a drawn shape(I.E line) This is the code snippet where I draw a line. It should somehow appear above all controls(buttons) but it doesn't. Private Sub Button1_Paint( ByVal sender As Object , ByVal e As System.Windows.Forms.PaintEventArgs) Handles Button1.Paint Dim g As Graphics = Me .CreateGraphics g.DrawLine(Pens.Blue, Button1.Location.X, Button1.Location.Y - 5, Button1.Location.X + 30, Button1.Location.Y - 5) End Sub TIA OmidQRose wrote: Is it possible to draw a line above and under some controls Yes, you would have to use the forms paint event to pai ...Show All

  • Windows Forms Key event management in custom windows form designer

    I've been working for some months in a proyect where we have developed a custom form designer for .net 1.1 Now we want to add suport for custom actions triggered by key hits but we haven't be able to catch some keys like the direction keys (to add fine grain control movement by example). How can we do that Hi, I think that you have to get a hold of the MenuCommandService and install your own MenuCommands.KeyMoveXXX/KeyNudgeXXX command. You should probably remove any existing command first. Martin ...Show All

  • Windows Live Developer Forums Somehow deriving an AddPolygon() from a Live Search Collection

    Dear Group, I've recently begun to experiment with Virtual Earth. I do a fair amount of JavaScript programming in my real job; so I created a rudimentary script to allow me to plot a polygon representing a political district in my city. I'm an alderman running for re-election and I got interested in Virtual Earth as a means to make an on-line map of aldermanic districts. Anyway, here is my rudimentary page: http://www.swerbach.com/Neenah3rd/NeenahAldermanicDistricts1and3.htm Summary of functions: Start: Start recording mouse click positions as LatLong pairs Stop: Stop recording mouse clicks Del Last Line: Remove last polyline drawn on the map Display: Show recorded mouse clicks in new window So click the 'Start' button an ...Show All

  • Windows Forms Automatic insertion of rows thru datagrid (.net 1.1) windows Forms

    hello every one, this is my first post to this community here, well I have this problem that I'm working on a master detail form in C# (.net 1.1) in windows Forms and the problem is that when the user inserts data into the grid and goes to the next row. it is automatically getting inserted. What I want is the other way around. I want the user to click the Save button when he's done inserting data in teh DataGrid u know. I've seen that u can use DataGridView Class to stop that from happening but I'm afraid If i'm not wrong its not there in .net 1.1... So can any one here help mw get around this problem What should I do thanks in Advance well here's the code now and I've been nudging around with this since yesterday ni ...Show All

  • Visual FoxPro Data not up to date in newly created private data sessions.

    We are witnessing data not refreshing across users and data sessions until program shutdown/restart. One user adds records, then runs reports; another user then runs the same report and does not get the latest data the first user added - even minutes or hours after the addition. This is a large system (163,000 lines of .prg code, plus 68,000 more in class and screen methods), originally written in FoxPro 2.5 and 2.6, ported to VFP 8.0 with minimal code changes, except the reporting. The vast majority of the system is still @ ... SAY ... GET / READ MODAL..., etc. Also, about 100 of the most commonly used tables are opened at startup and remain open until shutdown. The reports, however are called from VFP forms, each instantiated from a (si ...Show All

  • .NET Development Oracle stored procedure design time support

    VS 2005 appears to lack Oracle stored procedure design time support. Dragging from the Server Explorer to a dataset triggers the message "The dropped database objects cannot be added to the dataset". Likewise, the TableAdapter configuration wizard disables the stored procedure options and only allows the "Use SQL statements" option. I'm looking for a confirmation that MS made a decision to leave out Oracle stored proc support or a work around that produces the same result. -Noel hi I have the same problem, I have spent two days finding information about this from Microsoft and I cannot get it ...Show All

  • Silverlight (formerly WPF/E) Sandbox client-to-client

    Hi, it’s me again with a question. Is the WPF/E sandbox going to support direct client-to-client communication of binary data streams It’s for a web based collaboration solution including video chat and working together on shared documents of various types. regards immanuel Hello, Always a pleasure to get good questions. This CTP communication stack relies on the communication stack that is available to Javascript. We are investigating scenarios such as the one you described for future releases. Extendig the sandbox is not something that is done easily. We have to understand that we are enbling important scenario without compromizing security. In the meantime, as a temporary solution, if the st ...Show All

  • .NET Development HttpWebRequest and passing a plus sign in data.

    Question What is the appropriate way to pass a plus sign as data for an http web request I use the following code to upload data to a server and have realized that the plus is being considered as a meta tag and disappears. Code is included if changes needed. Code HttpWebRequest request = (HttpWebRequest)WebRequest.Create("{URL}"); ASCIIEncoding encoding = new ASCIIEncoding(); byte [] byte1 = encoding.GetBytes("d=" + filetext); // Set the content type of the data being posted. request.Method = "POST"; request.ContentType = "application/x-www-form-urlencoded"; // Set the content length of the string being posted. request.ContentLength = byte1.Length; using (Stream newStream = request.GetReques ...Show All

  • Visual Studio Express Editions Mid-tone - image processing

    Hi! Does anybody know how to do the mid-tone image adjustment It's in Microsoft Office Picture Manager... Please! Help me! Presumably, your question is: "how do I process an image/picture using VBExpress I would like to know how to adjust the mid-tones similar to what Office Picture manager does". I think your best bet would be to find the algorithms first, then come here when you need help implementing them in your image open/save/close code. I Believe Christian Graus may have posted a few links related to that sort of algorithm (image manipulation). A google search comes up with a few image manipulation links. ...Show All

  • Visual Studio Express Editions AxwebBrowser

    Hi, I have an Ax WebBrowser app. and I am receiving errors. is it possible that because I am using C# Express and that does not contains any about SDK Hi, This the error that I am getting: no suitable method found to override . For this line of code. protected override void Dispose( bool disposing) . Can anyone help with this error Thanks jbattat ...Show All

©2008 Software Development Network