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

Software Development Network >> Ron L's Q&A profile

Ron L

Member List

JJKusch
WillTurner
Ty Newton
nidionys
Frances83
ReiXou
Tom De Cort
LKharlamov
Eigentopia
Zero_
R.K.S.
jewelfire
wuytens
clearlydotnet2
lawrieg
Bill Reiss
HScottBuck
Rahul Singla
ErrolDC
Boris Mueller
Only Title

Ron L's Q&A profile

  • Visual C# Set and Get text file properties

    Hi All, My application creates text files. I need to modify, programmatically, the created file's properties (available via righ-click > properties > Summary). Example 1: Set the string "Modified by Jack" into the comment field. Example 2: Get the Revision Number. Thanx, El. What you actually want is to access the Structured Storage, which apparently, is not available via the .Net Framework. Fortunately, this guy ("Mark") wrote a C# class to do it. http://www.hightechtalks.com/dotnet-framework-interop/reading-file-summary-net-186754.html (Warning -- it seems that High Tech Talks' URL rewriter ignores everything in the URL except the ID number at the end. ...Show All

  • Visual C++ CRichEditCtrl Problem

    Hi, This is done in VC++ MFC I have created a vector vector<CRichEditCtrl*>RichEditBox; CRichEditCtrl *r1 = new CRichEditCtrl; r1->Create(WS_CHILD|WS_VISIBLE|ES_AUTOVSCROLL, CRect(x1,y1,x2,y2), p, 1); r1->SetEventMask(ENM_CHANGE | ENM_SELCHANGE ); RichEditBox.push_back(r1); With the above code I get n cricheditboxes on a window . How do I navigate within these boxes using Up Down Arrow Keys Pritha Hi, I think you can use "TabOrder" property of these controls, so you can navigate them by "Tab" key. If you want to use up and down arrow you must receive a "KeyPress" message and then set focus on CRichEditBox control. Regards. ...Show All

  • .NET Development Error in using .Net Framework 2.0

    Hi, I have installed Visual C# Express edition. The installation seemed successful (no error during the installation of .Net Framework 2.0, Visual C# Express and MSDN Express. The setup exit without error). However, after I start the Visual C# Express and creat a new Windows Application project, there is error when I click the "Design View" and "Property page" of the form and the corresponding page does not show up. The error message is as following. "The type initializer for 'Gdip' threw an exception." I have no idea what to do. I am using windows XP sp2. Thanks I fixed it. Check the 'C:\WINDOWS\WinSxS\x86_Microsoft.Windows.GdiPlus_6595b64144ccf1df_1.0.2600.218 ...Show All

  • Audio and Video Development What is the correct way to ignore RequestSample()?

    Hi. I'm making source that has multipule output stream. What should I do when I received RequestSample() for stream1 but stream1 isn't ready to send sample If I wait for stream1 to be ready RequestSample() for stream0 will not be called until stream1 return RequestSample() and cause deadlock in source. If I return RequestSample() without sending any sample by not calling QueueEventWithIUnknown(). It will cause topology to stop. My topology is like this. source->videoDecoderMFT->EVR ->audioDecoderMFT->SAR Thanks. kasumi. RequestSample is expected to turn around pretty quickly. If your Media Source knows that it does not have a sample for Stream1, then it should ...Show All

  • Visual Studio Express Editions Convert decimal to fraction

    Does VB have any built-in function to convert a decimal number to a fraction What I need is a way to convert a decimal number into a fraction string rounded to the nearest 32nd. So for example, .375 would be converted to "3/8" or .428 would be converted to "7/16" after rounding. If VB doesn't have this built-in, does anyone have code for a function to do this Thanks... Hi, Is your problem solved If yes then could you please mark reply as answered Thank you, Bhanu. ...Show All

  • Visual Studio Express Editions where are the Gacutil and the Regasm tools? and how to use them

    hi, i was trying to learn how to build an IE toolbar, i found this article http://www.codeproject.com/csharp/dotnetbandobjects.asp i had build the assembly ,drag and drop it into the GAC but nothing happend, then i used the gacutil /if , again nothing have been added to the IE toolbars this article talk about a tool called regasm"register assembly" , i have C# express but i didn't find this tool in the SDK folder, so where can i find it or  is there any alternative to it, thanks in advance hi, thank you , i have found it in the path that you sent, "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727" if any one was interested in this question "How to register an Assembly ...Show All

  • SQL Server No Debugging and logging when a single script task is executed

    Hi, I cannot execute a script task in the VBA code window. I cannot debug or log if I run a single script task from the right click Execute Task . Every time I have to run the entire package in order to be able to debug. What am I missing appreciate a help. Gulden Gulden wrote: Thank You.. I guess it is the only way.. If memory serves correctly, yes, it IS the only way. We hope this will change in the future. It certainly SHOULD be changed! -Jamie ...Show All

  • Windows Forms A DetailsView Control for Winforms?

    Hello, I have gotten spoiled by the new DetailsView control for ASP.Net 2.0 which encapsulates all of the dirty work needed to switch between viewing, inserting, updating, and deleting for a databound object. Now that I am working on a Winforms application I'm trying to figure out the best practice for handling these rather common tasks. I dislike the look and feel of "in place" editing on the grid view control. Do you typically create seperate forms for inserting/updating/viewing Do you group these items into different panels or group boxes and then play the "hide the unused control" game Do you simply use the same form for these actions and simply disable the textbox (or other editing controls) for view m ...Show All

  • Visual Studio Express Editions spellchecker?

    I want to make a spellchecker for a program of mine.  I did a search of the forums and found some code.  I slightly edited it to match my individual use and apparently did something to it to make it not work.  because it ended up throwing the exception and I KNOW I have MS Word. This is the code I used:  Function spellcheck( ByVal text2check As System.Windows.Forms.RichTextBox) If text2check.Text.Length > 0 Then Try text2check.SelectAll() ' Copy everything from the richtextbox to clipboard text2check.Copy() ' Make a Word server object. Dim word_server As New Word.Application ' Hide the server. word_server.Visible = False ' Make a Word Document. ...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

  • Windows Search Technologies Index Global Address List

    Is there anyway to get Desktop Search to index the Global Address List I'm talking about the global address list that I think resides on the Exchange server.  Desktop search indexes my Contacts in Outlook, but those are only the addresses that I have manually added to Outlook.  I also want to index the Global Address List that has all email addresses for the entire company.  I have been trying out Copernic Desktop Search 2 vs Microsoft Windows Desktop Search.  The Copernic Search has an option to index the Global Address List.  This is great because I can just type in a name on the search bar and get an instant phone/email/office directory displayed.  Is there anyw ...Show All

  • SQL Server How to get the full-text catalog name of mssql 2005 database through query?

    Hello All, Could any one please let me know how can I get the name of full-text catalog of a MS-SQL database through query My Intention to write an SQL-query is to do the following: 1. check if a databse has full-text catalog enabled. 2. If so then get the name of the full-text catalog. 3. Add "MOVE sysft_<full-text catalog name> TO <desired loc>. Thanks and Regards, Anbu If a database has fulltext catalog enabled, then select name,path from database-name.sys.fulltext_catalogs should return the name of the fulltext catalog and the physical location of the catalog. If the database is not enabled with any fulltext catalog then the above query will not return any rows. ...Show All

  • Visual Studio 2008 (Pre-release) Restore smart tags

    After doing the procedure to restore smart tags - it worked, but now I have not Nav Back and Nav Forward buttons and can't figure out how to add them back. Any ideas Try this blog post, http://blogs.msdn.com/hartmutm/archive/2006/05/23/604978.aspx#614301 ...Show All

  • SQL Server Creating UserInstance DB at application startup

    Hi, I'm developing a WinForms app that will be deployed via ClickOnce deployment and that uses SQLExpress as a local data store. In order to avoid the upgrade DB problem, I'm having my application check for a database and check its version on startup. I am able to successfully create the database if it does not exist, but when I try to connect to the new database, I get a login failed error. However, if I restart the app, it is able to connect to the newly created instance. Here's what I'm doing: If the db does not exist, I connect using this connect string: Data Source=.\SQLEXPRESS;Integrated Security=True;User Instance=True;Connect Timeout=60 I then issue a CREATE DATABASE command and run my table scripts. I then try to reconnect as D ...Show All

  • Visual Studio Generating API documentation in visual studio 2005 environment

    I wonder does visual studio 2005 provide any extensive features to generate API documentation from the classes we design and coded so it makes it easier for us to stream line communcation among multiple developers. kindly let me know if there is such a tool or feature available. if not, do tell me of any other viable solutions out there that could automate generation of API. Thanks a million If you are using .Net 2.0 then NDoc will not work for you since it does not support all the features, plus support and development I believe has been discontinued. Mark. ...Show All

©2008 Software Development Network