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

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

Prash1

Member List

DGRASoft
twolfkg
Krivahn
Ori'
Awais786
Andreas Jaeger
NukeMan
Sébastien Nunes
boston_sql92
Timotei
apunater
Fadzli
NeederOfVBHelp
Kiran Pillai
DRoden
Beetle54
Kosmo007
c28560
MuscleHead
GinaK
Only Title

Prash1's Q&A profile

  • Windows Forms can't change mouse cursor position...

    Hi, I'm trying to change the mouse cursor position with: Cursor.Position = New Point(0, 0) But it doesn't work. If I watch the value of "cursor.position" right after this line is executed, I see that it did change, but the mouse cursor didn't really move. Any ideas I've found the problem, it's amazing... I'm running Windows inside VMWare. When I tried to run the same program in another computer (with native Windows) it worked. Obviously it's a bug in VMWare then.. I must say it's the first bug I've found there... ...Show All

  • Windows Forms Need same event handlers for all controls within a container control.

    Hello, I need ideas how to solve following: I have a UserControl containing several Labels and Panels which provide static information to user. The whole thing shall act as a single component when it comes to handling mouse and/or kbd events, i.e. user input. That means that wherever the user clicks it, the same event handlers or popup menu shall be invoked. If a kind of transparent panel covering the whole UserControl and capturing all input events could be achieved, that would be a solution, however I don't know if that's possible. I don't wish to specify all the same event handlers for each label and panel inside the control as that makes designing less comfy and it's about to forget setting all the handlers properly anyways. Any ideas ...Show All

  • Visual C++ VC++ shortcuts cheatsheet

    I just watched VC++ 2005 IDE tips and Tricks video with Boris Jabes on Channel9 and I have 2 questions: 1) Does anyone have a VC++ 2005 shortcuts cheatsheet (including the commands Boris mentioned in the video) 2) Does anyone have a list of commands that can be run from the command edit accessed with "<ctrl>- " Boris demonstrated the ">open" command, are there others and where can I get a list of them Thanks for the help, Scott Boris, Thanks for the reply. I subscribe to the VC++ Team Blog so I'll most likely get the email once you post the cheatsheet there, thanks! I must say, your team is doing a great job making the IDE programmer friendly. Thanks for that also. I'm looking forward t ...Show All

  • Visual C++ migrating a big vc6.0 project (including dll lib)to vc2005

    I am going to migrating a big vc6.0 project (including dll lib)to vc2005 ,is there any good step to do this migrating. If you can suggest some good website for doing this migrating, that will be great. Thanks Just open the VC6 project with VS2005. It will automatically convert the project. You may have a few issues if you use .lib files and compile errors due to stricter standard compliance. These kind of problems are discussed at length on this forum, use search to find the relevant threads. Good luck. ...Show All

  • Visual Studio 2008 (Pre-release) xbap security issue with images

    I am working on an xbap deployed from the Internet accessing images on the client pc. I can get the image into the app using the OpenFileDialog partial trust technique but run across the following error: System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.MediaPermission, WindowsBase, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' failed. at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet) at System.Security.CodeAccessPermission.Demand() at MS.Internal.PresentationCore.SecurityHelper.DemandMediaAccessPermission(String uri) at System.Windows.Media.Imaging.BitmapFrameEncode.set_InternalMetadata(BitmapMetad ...Show All

  • SQL Server .ReadInnerXml not returning native entire document?

    what am I doing wrong here in terms of how I am reading the xml doc's contents .InnerXML must be placing additional chars into the string. The funny thing is the document on the file system i am reading had it's content come directly out of the same table I am wishing to insert it back into Thanks guys sqlclr procedure... using System; using System.Data; using System.Data.SqlClient; using System.Data.SqlTypes; using Microsoft.SqlServer.Server; using System.Xml; using System.Diagnostics; public partial class StoredProcedures { [Microsoft.SqlServer.Server. SqlProcedure ] public static void usp_ProcessResumes() { using ( SqlConnection oInProcessConn = new SqlConn ...Show All

  • SQL Server SQL Query help

    i have table "clubinfo" with following fields and data. ClubID FranchiseCode StartDate EndDate ------------------------------------------------------------------ 786 AAAAAA 2005-12-14 15:20:43.340 2006-06-14 14:40:53.270 786 BBBBBB 2006-06-14 14:40:53.270 2006-08-21 14:24:28.060 786 CCCCCC 2006-08-21 14:24:28.060 NULL above three rows describes franchise AAAAAA started on 2005-12-14 and sold on 2006-06-14 to BBBBBB so franchise BBBBBB started on 2006-06-14 and sold on 2006-08-21 to CCCCCC and Endate for CCCCCC is NULL so its a current franchise i wanted to write a sql query that will find franshisecod ...Show All

  • Windows Forms GUI Design Issue

    I'm trying to build a GUI for my application, I'm having a problem deciding the best way to Design the GUI. The end user wants to be able to create a grid like scenario. Ex: ----- LTA ------- 70 80 90 680 GrpA GrpB GrpC FCA 600 GrpC GrpA GrpB 500 GrpB GrpC GrpA Lets assume this is a grid of scenarios my end user wants to describe. FCA and LTA are Values from a database Table. GrpA will be all Customers with: LTA equal to 70 and FCA equal to 680 {plus} all customers with LTA = 80 and FCA=600 {plus} all customers with LTA=90 and FCA =500 Same kind of deduction goes for ...Show All

  • Visual C# How do I code for this?

    My application reads a text file in, removes any trailing spaces from each line in ths file and writes it out to a text file. Simple enough I thought. The user has encountered this criptic message and I have no ideas as to it's source nor how to correct it. Is this error from my code or did the system 'hiccup' and interupt the process The Dialog title is: File Trimmer.exe - Common Language Runtime Debugging Services The body of the message: Application has generated an exception that could not be handled. Process id=0x914(2324), Thread id=0xf58(3928). Click OK to terminate the application. Click CANCEL to debug the application. I've tried to locate where this may have occured to no avail. I've double-check ...Show All

  • Visual Studio Express Editions Saving and Opening files

    I want to save and open a file with a unique extentions. How do I do that Are there other ways to do it besides writing a text by console. And to do it where it performe an action when the file is opened. For example: Writing a text to a lable and saving it onto the computer as file with a unique extention and when you open that file with that unique extention the same lable comes up. I was thinking that this function might help. I dont know. I am not that good with enmues in VB. Overloads Public Shared Function Open( _ ByVal path As String , _ ByVal mode As FileMode , _ ByVal access As FileAccess _ ) As FileStream http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpref ...Show All

  • Windows Forms I had to implement additional data sources for DataGridView

    Once data is bound to the DataGridView control, the behavior of the control becomes very hard to influence and I saw only one way out, and that is to implement data binding by overriding the control's DataSource property and simply not bind data to the base control itself. I ran into problems when I wanted to use the following code in unbound mode: private void dataGridView1_RowPrePaint(object sender, DataGridViewRowPrePaintEventArgs e) { DataGridViewRow row = dataGridView1.Rows[e.RowIndex]; MyItem item1 = row.DataBoundItem as MyItem; //trying to do something with item1 but item1 is null at this point } Could you tell me how can I assign DataGridViewRow.DataBoundItem property for newly ...Show All

  • Visual Studio 2008 (Pre-release) Why can I not see the wsdl file?

    Hello friends. Well, when I self-host services and enable mex of course, I can see the wsdl file. However when I host it on IIS7, even the most basic sample, I can host it and I can use svcutil to download metadata and everything, but when I click on the URL for the wsdl file, the page gives me error and I can't get to wsdl file. Did anyone have the same problem as I do Is there any solution for this Thank you. Sorry guys, I got it working. Well  the problem was, when I accessed svc file, it gave me the address where the wsdl file is. Instead of "localhost", it gave me "computer name" on the address. So the error I was getting was, it cannot look up the ipaddress of "computer name" and DNS server gave back the&nbs ...Show All

  • SharePoint Products and Technologies Creating a Facebook

    Hi all, I want to create a facebook in MOSS 2007 containing pictures of all colleges, I can’t find any information about creating this, could you please help me Thanks Mart1n0 I found a sol ution for creating a face book: Create a new teamsite called "Face book", with the team site open, click on the “Create” link In the list of lists, choose “Picture Library” On the “New Picture Library” enter “People” in the title and click “Create” Click on the “Add Picture” link, the “Upload Multiple Pictures” When you have uploaded all the picture of people, click “Go back to “People” Click on the “face book folder ” folder, then click on the “Contacts” list Add the contac ...Show All

  • Windows Forms Using splitter: opening file using c# treeview

    I have a winform with splitter on it that divide the window to 2 parts. The left part holds a treeview that its source is xml file. the right part is the main\content window. I want that when the user clicks on a node in the treeview in the left part, a document (of any type: html\xls\word\powerpoint...) will be opened in the right part. How to do that Thanks a lot You can do something like this create an enum that has all the supported types like this enum FileTypes { PDF, XML, DOC, PPT, XSL } and create a simple object that contains class FileTag { FileType type; string fileName; } then in every treenode assign the Tag property to an object of type FileTag with corresponding filename and type. then i ...Show All

  • SQL Server Script task: Bindingsource

    I used a binding source in my script task codes to filter the data table. when i used that, even if i declare it (dim bs as bindingsource), i'm still having an error - "type bindingsource is not defined". cherrie ...Show All

©2008 Software Development Network