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

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

simplguy

Member List

Scott Bellware
Chris D Jones
Aleniko29139
Liu Hua
ianpender
Jonathan Argue
Mr_White
Ron L
Shailesh Chaudhary
fripper
Tanmaya
DoonNicolas!
Fata1Attack
ron nash
Nick Mc
Bryan7
Paarul
Dat Dang
MikeL.2k
Ron L
Only Title

simplguy's Q&A profile

  • Visual Basic VB6 calling a C# dll

    Hi all, I am trying to call a c# dll from VB6. I could able to add the refernece for the dll but I am not able to access the methods of the dll. What could be the reason I registered the dll using the regasm and .tlb is also generated. If any one could help me. Regards, Santha This is because C# will create a .NET CLass Library and not a COM Class Library. VB6 knows only about COM Class Libraries. So if you have the C# project you can make it a COM DLL's which then would be visible to VB6. ...Show All

  • Software Development for Windows Vista How to use DirectShow in a multithreaded application

    Dear DirectShow forum, When I call functions related to the filter graph from a different thread than the one the filter graph was created on, strange things happen (functions cause errors or do not return). How can I use DirectShow in a multithreaded application P.S. I am using DirectShowNet in the C# language. Thank you! wtrn Hi LGS, I have found the cause of the problem! You could not have known the problem without my source code. Blocking in the SG callback as per my previous thread has some side-effects which I had not considered. SetPositions does not return because the callback function is blocking. I don't know why this problem does not occur when SetPositions is called from the same thread the gr ...Show All

  • Microsoft ISV Community Center Forums Underlining a text similar to grammar or

    Hello everybody. I'm looking for something that I even don't know how it's called. In fact what I'm looking for is how to add a wave underline to a range. I already know that a text can be underlined, and underlining options in the most recient Words includes wave options; nevertheless what I'm looking for is something similar to grammatical errors If I'd use these underlining options, setting and removing this would interact with the current underlinig establish by the user, and I don't want this to happend Can you help me. Thanks in advance JM ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XNA with Windows Forms - Game does not stay active

    I programmed my own FormsGraphicsComponent like this: public class FormsGraphicsComponent : IGraphicsDeviceService , IGraphicsDeviceManager , IDisposable {   public FormsGraphicsComponent( Game game, IntPtr renderWindowHandle)   {     ...   }   ... } Then used a standard windows form as a base, placed a Panel on it, that I exposed as a property of the form. Starting with almost a standard game, I modified the main program to this: MainForm form = new MainForm (); using (MyGame game = new MyGame(form.RenderPanel)) {   game.Begin();   form.Game = game;   form.Show();   while (form.Created)   {     Application .DoEvents();  &nb ...Show All

  • SQL Server Problem passing columns as parameter!

    Dear friens, I need to pass a column as a parameter in my query. I did this: ALTER PROCEDURE [dbo] . [GD_SP_GET_UsersByDIR_COD] @Direccao nvarchar ( 11 ), @prmFieldName nvarchar ( 25 ), @prmFieldValue nvarchar ( 25 ) AS BEGIN IF @prmFieldValue = '*' OR @prmFieldValue = '' BEGIN SELECT TOP ( 100 ) PERCENT dbo . ADServico_User . UserID , dbo . ADUser . UserName AS Nome , dbo . HARDWARE . New_Computername AS Computername , dbo . ModeloPC . MOD_ModeloPC AS ModeloPC , dbo . Monitor . MON_Monitor AS Monitor , dbo . Status . StatusNome AS Status , dbo . HARDWARE . Migrada AS Intervencao , dbo . HARDWARE . MigraViaChange AS [Migrada via Change] , dbo . HARDWARE . S ...Show All

  • Windows Forms DataGridView - Copy only selected text

    Hi there. I am having an annoying problem with a DataGridView not linked to any database; I save/load to/from a simple XML file. (Using VSNet 2005 release version - developping in VB.NET) When editing a cell's content, highlighting a portion of text and pressing CTRL-C, the complete cell content is copied to the clipboard. Is there an easy way to only have the selected text copied on CTRL-C I know that I can achieve this by right-clicking on the selection and selecting copy, but for speed, I would like to use the CTRL-C method. Also, why is that when I press SHIFT-SPACE, the complete line is selected Thanks for the help, Zolt Hello, I couldn't find a way to override default be ...Show All

  • Visual J# J# source code to compare XML files like ExamXML

    Hello, I’m working on a project that includes comparing XML files and I need a source code on J# to compare XML fragments. I’m using ExamXML from http://www.a7soft.com to compare XML files but I need the J# source code. Can anybody help me. Thanks.   Oops..We wouldnt be able to help you get the J# source code -:( If you run into any issues, we will do our best to respond to your issues. Thanks, Varun ...Show All

  • SQL Server RMO Replication problems with Pull Subscriptions

    Hello, I have the following situation. I have a single publication on my publisher Server. This publication is created using SQL Server Manager. Snapshot is created completly. Now I want several Pull subscriptions from several machines to work with this publication (One subscription per machine). I'm creating these subscription using RMO. I'm synchronizing data using RMO again. My code workflow is: Syncronize -> success -> do nothing -> fail -> Check if everything with Publisher and Publication is ok -> Generate Snapshot -> Create Subsscription -> Sync again. (I tried to eliminate Generate Snapshot step but couldn't because I receive error that I must rerun Snapshot Generation.) When I tested my code per singl ...Show All

  • Software Development for Windows Vista FindFirstUrlCacheEntry and COOKIE_CACHE_ENTRY

    Hi, I'm trying to enumerate the cookies on a user's machine and present them to the user along with the associated cookie information. Using the FindFirstURLCacheEntry(Ex) and FindNextURLCacheEntry(Ex) API functions I can do this successfully in Win XP (and in Win XP with IE7 installed so it does not appear to be an IE7 issue). After having looked at the msdn entry for these functions they are listed as supported in Vista but, despite having cookies on my machine and confirming as much by looking in the cookies directory, these functions are not listing out the cookies. Is there a new API to retrieve them or is Vista storing the information differently or are they just flagged differently and it hasn't been documented Any he ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Path to becoming a professional game programmer

    I'm sure a lot of aspiring game programmers out there are looking for a road map on how to become a pro. (I know I am!).  Based on all the great products coming out, and the ones that already exist, it's probably very confusing for someone new to this.  I put together a quick "road map" based on my (limited) knowledge to help those rookies get to the finish line.  Please feel free to add to, change or comment...especially if you're already in the busniess! Update(11/22/06) - moved some items around and added new categories based on suggestions Beginner - Torque X Create some simple games with TorqueX Game Builder ...can't comment much more on this since I've never used it Begi ...Show All

  • Visual C++ Unresolved external symbol

    Hello Everybody, I am new to VC++.When i compile my i am not getting any errors,and when i go for executing it i am getting the following errors. error LNK2019 :Unresolved external symbol __imp__KOpenInterface refereneced in function "public: void __thiscall:mydialog::OnBnClickedOK(void)" Please help me to solve this errors. Regards Amar mail2amar wrote: [...] i am getting the following errors. error LNK2019 :Unresolved external symbol __imp__KOpenInterface refereneced in function "public: void __thiscall:mydialog::OnBnClickedOK(void)" It seems you need an additional third-party library file (.LIB) which exports the mentioned OpenInterface ...Show All

  • Visual C++ Importing, compiling and running source code

    Okay, so I've downloaded some source code off the net, can someone pls tell me how to get it into visual c++, compile it and run it ... can't seem to find this info anywhere. Desperately yours, ron.photog If the downloaded sample is archived (e.g. has the .ZIP extension), then un-archive it in an empty new folder. Then you should see a file having .SLN extension. Double click on it. If the Visual Studio is installed on your machine, then the sample will be opened in Visual Studio. Then select from menu Debug --> Start Debugging or press <F5> and see the effect. I hope this helps. ...Show All

  • SQL Server ROW IN A SPESIFIC ORDER

    I HAVE FOUR ROWS IN A TABLE & I WANT THEM TO APPEARS IN A SPESIFIC ORDER AND I DON'T WANT TO SORT THEM. please help me but i don't want to show SortOrder. What I have to do for hiding this colunm. Another Question is that I want to show "pie chart " Data label with percantage and as well as the name of the states Like Newyork, Calefornia (5%) (30%) ...Show All

  • Visual Studio Express Editions VC# hangs after creating new project

    Okay, this problem didn't happen the last time I installed VC# (some 6 months ago). Recently, I downloaded the VC# Express ISO (2 weeks ago), and installed it. But it hangs as soon as I create a new project. Did Microsoft change the ISO files or something Here are all the wierd things that are happening in my VC++ Express and VC# Express 1) I installed VC# Express first, it hangs immediately as soon as I try to create a new project. It just says it's creating a new project and hangs. 2) I tried uninstalling every sign of VS Express and then reinstalled first VC++ and then VC#. The problem still persists. 3) Right now, my VC++ Express install fails to install the MSDN Express Edition component. 4) Even after closin ...Show All

  • Visual Basic Code Snippets

    As I was trying to create my own snippets, I added two new ones to the database folder. Now I cannot access this folder from VB 2005 Express. Besides, I created a new folder and added a snippet. I can see the folder but when I try to get the snippet, the system says that I do not have any. Hi, Have you tried selecting ALL FILES view in the OPEN File/Project window If not each file should end with "dot vb" as in >> my_Code_Snippet_For_An_Example_Class.Vb Each "dot vb" file is simply a text file so you should be able to load it into Notepad, WordPad or Word. Better to load it into Notepad as it saves as a text file format by default. Don't forget to add the "dot vb" extension if you ...Show All

©2008 Software Development Network