etones's Q&A profile
Visual Basic Windows form MonthCalendar control DayRender method...
How can I programmically change the default behavior of the windows form MonthCalendar control The default control highlights the month's current date cell with the MenuTitle backcolor. This would be fine, except when you scroll to another month the same day of the month is highlighted. I'd like to see only the current day highlighted in the current month. I don't see a DayRender method, so I'm wondering if anyone has an example of how to add this feature in vb.net. I'm guessing that a custom control would be created inheriting the default properties and methods and adding a method to take care of setting the backcolor, but I'm not sure how to do it. I've played with adding simple custom controls from examples, but I don't know how ...Show All
.NET Development Could not get information for 'Students.DataSet1'
Hello again, I am trying to add a new data source on my project which is a simple form that will search a database of students through theyr IDS number and return their name. Visual studio 2005 can "see" the database and table that I need but when I add a new data source, since there is no current data source for my project, I get the following error. An error occured while creating the new data source: Could not get information for 'Students.DataSet1' What could be the problem Thanks in advance, Yiannis. Hi, Check it up, this may help http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=117164&SiteID=1 ...Show All
Visual C# How to Create a URL syntax checker in C#
I would like to create a URL syntax checker so that can verify a cerrtain URL not a phish site. But I am also aware that some URL have valid syntax but is still a phish site. To answer this, I am looking for some measures on how to verify a URL and its correct DNS equivalent. I am doing a project of mine as one of our requirements and I have decided to create a web browser (already done) and I have included there 3 anti-phish tools. One of the tools is to check for URL syntax error. i have searched for such but has given me no good results that can be of any help to my project. I was hoping that some of the bright minds here could help me or enlighten me in my search. Thanks. Hmmm... still quite vague. Could you please expou ...Show All
SQL Server Path to configuration files
Can someone tell me why path to the configuration file couldn't be relative to the package When I try to use relative path (i.e. do not specify full path to the configuration file) package then run from BIDS looks for configuration file in the solution folder instead of package's folder (project folder). Is there ane way to force package use same folder to search for caonfiguration files Thanks Andrey Makarov wrote: Ok. I'll try to live with it now=/ It seems very srange to me why no one at MSFT even think about of deployment process of ETL solutions to end-user's environment Well, they did think about it. They just got it wrong that's all :) That is to say, there is a bug. ...Show All
Windows Live Developer Forums MSR MapCruncher v3.0 released
We've just released v3.0 of MSR MapCruncher for Virtual Earth, which allows you to quickly & easily overlay your own custom tile-sets for Virtual Earth from PDF, JPEG, TIFF and other image files. You can find it here: http://research.microsoft.com/mapcruncher. For a list of changes, see: http://research.microsoft.com/mapcruncher/changes.html Cheers, the MSR MapCruncher Team MapCruncher uses the .NET framework's HTTP libraries, which I think should get proxy settings from your global Internet settings -- the same one you should see when you get connection properties from Internet Explorer. We don't set a user agent string. ...Show All
Windows Forms Install updates after the application start
Has any one attempted to detect the app updates after application start inside the program Just wondering if application has updates, how do you apply the changes Do you close the application or is there an ApplicationDeployment method that does the update for you So far all my installations are all before application start and never done after the application start. Thanks. If this is a ClickOnce app you can use the System.Deployment.Application class to check for and download updates from within your application. After downloading update use the Application.Restart method to restart the new version of the app. For more info see: http://msdn2.microsoft.com/en-us/library/ms404263.aspx http://msdn2.microsoft.com/en-us/library/s ...Show All
Visual C++ running created program
I have created a program and compiled it, now how do I run the program so I can use it Marius Bancila wrote: F5 is for running it in the debugger. Ctrl + F5 will run it. and Don't forget to Set Break point in your Code to debug the app. Thanx ...Show All
Architecture Asp.Net application hosting on Linux
Hello All, I have developed an ASP.Net application in .net framework 1.1 I want to host my application on linux server. Should I need to re-write my code or there is any solution provided by Microsoft. Urgent reponse would be great. Thanks a Lot! You are welcome, Leo Any tool for Unix I did not quite follow what you meant by that. You meant any tool for developing Mono applications on UNIX Well I dont know of too many of them. I can recommend Mono Develop. Available at http://www.monodevelop.com It's a good dev tool complete with intellisense and all that you would usually need. Regards, Amol. ...Show All
Visual Studio Invalid Dos Path error when trying to run Analyze
Hello all, I'm getting an Invalid Dos Path errror when trying to run Analyze on a SourceSafe database located on a server drive. The one clue is the acutal error (see below): Visual SourceSafe Analyze Version 8.0 Copyright (C) Microsoft Corporation. All rights reserved. Invalid DOS path: \\mcweb\sourcefiles\sourcesafe\\\mcweb\sourcefiles\sourcesafe" Obviously the path is bad as it appears to be "doubled-up" as you can see. I just can't find out why this is going on. I've checked the obvious solutions like the srcsafe.ini file and the paths are fine here (i.e. no double-entries just \\mcweb\sourcefiles\sourcesafe for the source path). So where is this path being created and or read I'm running analyze from a workstation, ...Show All
.NET Development Interop Debugging with ICorDebug
I'm working on a debugger using the ICorDebug interfaces. I'vem only just started and I'm trying to get a proof of concept for my boss. I'm able to launch or attach to managed apps and I'm getting all the proper DebugManagedCallback calls for attach, create process, load module, etc. Things get wierd when I add the unmanaged callback and set the flags for interop debugging. My unmanaged callback gets called and I call ICorDebug::Continue with the value of the out of band flag that's passed into the function. Everything works until I get the initial int 3 call. In that case the out of band flag is FALSE but whether I call Continue with TRUE or FALSE, the app is never fully launched and I don't get any of the managed callbacks. I've tried ev ...Show All
Visual Studio Express Editions crease or degrease indent
How can i get to deacrese or increase the rich text box And how do i in name of god add a table to my rich text box You will have to encode the table yourself....which means that you will have to get some indepth knowledge of rtf formatting codes: http://www.biblioscape.com/rtf15_spec.htm Here is a sample that inserts a two row and three column tableinto an rtf box (and nothing else)...it is a painstaking process but it is what works.... Private Sub Button1_Click ( ByVal sender As Object , ByVal e As System . EventArgs ) Handles Button1 . Click Me . RichTextBox1 . Rtf = "{\rtf\ansi\deff0{\fonttbl{\f0\froman Tms Rmn;}{\par \trowd \trqc\trgaph108\trrh280\trleft36" & _ ...Show All
Windows Forms DataTable
How I can get the value that is in a listbox and put in a datatable Thank you! Hi Leandro, You should use SelectedValue property for ListBox. Good coding! Javier Luna http://guydotnetxmlwebservices.blogspot.com/ ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Will XNA work with .......?
hey everyone im new to this forums and i just had a quick question but if this question has been already asked then you may lock it. ok my question is i recently downloaded Microsoft Visual C# Express 2005 will this work with XNA / is that the only program i had to download for XNA.. or in other words are there any other software i need to download to use XNA on August 30th or will XNA come with the other programs Thank You very much.. im srry i didnt quiet understand what u meant So the Visual C# express that i downloaded of micrsoft website is good for XNA is is XNA going to come with a different C# express again i'm very srry for asking again i didnt queit understand. Thank you ...Show All
Visual Studio Team System Test-Driven Development and Interfaces
Hello! I've got this interface called ISet<T> which my ArraySet<T> class implements but right now I've only created the implementation of the interface and my ArraySet code looks like: public ArraySet<T> : ISet<T> { } When I try to build ofcourse I get alot of errors that my class is not implementing the interface members. When using Test-Driven Development I should not write any code that my tests isn't testing. to be able to build now I have to write empty methods for all my interface members before I've got tests for them. Is there a good practice for how to do this or should I just write empty methods to implement the interface and then start with the tests Thanks in advance! -Martin ...Show All
Visual C++ unmanaged C++ MD5 and C# MD5 not producing the same checksum when hashing a partial file
I'm using some unmanaged C++ source code for generating an MD5 hash (It needs to remain unmanaged). This MD5 source code generates a wonderful MD5 hash when hashing an entire file. The issue that I'm having is that when I hash only part of a file. I have another application (a C# win form) which reads an xml file looking for the checksum attribute (which was written to the XML file by the C++ application and then compares that checksum (found in the xml file) to a checksum it calculated using .NET's MD5 algorithm. Both the C++ and C# MD5 checksums agree when hashing an entire file but not when hashing a partial file (they generate different MD5 hashes). The reason I can only hash part of the file is that the checksum is located withi ...Show All
