bharath-k's Q&A profile
Architecture Enterprise Library With Classic ASP
Hi, I have a application in Classic ASP & ASP.Net.For logging i want to use Enterprise library.this library can be use with .net but i want to use same library for classic ASP as well.is it possible if it is possible then how we can implement it. Ashish ...Show All
Visual Studio 2008 (Pre-release) I want to make RecentMenuItem.
It made it. However, it doesn't become movement that the focus movement and the AccessKey processing with the cursor key intended. ------RecentMenuItem.cs public class RecentCollection : IEnumerable<string>, INotifyCollectionChanged { List<string> uris = new List<string>(); public RecentCollection() { //TestCode Start Add( @"c:\datas\testdata1.dat" ); Add( @"c:\datas\testdata2.dat" ); Add( @"e:\temp\dummy.dat" ); //TestCode End } public void Add( string uri ) { uris.Add( uri ); RaiseCollectionChangedEvent( new NotifyCollectionChangedEventArgs( NotifyCollectionChangedAction.Add, uri ) ); } public IEnumerator<string> GetEnumerator() { return uris.GetEnumerator ...Show All
SQL Server Access with an SQL Server backend.
My question is this: "Does anyone know where to set up the connectivity for an access database to store data on an Sql Server " Hey Lamot, Sure thing. Go into access and choose the tables tab. Right click a white space and choose "Link Tables" in the "Files of type" drop down, choose ODBC databases. You may have to create a new DSN which is no problem, choose "New" choose "SQL Server" (normally at the bottom) next, give it a name, next, finish, choose your server, next, choose your authentication method, next, choose database for this connection, next test it if you want (the connection) finally choose finish. You are now presented with a list of tables on the sql server for the con ...Show All
Visual C++ how call an event within an event
ghfg Seems to be one of the awkward post of the forum. Please ask some specific question related to Visual C++ or please left out from the forum by not posting some Junks. ...Show All
Windows Forms I want to set two textboxes and a hole or circle(at middle of button) on top of the button(whether it may be user defined or der
Hai Friends, It is urgent to me. I have to drag and drop a button from a one panel to another panel. that button should be USer-defined button which consists of Two text boxes at bottom left and bottom right respectively on that user defined button. i will give you a clear picture of my problem by giving a small example i.e. if we open a CLASS VIEW from View Menu in VS 2005 we will get all class diagrams of correspondin project. there we can able to modify class name also on that class diagram. why i gave you the above example is my user defined button should be like that only with two or three textboxes on top of the button as well as i have to provide functionality to change a button name at runtime. please give me a po ...Show All
Visual Studio Uninstalling Visual Studio 2003 Standard after installing Visual Studio 2005 Standard Upgrade
Does anyone know whether or not it's completely safe to uninstall Visual Studio 2003 Standard after installing the Visual Studio 2005 Standard Upgrade good question. hmmm I always thought that you need the previous product installed if you have done an upgrade. I guess you could restore it back if things went wrong using System Restore ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Animation Tutorial
Is there an update on when the sample code for animation will be released Is it something that will be released in a week or so, or will it be more than a month I know there have already been some questions about this, but I would like to know how soon I can progress on my project. Thanks. leclerc9 wrote: In the mean time, I started a codeplex project for an animation component: http://www.codeplex.com/animationcomponents The component is only in the alpha stage and the current release has a bug with specular lighting (fixed in the source code though), so I can't recommend using it in a serious project yet, but the next release should correctly animate most .X files (current release can only do matr ...Show All
Microsoft ISV Community Center Forums Saving information in a form
Hope someone can help! i have created a form in access where the user needs to input some information. What I want to do is be able to save this information on the form so that the next time I open the form the information is displayed, and also have the ability to change any field and save the changes. I also want to be able to save the information in an access table. Thanks a lot, I really appreciate any feedback/suggestions. HMariana Hi, I wrote a blog entry about how to do this http://dsmyth.blogspot.com/2006/05/saving-user-interface-state.html Generally what you want to do is create a class that contains all the data entered/displayed on the form. Add two properties to the f ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Dynamically casting an object of unknown type
Hello everyone! I think I've got a tough problem for you. I've got a List<object> full of various types of objects, and I want to grab an element from the list and cast it back as the type of object it actually is. Ideally, what I would do is something along the lines of: List<object> objects = new List<object>(); MyClass instance = new MyClass(); objects.add(instance); object something = objects[0]; Type somethingtype = something.GetType(); somethingtype variable = (somethingtype) something; this works fine except for the last line. Once I have the type of the object, I can't use that to either declare a new variable of that type, nor can I use it for casting (as far as I know). Does anyone know of a way to use Type info ...Show All
Software Development for Windows Vista A generic job scheduling engine
Hi I only have a very high level familiarity with WWF. We are looking to build a load balanced generic job scheduling engine to run long running processes within our application. e.g. we can have a job to cleanse some data every night at 1:00 AM etc. Can we use WWF to build such a generic job scheduler Thanks I think this is the same issue that's in this thread - http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1243814&SiteID=1 Hope that helps Kavita ...Show All
Software Development for Windows Vista Full screen problem?
I have programmed a program using the directshow. Generally I can see local video and remote video, it works ok. But if I click the fullscreen button to set the fullscreen. I sometimes got the local video, it was not the remote video. My program as blow: IVideoWindow *m_pRemoteVideoRendererVW; hr = Graph.gcap.pFg->QueryInterface(IID_IVideoWindow, ( void **)&m_pRemoteVideoRendererVW); if (hr!=S_OK) { Log.Log(0x1, "CCyklOneDlg::OnFullscreen IID_IVideoWindow failed %08x" ,hr); return ; } // Don't bother with full-screen for audio-only files if (!m_pRemoteVideoRendererVW) { Log.Log(0x2, "CCyklOneDlg::OnFullscreen !m_pRemoteVideoRendererVW" ); return ; } // R ...Show All
Visual Studio 2008 (Pre-release) Warning as Error Shutoff
How do you shut off the "feature" and go to normal warning as warning. I have some variables that are assigned nut not used yet and I can not test because i get an error now. Help I had the same problem. I added this line Code Block < providerOption name = " WarnAsError " value = " false " /> to my web.config and it stopped turning warnings into errors. For example: Code Block < system.codedom > < compilers > < compiler language = " c#;cs;csharp " extension = " .cs " type = " Microsoft.CSharp.CSharpCodeProvider,System, Version=2.0.0.0, Culture=neutral, PublicKeyTo ...Show All
.NET Development Saving a website WITH images by using the system.net.webClient
How can I save a website including the imagefiles an not only the htmlfile by using the system.net.webClient I tried a few ideas but no one really worked well. Did you try parsing the html received and then for each file ending in .jpg, gif, (needed image names) go to the url and download it too Mariya ...Show All
Visual Studio Express Editions Rich Text Box Editor
Hello I am writing a program that opens a word RTF file in Visual basic using Rich Text Box load File command I wanna Know How could I print the file while it is in the Rich text box is there a way to print it and save it also is there a way to insert the word editor commands like changing Font Size and Color Thank You To print a richtextbox: http://support.microsoft.com/kb/811401 ...Show All
SQL Server Dynamic queue receive sql ?
Hi There My activation sp must be able to read of various queues. I load a variable with the queue name that activated the sp btu i cannot get the syntax working to receive or get a conversation group of a queue name that is a variable. I have tried: WAITFOR ( RECEIVE message_body , conversation_handle , message_type_name , message_sequence_number , conversation_group_id FROM @callingQueue INTO @msgTable WHERE conversation_group_id = @conversationGroup ), TIMEOUT 2000 ; But i get this error: Incorrect syntax near '@callingQueue' . Looks like you cannot use a variable. So i tried the following: SELECT @SQL = N' WAITFOR ( RECEIVE message_body, conversation_handle, message_type_name ...Show All
