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

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

sergiom88

Member List

davidacoder
Paul A. Mestemaker II - MSFT
Jared2000
Nfrf
ccote
Metaferia
redneon
PolkaDance
mqsash
xlthim
arro239
Rainbow2007
Kendsr
natcat26
Ameeta Garga
Pitchec0934
PerPixel
JoeWood
Vegar Imsland
Cute_Celina
Only Title

sergiom88's Q&A profile

  • Visual Basic Label ForeColor

    Everyone I've asked doesn't know how to do this. Even my programming teacher doesn't know!!! How do I change the ForeColor property of a label box from the code Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Me.lbl_note.ForeColor WHAT GOES HERE End Sub In typing in your recommendation, I found that you can just type Me .lbl_note.ForeColor = Color. ColorName . Thanks for your help and inspiration though! ...Show All

  • Visual Basic List Folderames in a folder

    How do I list the names of all the folders inside another folder Thanks again Ahmedilyas, The second worked Me .lstTheme.Items.Add(currentFolder.Substring(currentFolder.LastIndexOf( "\" ) + 1)) The first one did not Me .lstTheme.Items.Add(currentFolder.Remove( "\\" , "" )) Gave this error message Conversion from string "\\" to type 'Integer' is not valid. ...Show All

  • Visual C# Help with C# Screencapture --> avi

    Hello, I was exploring the possibility of creating a multi threaded screencapture program, that exports the onscreen content to an avi file in real time. I have looked around the MSDN help areas and cannot seem to find the information I need, such as how to capture the screen's image and put that into video format or capture the audio from either the stereo output, or mic. From the information I did find I am guessing that I will need to employ the threading and AVIfile classes. Any help would be great, thanks. you need to some how capture it to a video format - how is this done no idea, probably using the DirectX approach. To capture screen shots to an image file, take a look at this: http://forums.microsoft.com/MSDN/ShowPost.asp ...Show All

  • Windows Forms DataGridView wont show new entry..until i run it again

    Guys..i'm new here...and new with VB2005..im having this problem..that my datagridview wont show the new entry(i have a reg page) until i rerun the program...can anyone please look it up..tnx very much..could really use some help.. Form1.vb: Imports System.Data.OleDb Public Class Form1 Private AccountsDataSource As New BindingSource(My.Application.DAL.dbDataService, "Accounts") Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Me.dg.DataSource = Me.AccountsDataSource End Sub Private Sub dg_CellContentClick(ByVal sender As System.Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles dg.CellContentClick End Sub Private Sub Fill_Click(ByVal s ...Show All

  • Windows Forms Events question

    hello there again people. i have been confused in c# events programming. i have this code and i have a form with 1 button named button1. Hi, the issue you are having is that the event keyword is really a bit of syntactic sugar. When you class is compiled each event is really replaced by a class field of the type of delegate associated with the event and two new methods are added that allow you to add delegates and remove delegates from the underlying multicast delegate, initially this delegate field is null. So when you raise an event it is really invoking all of the delegates in the underlying multicast delegates invocation list, if you have not assigned any listeners then the delegate is still null and you will get an error. ...Show All

  • Windows Forms return type

    hi all, we all write the functions with return type as int,double but why we need return type as another class name e.g public class abc() { some code here } public abc functionname() { } why we want return type as name of the class also why we need the return type of function as an object any help......... Hi, Suppose you have a class that searches a database and returns the details for a specific customer based on its ID. How would you return this info This is an example of were it is easier to return an object in case of returning double/int/... Greetz, Geert Geert Verhoeven Consultant @ Ausy Belgium My Personal Blog ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. GameComponent designer

    Would it be possible to add support for a GameComponentCollection in the designer for GameComponent Perhaps it would make sense to do this by creating a new class analogous to UserControl in windows forms, or even creating an IGameComponent so that a collection isn't required. It would be pretty easy to implement myself, but I think it would be best done as part of the framework. I think it would be handy for things like a state machines, so you could aggregate components in a state component and still have access to the designer. When you say, "...they never seem to have a site," what are you doing that relies on this Our components behave a bit differently than winform components at des ...Show All

  • SQL Server Where does the query run?

    Sorry, if this is in the wrong place!! If I'm using Query Analyzer on my local machine (XP) to connect to and run a query on a remote server (2003Std, SQL2000) which machine does the processing I am under the impression the server runs the query and send the results to the local machine, is that correct Thanks!   Taitt wrote: Passthrough Query passthrough is a query in sql server   that queries another database source probabaly another sql server, heterogeneous data source or oracle       ...Show All

  • Visual Studio Cannot load class diagram

    Have a problem with loading a class diagram and would like some pointers as to how to track down the problem. I have created a class diagram within which I created several classes. I then decided to start again and deleted all the source files. The Class diagram duly updated itself and removed all the classes. I closed the class diagram. When I tried to reopen it I received the error message Cannot load D:….. Parameter cannot be null. Parameter : key. I tried delete and create of the diagram – still no joy. Reduced the project to just the class diagram. This would now display but when I attempted to add an interface from the popup menu I received the error dialog “Parameter cannot be null Parameter: key”. Using the toolbox ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Communicating with C++ DLL

    Hi, I am having some C++ code written that will create a triangulated model for me. I will be rendering this Model in managed DirectX , so I need to decide what is best way to communicate with this code. I will be using a Vertex and Index Buffer to render the model. The choices as I see are: 1) Use C++/CLI. Performance of the Model generation is of the utmost importance. As I understand it, with C++/CLI we can retain the power of native C++ but as the DLL ultimately created from the code will be managed, we can do what we want to communicate between assemblies. The author has no experience of C++/CLI, but may consider going this root. 2) Use Platform Invoke to communicate with a completely native ...Show All

  • .NET Development Serialization & Reflection

    Hi All, Do you know that if you serialize, through the automatic .NET serialization mechanism, a class from an assembly named One and try to restore it from the same assembly renamed to Two you get an exception The reason is quite obvious but I am trying to work around to this issue. I mean, if one day I will change the name to one of my DLL the customers will never be able to deserialize their files How can I avoid this Thanks a lot, Alberto Can you factor out the actual data that is passed back and forth in to a separate dll so that it can passed across multiple versions. This way you ship multiple versions of dll that merely interacts with the core da ...Show All

  • Visual Studio Team System Is there any attribute in the Method to show it is generated by compiler

    hi all Is there any attribute in the Method to show it is generated by compiler what is the mean of IsGeneric of the Method's attribute Are you talking about InitializeComponent This is not actually generated by the compiler but actually the designer. Unfortunately, there is no indication in the IL that this is a generated method. You will need to specifically check this method. ...Show All

  • Smart Device Development regarding memory exception

    hi , i have been in developing application in smartphone using c# .. i am using visual studio 2005 .... for my application i have loaded the resoueces using the following code ... Stream s ; Bitmap img_btYellow; s = this.GetType().Assembly.GetManifestResourceStream("Widgets.res.avblue.png"); img_btYellow = new Bitmap(s); s.Close(); i have loaded 8 '.png' images through the above code using the same stream ' s ' . the application is running fine in emulator .... but it is showing out of memory exception in the exe created inside the bin folder ... even i tried using singleton object for all the classes , that i have used .. but it s still showing the same exception .. could anyone help me in resolving th ...Show All

  • Visual C++ class designer for Visual c++

    Will there be a class designer for visual C++ hope microsoft will provide one in their next version. why do microsoft push more on .net languages more business and market I guess !!! saju wrote: Will there be a class designer for visual C++ hope microsoft will provide one in their next version. why do microsoft push more on .net languages more business and market I guess !!! Unfortunatelly it won't be in Visual Studio 'Orcas' (or it's very unlikely), as explained here . ...Show All

  • Visual Studio Visual Studio 2005 Professional Product key

    My MSDN subscription lapsed in March last year. I have MSDN CDs for Visual Studio 2005 Professional and now I want to install it. Although I can still log in to the MSDN subscribers' area, I don't seem to be able to view product keys anywhere. I accept that this may be because my subscription has lapsed. The only product key in the printed documentation is for VS .NET (i.e. 2005 not specified). Is the product key the same for all versions - i.e. can I use this key to activate Visual Studio 2005 Professional Thanks in advance. Thanks but I'm not sure I understand the point(s) being made here, sorry. I understand that my ability to download could be well and truly gone but I have the CDs and ...Show All

©2008 Software Development Network