Srefae's Q&A profile
Visual Basic Terminal Font
Is there a way to use the font ' Terminal ' Or any other font on your system. I notice that the Font dialog box doesn't include all the fonts on my system. Would I have to include the font in my project I am trying to use this font for a label. I'm porting some software, which I need Hexadecimal view of the data as well as a Raw data view (in other words the true ASCII char) I've had the same problem, I have no choice. I'm upgrading from VB6 and Delphi6 to VB.Net 2.0, Terminal font works fine with them. So I've searched the net and found a True-Type font which supports ALL Ascii characters! Yes ALL. Plus it works fine with .N ...Show All
Windows Forms Why VisibleClipBounds not return with pagunit?
I put a breakpoint to the following code from a form method to see whenever I change GraphicsUnit from any one like inch,millimeter,pixel, It always return the sizef with pixel unit.why VisibleClipBounds should return rectangle with pageunit private void OnPaint(object sender, PaintEventArgs e) { Graphics grfx = e.Graphics; grfx.PageUnit = GraphicsUnit.Inch; SizeF sizef = grfx.VisibleClipBounds.Size; Pen pen = new Pen(Color.Black, 1 / grfx.DpiX); grfx.DrawRectangle(pen, 0, 0, sizef.Width, sizef.Height); } Help me.I am confused. The unit for Graphics.VisableClipBounds resulting a rectan ...Show All
Visual Studio Team System Can a generic test execute an existing TestComplete script?
Hi, I am very new the the VS system. Is it possible currently to wrap an existing automated script that was created by AutomatedQA's TestComplete I have attempted doing this but VSTS says "No process is associated with this object." Thanks! Charity Hi, You Should be able to do this with a generic test. Make sure that you point the generic test to the TestComplete exe, and then specify the script that you need to execute as part of the command line parameters. I dont know anything about TestComplete, so if the above isnt working, then you might have to help me out a little bit :) Yours, Dominic ...Show All
Windows Forms Visio Drawing control won't load in 2005
When it hits the endInit call, I get a "class not registered" exception. I can see the control on the form. Any ideas I have visio pro 2003 and can do this in 2003 vs just fine Did any of how find a solution to this problem I am facing the same issue .... VC# 2005 and .NET 2002 - Visio drawing control&nbs ...Show All
Software Development for Windows Vista CompositeActivityExecutor - what is the equivalent in Beta2?
Hi folks, I'm migrating/upgrading some of my activities from Beta 1. Some classes have moved around in the Workflow Framework. Anyone know what's the equivalent Many thank, Mick. Hi Mick, This type was made internal. I got this from the doc referenced here . Most commonly types were made internal because they were not intended to be a point of extensibility and hence were not designed to or tested to be derived from. Regards, Paul ...Show All
.NET Development AppDomain.CurrentDomain.Load semantic ?
I am trying to remotely load an Assembly into the current AppDomain in order to perform a deserialization requiring the types defined into the particular assembly. Here is what I have tried (but it fails): public void MyMethod( byte [] rawAssembly, byte [] rawMsg) { AppDomain.CurrentDomain.Load(rawAssembly); // no pb here // deserialization of 'rawMsg' fails (unknown types) } As a dirty workaround, I am using public void MyMethod( byte [] rawAssembly, byte [] rawMsg) { Assembly assembly = AppDomain.CurrentDomain.Load(rawAssembly); // no pb here   ...Show All
SQL Server Cannot Connect to Server
Hi everyone, Kindly assist me to resolve this error: TITLE: Connect to Server ------------------------------ Cannot connect to DERRY. ------------------------------ ADDITIONAL INFORMATION: [C:\WINDOWS\assembly\GAC_MSIL\Microsoft.SqlServer.SmoEnum\9.0.242.0__89845dcd8080cc91\Microsoft.SqlServer.SmoEnum.dll] InternalsVisibleTo declarations cannot have a version, culture, public key token, or processor architecture specified. (ObjectExplorer) ------------------------------ BUTTONS: OK ------------------------------ Hope to hear from someone soon. Thank you very. Derry Please follow http://forum ...Show All
Visual Basic Get Local Users Full Name
Hi All I did post this in VB General but no-one can come up with a answer there so... How can I get the local users full logon name under VB.Net now i.e. John Smith as opposed to SmithJ There was a function for VB6 that would return this but under NET... There was no built-in function for user full name in VB6, whatever API you were using to get it should translate to .NET. ...Show All
.NET Development SQL to retrievedata
Hey Guys: I have seen this done in a program and at one time i did it but not exactly get it right. I have two tables in my data base. The first is a table with the PubID and a number that corresponds with the second table with a list of titles. table1---is PubID----and number of title is 10----so when i enter the number 10 in the column i want the title to appear in column 3. PubID TitleNum Title 1411 10 Jack and Jill sucks I want to save and delete in table1 one but not in table 2. Now i ask you Can you help me with this one I know it can be done I saw it but not the code. ...Show All
.NET Development Recursive searches with Regex Class.
Hi! How can I do recursive searches with the Regex class. I know the Sample with the matching Parantheses ()*, but I need it with BEGIN/END blocks e.g. some text begin more text begin even more text end end second part begin text end So the expression should match the outermost begin/end blocks. How can this be done *) \( ( > [^()]+ | \( ( <number>) |& ...Show All
Visual Basic matrix algebra, how to do it in VB
hi, I want to perform some matrix algebra in vb.net (m columns, n lines, m x n) - transpose - inverse - determinant - add, minus, multiply... Anyone can help And how to input those matrix in vb (from a text file, or from excel data, or by input by hand) Please help thanks Hi, You can create a user control that dynamically creates textbox upon a property specification. And you can store this values in a multi-dimensional array for your calculation. for example a 3x3 matrix could be stored in an array with a 3 dimensions with 3 rows... cheers, Paul June A. Domag ...Show All
Visual C# Creating instance of Generic type using parametised constructor
Hi, Why does the code below not work I've constrained the T type of the Bar class to be a "Foo" but I still get compiler error "Error 1 'T': cannot provide arguments when creating an instance of a variable type" (beta 2 - 8.0.50215.44). Since I've constrained T to be a class rather than interface, shouldn't I be able to use the Foo(int) constructor Is there another way of doing the same thing In my case, Foo is an algorithm (i.e a numerical interpolation scheme) and Bar is a data class which I'd like to associate the algorithm with. It seems like a nice way of doing things but it doesn't work :( Dave pub ...Show All
.NET Development add reference of winforms exe to another
hello all, i am made an application in vb.net and another in c#.net. I want to add reference of c#.net application to vb.net application. How can i do so please write soon! thanks Hi! You can reference to dll-assemblies, not exe. So your C# must be in Class library or Control library assembly. Also what do you mean reference Embed some control and use some class or launch external C# application from VB ...Show All
Visual Studio Team System When is VSTS Beta3 Extensibility Kit releasing?
I'm looking for sample apps for Beta3 WorkItem Object Model to import bugs from Beta2 server to Beta3 server. I was told that it will be releasing soon. Does anyone know the exact date Thanks, Anu It'll probably be released in a week or so. You'll be able to find it at the following page. http://www.vsipdev.com/downloads/ Buck ...Show All
Visual Studio Team System Problem with the report site.
On the team project we setup a report site. For the report site we added TfsOlapReportDS and TfsReportDS. We then added a couple of reports, Bug Rates and Issues. The Issues report is using the data source TfsReportDS which runs fine with no problems. When I open the Bug Rates report in Team System, I get the following error message: An error has occurred during report processing. (rsProcessingAborted) Query execution failed for data set 'AreaPathPath1'. (rsErrorExecutingCommand) Incorrect syntax near 'Measures'. Incorrect syntax near 'WorkItemType'. I then added two more reports. Again the one that used the TfsRe ...Show All
