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

Software Development Network >> Jimmy the Dev's Q&A profile

Jimmy the Dev

Member List

Marzullo
chub xbox
mintaka3
SQLme
thedo
GS80
@nt
BillyRay
keptin
Laxmi.
Duque Vieira
JeffK_
Jkumar
Sam Jost
cgkitab
Picho451970
Bryan Tang
DotNet_Student
Chris W
waruwaru
Only Title

Jimmy the Dev's Q&A profile

  • Windows Forms MDI Client should manually register in menu without beeing instantiated

    I build an MDI Application. Each different kind of MDI Child should be able to selfregister in a global menu bevor a concret Instance is created. Is this possible, and how. The best form me would be a base class for all MDI Childs where this functionality is covered. I am looking forward for your help. Thanks. nobugz wrote: I'm guessing you're looking for a way to dynamically add MDI forms to a parent that doesn't know about them. It is difficult to query a class for a property without instantiating it. Even more difficult if you don't know the class name. Reflection could help out. You can add a constant to a class and retrieve its value. Something like this: public partial class Form2 : Form { ...Show All

  • Visual Studio 2008 (Pre-release) Refactoring?

    Will you ever implement refactoring for Visual C++ QbProg Actually, I think the issue is not a lack of recongition of the need, but the inherent difficulty. At some point (post Orcas), the C++ compiler will have shiny new AST-based front-end (like the C#, VB, J#, etc. compilers already have). Having an AST-based front end greatly enhances the ability of the team to build tools like refactoring since they don't have to reproduce all of the subtleties of parsing C++ (it's literally an order of magnitude harder than parsing just about any other language). ...Show All

  • Visual Studio Problem debugging multithreaded application

    I have mixed C# - C++/CLI project. In C# code there is event handler which is called from a worker thread. When I set breakpoint in event handler, debugger breaks on it. When I press F10 or Step Over, debugger hangs for 5-10 seconds, at this time I see tray tooltip "Visual Studio is busy". Then the following output appears: 'CameraTest.exe': Loaded 'C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\System.Configuration\6e7f914e29c6414cba7d15ee00017064\System.Configuration.ni.dll', No symbols loaded. 'CameraTest.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll', No symbols loaded. 'CameraTest.exe': Loaded 'C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\System ...Show All

  • Visual Basic Data transfer from multiples textboxes to temporary listview Or any otherthing(URGENT)

    Hi Experts, I have problem like, In my form i have 3 textboxes in a 3 row , Like this - - - - - - - - - when i press save , I want to transfer all these values into list view , again i will enter some values in these textboxes , i have to append these datas into previews list view. How to do this......... Thanx and Regards Selva.R I have created raise event (In another form i have created listview) function in another form That is objpreview. I am able to add one ROW in the listvew I have 3 rows like this, that is txtfcamt1,txtfcamt2,txtfcamt3 like this i want to add these 3 rows textboxes values into listview Dim arr() As String = {Invoice_No.Text, txtfcamt1.Text, localrate1.T ...Show All

  • Windows Forms How do I implement copy/paste listview which has multiple colum?

    Hi all, Is there anyway properties that I could turn on to allow copy/paste highlight items from listview which has multiple columns Best Regards, Here we go. It works string data = "" ; ListView listView = lvDifferences; if (listView != null ) { foreach ( ListViewItem item in listView.SelectedItems) { string line = "" ; foreach ( ListViewItem . ListViewSubItem subItem in item.SubItems) line = StringUtil .Append(line, "|" , subItem.Text); data += line + "\r\n" ; } Clipboard .SetDataObject(data, true ); } ...Show All

  • Visual Studio Created Items not accessible even after target exits (MSBuild Tasks Properties attribute)

    The Project File < Project xmlns = " http://schemas.microsoft.com/developer/msbuild/2003 " DefaultTargets = " foo;bar " > < ItemGroup > < X Include = " 1;2;3;4 " /> </ ItemGroup > < Target Name = " foo " > < MSBuild Targets = " little_foo " Properties = " P=%(X.Identity); " Projects = " $(MSBuildProjectFile) " > < Output TaskParameter = " TargetOutputs " ItemName = " Z " /> </ MSBuild > < Message Text = " [foo] @(Z) " /> </ Target > < Target Name = " little_foo " Outputs = " @(local) " > < CreateItem Include = " $(P) " > ...Show All

  • Smart Device Development TextBox.Text

    I want to delete a character from a TextBox.Text when I clicked a button. It is easy when I delete from the end. Hovewer I couldn't find how to delete when the cursor is in the middle of the TextBox.Text. How can I manage this problem How can I found where the cursor is Thanks. Could you help another problem related to this When I clicked delete button in the form, the cursor disappears. How can I always make the cursor stable in the textbox ...Show All

  • Visual C# Array of struct A in struct B!

    Hi struct A { int x; int y; } struct B { int z; A [] tab=new A[14]; //cannot have instance field initializer in struc ...I know! } but i need an array of struct in another struct thanks. struct B { int z; A[] tab; public B(int intZ, int tabLenght) { this.z = intZ; this.tab = new A[tabLenght]; } } More clear now ...Show All

  • Visual C# Component class, list of values to an attribute.

    I have a component class with say two attributes, fieldValue and fieldType. This is how my code looks like: private string fieldValue; public string FieldValue { get { return fieldValue; } set { fieldValue = value; } } public enum DataTypes { String, Integer } private DataTypes fieldType; public DataTypes fieldType { get { return fieldType; } set { fieldType = value; } } The thing is I want my enum to be of standard C# datatypes like string, Int32, long etc., but I m not able to do that. I want my users to select the fieldType from a drop down list and that should contain almost all the possible C# datatypes. How would I do that Thanks a lot !! What is ...Show All

  • Visual Studio 2008 (Pre-release) cant log in vpc orcas !

    I am using Visual Studio Orcas VPC Credentials: Username: Administrator Password: P@ssw0rd but it wont log me in Please do put that info on the page where we download the VPC. Its invaluable. I had the same problem with the TFS VPC and gave up trying to log in on that and as a result i lost several weeks of possible learning about the product. Now i've got a project with TFS in it and have got to cram as much as possible to be productive. Benjy ...Show All

  • Windows Live Developer Forums Not displaying links correctly in messages sent by the AddIn

    Hi! My question may seem trivial, but It kind of bugs me. I am making an AddIn that translates the tag WIKI<Something> in a link to the Wikipedia's page for Something. I tried it out, it worked ok, but when I sent a message to some friends, they complained because the URL was displayed as simple text. However, with normal messages, that is sent by me directly, the URL are normally hihlighted as URL's. My code is below: using System; using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Messenger; using System.IO.IsolatedStorage; public class WikiAddIn : IMessengerAddIn { private MessengerClient mclient; private String language; IsolatedStorageFile isol; void IMessengerAddIn.Initialize(Messeng ...Show All

  • Visual Studio 2008 (Pre-release) MediaTimeline reports wrong timeline in Beta 2.

    Hi All, I try to display playback time for video file using MediaTimeLine, but in Beta 2 when CurrentTimeInvalidated occured, the CurrentTime for mediaClock always will be zero(00:00), is this a Beta 2 bug or the way I use MediaTimeLine is wrong The following code shows how I use MediaTImeLine: mediaTimeLine = new MediaTimeline(new Uri(filePath, UriKind.RelativeOrAbsolute)); mediaClock = this.mediaTimeLine.CreateClock(); mediaClock.CurrentTimeInvalidated += new EventHandler(ClipCurrentTimeInvalidated); mediaClock.Controller.Begin(); and the following code shows how I handle CurrentTimeInvalidated: void ClipCurrentTimeInvalidated(object sender, EventArgs e) { string ct = this.mediaClock.CurrentTime.ToString(); // Dis ...Show All

  • Audio and Video Development MFT help

    I'm trying to create an MFT for Windows Media Player 11, based on the GrayScale sample in the SDK. The problem is in the ProcessOutput method. I'm unable to "Lock" the input buffer; it works fine on the output buffer. hr = pIn->QueryInterface(IID_IMF2DBuffer, (void**)&pIn2D); if (SUCCEEDED(hr)) { ::OutputDebugString("input buffer: 2D\n"); hr = pIn2D->Lock2D(&pSrc, &lSrcStride); } else if (hr == E_NOINTERFACE) { hr = pIn->Lock(&pSrc, 0, 0); lSrcStride = lStrideIfContiguous; //assert (cb == m_cbImageSize); } The first QI returns E_NOINTERFACE and the attempt to call Lock on pIn results in E_NOTIMPL. If I check the size of the input buffer, it's zero -- is this normal ...Show All

  • .NET Development Connecting SqlExpress from .net 1.1

    hi I had one problem when connecting to sql express from my .net web application in 1.1 It retrives the values from databse but when i am updating the data or inserting the data then it gives exception that sql server does not exist or access denied here is my connection string public static string connStr = @"Data Source=servername\sqlexpress;Initial Catalog=db_user;Persist Security Info=False;User ID = SA;Password ="; Hi All, Finally i get the solution I added the tcp/ip port and set my authintication mixed Thanks Friends ...Show All

  • .NET Development Using reflection to Build Dynamic Report Form

    I want to use reflection to build a dynamic report form using the Table Adapters created with the Data Sources Wizard. I need to be able to reference the current instances of a Table Adapter and DataTable knowing only the names of the Table Adapter and DataTable at runtime. The name of the objects will eventually be passed from a value stored in a database. I have figured out how to get a reference to the class for the Table Adapter, but not how to get a reference to the actual current instances of the Table Adapter or Data Table. The code I have so far is: Assembly a = System.Reflection. Assembly .GetExecutingAssembly(); foreach ( Type t in a.GetExportedTypes()) { string tableAdapter = "CasesTableAdapter" ...Show All

©2008 Software Development Network