jeremymarx's Q&A profile
.NET Development Regex with Accents
Try using character classing that allows unicode values. For instance, the accented "a" that you spoke of is \u00E1 in a regex and the accented "e" is \u00E1. Treat these escaped values as a single character in your regex. So, for instance, the regex to look for hello would be ^h\u00E9llo$ . ^ matches the beginning of the string (you may want to leave this off if you are searching for this within a string.) \u00E9 matches the e ello matches the rest of the word $ matches the end of the string (again, you may want to leave this off) ...Show All
.NET Development <summary> info using Reflection ?
Is there any way to access the <summary> information of a class using reflection. All i have is the Assembly name. Using this i can access the Class, but how do i get to the <summary></summary> info <summary> isn't compiled into an assembly so you can't retrieve it with reflection. See the description of the /doc compile option . ...Show All
Visual Studio Adding nested types
I'll like to add nested types within the class designer, how can I do that I found a reference to an add-in (PowerToys) but that's build for Beta2 ( http://www.gotdotnet.com/workspaces/workspace.aspx id=fe72608b-2b28-4cc1-9866-ea6f805f45f3 ), any updates for final release date for this add-in Thanks FYI - the PowerToys add-ins have been updated to work with VS 2005 RTM. You can find the updated version at this location: FYI - a new build of the PowerToys which works with Visual Studio 2005 final product release is now available from http://www.gotdotnet.com/workspaces/workspace.aspx id=fe72608b-2b28-4cc1-98 ...Show All
Visual Studio Express Editions Does this vb express feature exist?
Hey Do you know, when you are just typing call of some function or sub, it shows you automatically its definition and some explanation. Is somehow possible to include this explanation to my functions, not only definition, which works automatically see example (gif) Yep your in luck - this is a feature added in 2005 called XML comments Its real easy to use and I'll show and example Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim x As New Class1a x.bar() End Sub End Class Public Class Class1 ...Show All
Microsoft ISV Community Center Forums Moving to Office 2003
Started by choleechee at 03-10-2005 9:38 AM. Topic has 3 replies. choleechee Joined on 03-10-2005 Posts 1 Moving to Office 2003 The high schol I teach at is considering an update to Office 2003 for the start of the 2005-2006 school year (sometime in August). I teach the Office Suite and three different computer language classes. My question is: does the Visual Basic for Applications in Office 2003 support (or use) VB 6 or Visual Basic .NET My assumption is that if Office 2003 uses Visual Basic .NET, I will need to modify the computer language classes and begin teaching Visual Basic ...Show All
Visual Basic How to Delete not Dispose of Picture
I have a picture box that contains a photo i want to delete that photo when i click my delete_image _button, right now i do it like Picture.Image.Dispose.....But this does not delete it only removes the photo...I want to delete it all the way...any help would be great thank you! Hi! You want to delete image or your want to delete file with this image To delete file - use System.IO.File.Delete(). But you must know file name and you must dispose image first (because Image.FromFile() will keep this file open, untill you dispose image). ...Show All
Visual Studio Express Editions Visual C# Express Edition Beta 2 + SQL Server Express Beta 2
Hello everybody, after clearing alot of install probs with SQLServer (April CTP) I am running into a new problem. Beta 1 let me add a Connection with "Server\Instance, Catalog" The "Add Connection" Dialog offers me two possibilities: 1) Microsoft Access Database File (OLE DB) 2) Microsoft SQL Server Database File (SqlClient) 2 only lets me connect via a physical file (else OK is greyed). Documentation "Microsoft Visual Studio Express Edition 2005" says sth. about Server Explorer, which I definatley cannot see in my IDE. Are there some data providers missing and if, how can I add them. Thanks alot in advance, Regards, Peter ...Show All
SQL Server Join filter failure
Hello there, I'm experiencing a really weird problem: I have a SqlCE subscriber connecting via IIS to a SQL Server 2005 database. The database publisher/distributor and the web server are on different machines (IIS being in a DMZ) and I want to avoid the use of Kerberos delegation to share priviledges on the snapshot folder. I configured the web synchronization to accept basic authentication and obviously the subscriber sends @internetlogin and @internetpassword. Plus, I used a DB authentication on the SQL Server database. First problem, if i disable on the publisher configuration the anonymous authentication, replication fails (I expected ...Show All
SQL Server SET IDENTITY_INSERT
We have created an "AdminUser" with the bare minimum rights for the activites it will need to do. One thing the "AdminUser" will need to do is a "SET IDENTITY_INSERT ON/OFF". I understand that for this user to be able to do this they will need ddl_admin rights. But that gives them all kinds of permission that I don't want this user to have. Is there a specific permission I can give the user so they can do the "IDENTITY_INSERT" I tried "GRANT create table to AdminUser" but that didn't work. I tried "GRANT alter any database DDL trigger to AdminUser" but that didn't work ei ...Show All
Windows Forms storing input data back to dataset
I am currently using vb express edition and when I input information at runtime into the form fields, the information is not being saved to dataset or database. I am currently using the following code: Me.Validate Me.TaskBinding Source.EndEdit() Me.TaskTableAdapter.Update(Me.TableNameDataSet.Task) Can you please help maybe you have attached your database to your project, click your database in the solution explorer. then check the Copy to Output property if it's set to Copy Always then change it to Do not Copy. http://search.microsoft.com/results.aspx mkt=en-US&setlang=en-US&q=Copy+To+Output+Databa ...Show All
Visual C# .NET Framework
Hi all, currently i'm developing an application with .NET framework 1.1 and i'm trying to install SQL Server 2005 and it's said that i must install .NET framework 2.0 Is it okay to me to have two version of .NET framework on my computer Can i use both of them i mean, in a project i decide to use .NET framework 1.1 and with another project i want to use .NET framework 2.0 Can i do that If yes, how It is no problem, the .NET Framework support Side-By-Side execution. In the config file you can specify the supported runtimes: <startup> <supportedRuntime version="v1.1.4322" /> < ...Show All
Software Development for Windows Vista Package Load Failure
Hi, I have the VS.Net 2005 Beta 2 August 2005 CTP installed. I then downloaded and installed the WWF Beta 1. Now whenever I open the VS IDE, I get the following msgbox: Package Load Failure Package 'Microsoft.Workflow.VSDesigner.DesignerPackage, Microsoft.Workflow.VSDesigner, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' has failed to load properly (GUID = {FD526733-BD72-4F81-BEEC-BEB06E2AF59F}). Please contact package vendor for assistance. Application restart is recommended .... I have tried the suggestions in an earlier post of the same nature. Both suggestions do not work for me. Please help. Dev. ...Show All
Microsoft ISV Community Center Forums Embed fonts
We have created a logo for our Company using Goudy fonts. The problem is that most computers do not have this font. Is there some way to embed these fonts into the document so they can be e-mailed with the document. Or is there another way to pull a text box with Goudy fonts into a document where it will be not changed if pulled onto a computer without the Goudy font Any suggestions are appreciated. LV It depends on which software program was used to create the actual logo. For example, if you created the logo using a vector illustration program (i.e., Macromedia Freehand or Adobe Illustrator ...Show All
Visual Studio Using target
I have a Visual Studio C# proyect and I add this to csproj file. <Target Name="promote" > <CreateItem Include="$(TargetDir)**\*.*"> <Output TaskParameter="Include" ItemName="BuildOutputs" /> </CreateItem> <Copy SourceFiles="@(BuildOutputs)" DestinationFolder="C:\foocopy\cs" /> </Target> But I can't build my proyect with "msbuild /t:promote" What's happend Thanks! Are you getting an error If so what does it state If not then I suspect that you are not getting any results because nothing is in t ...Show All
Windows Forms switch over types
dear Folks, I just corrected a mishap in my program that has to do with switch possibility. The bug was that an integer holding an internal representation of the actual Type ran out of sync with the actual Type. Hence the switch over the integer ran into a casting failure. The problem at hand is copying data into a object holding many different&n ...Show All
