nigeldude's Q&A profile
Visual Studio 2008 (Pre-release) Designer for Avalon UIs
Hi, if I understood correctly, the following facts are correct: 1. Avalon will be available on Win XP machines. 2. Visual Studio 2005 will be the developing tool for the next 2 to 3 years for XP and for Vista. 3. Microsoft encourages developers to develop UI-designs for avalon and use XAML for that purpose My question is, since I know VS2005 quite well: Will there be a designer, similar to the windows forms designer, for designing XAML applications And if yes, how will it be integrated in VS2005 As an Add-In Maybe there are some resources on the web, which are dealing with those basic questions. Thanks for any help! - Klaus ...Show All
.NET Development sql server 2005 express
hello again, with the supplied sql server 2005 express from visual basic beta 2005 express can i; 1. make my newly created .mdf file have database password; 2. can i view my table contents like on access 3. i already have an access database i used as backend for my vb6 apps, can i convert my access dbf into sql server database thank you again sir thank you for your immediate response, im viewing your link right now, im playing with my MS Access, i found an upsizing wizard, when i tried it ive got an error stating Connection failed SQLState: '01000' SQL Server Error: 2 edit i tried with sqlcmd and whe ...Show All
SQL Server Attempted to divide by zero
Hello. I'm having a little bit of a problem and i have no clue what's going on. May be somebody can explain me how the following expression could generate the "Attempted to divide by zero" error. I would really appreciate good advice. Briefly about report itself - one dataset, on single table with three groups this is a thid one. Grouping works just fine, but SUM/SUM in a footer of group #3 gives an error. Datatypes: JTD_Hours is decimal(18,2), JTD_Dollars is money. None of the fields is NULL, all nulls converted to Zeros on dataset level. Dataset created as result of stored procedure. Here it is: =IIf( Sum(Fields!JTD_Hours ...Show All
Smart Device Development How to Convert Stream to String
How to Convert a Stream datatype to string.For example Dim path As System.IO.Stream = (Reflection.Assembly.GetExecutingAssembly().GetManifestResourceStream(AssemblyName)) the path should to converted string. converting a Stream to String Was this post helpful Hi everyone, I'm having the same problem trying to convert a stream to String. But nothing seems to work. Here's my code: void displayImage(IO:tream^ imagePath) { array <Byte>^bytes = gcnew array <Byte>(( int )imagePath->Length); i ...Show All
Visual Studio Team System Fxcop issue in Global.asax using Application_Error
Hi, I'm using FxCop in my project. Its works fine in all components. I have an error in using Application_Error to catch all unhandled application execption. Here is my code protected void Application_Error(Object sender, EventArgs e) { System.Exception sEx = Server.GetLastError(); Session("Error") = sEx.Message; Server.Transfert("CustomErrorDisplay.aspx"); } FxCop Error Descrption: ReviewVisibleEventHandlers Cheers, Hari http://msdn2.microsoft.com/en-us/library/ms182312(VS.80).aspx Did you review the help topic above ...Show All
.NET Development Difference Between strin[,] and string[][]
I want to know the difference between the handling of string[,] and string[][]. Actually i have a two dimentional array of strings as a result from COM as object. When i try to cast it to string[][] it raises an exception but when i cast it into string[,] it works fine and i am able to access the data. Umer Farooq string[][] is an example of a jagged array. It's just a regular one-dimensional where the element type happens to be string[]. Each element can have a different length. string[,] is a single array with two dimensions, a.k.a. a rectangular array. ...Show All
.NET Development COM Interop: Dependant assemblies.
[This was also posted in .NET Development General section.] Hello, I am trying to use a .NET class inside a VB6 application. I am receiving a runtime error which says file or dependant assembiles cannot be loaded. The intellisense correctly picks up the class and it's methods. My point of thinking was the location of the .NET dll. It is registered in GAC and used regasm to register as COM component. I tested by copying the .NET dll in the VB6 application folder. Any help will be greatly appreciated. Thanks. It is solved. The following two settings worked. 1. Instead of ClassInterface attrib ...Show All
Software Development for Windows Vista WWF or Skelta
I need to design a workflow application. If we set aside the fact that the WWF is still in beta phase, what would you recommend ; skelta or WWF. I think that WWF misses some features like email etc but has a strong support. Skelta makes the work very tedious like mentioning the workflow variables in different xml's, using its own libraries to access database etc. Please give recommendations with reasons in support Thanks in advance hi Johnson I will definetly recoomend WF , well the feature like email is provided as "Custom Activity " which is freely available for download not ...Show All
Visual Basic Text from a notepad
when i click button1 i want it to read the text from a certain notepad and then put all the text from the notepad into a textbox, how thanks If you are operating that notepad, you can always do a control-A, Control-C to copy the contents to the clipboard - from there it is very easy to programmatically move code from the clipboard to your textbox. If My.Computer.Clipboard.GetText().length <> 0 then Textbox1.text = My.Computer.Clipboard.GetText() else beep Textbox1.text = "The clipboard is empty" endif I hope this helps ...Show All
Windows Forms Excel Problem PLZ HELP ITS UGENT!(Could not find excel forum)
I've been given the task of making a spreadsheet that will make a copy of itself, at the end of the day. I would like to have a button in my spreadsheet that creates a back up copy and then exit. Can I get it to check for (and maybe create) a folder called 'backup' (at the same level as the original spreadsheet) and then save it there I don't want the user to get too involved in this process - apart from clicking the 'Backup and Exit' button. My friend told me that i need to use macros. i am a beginner and dont know whts the steps are. Can some1 plz help me and tell me the steps to create the backup button ...Show All
SQL Server Install Error with Sept CTP
Hi all, I am running into install error when prompted "PLEASE INSERT DISC 2" when I am installing with virtual drive using Daemon Tools instead of from CD or DVD. I am a Universal MSDN Download Subscriber, but apparently MSDN don't support install issue with beta version of their product. I am stuck with not able to use this app, and any help is much appreciated. Sincerely, -Lawrence Lawrence, A possible problem is that you didn't notice that some builds of Sept CTP come as two separate images - Server and Tools. I assume you downloaded Server only. Andrew Watt MVP - InfoPath wro ...Show All
Visual Basic Function parameter passing and objects
What is best practice for passing objects as parameters to a function I have a class that receives two objects which will be used for calculations. These objects are going to be used throughout the class so what I had done is instantiate two class objects of the same type and set them equal to the ones being received from the function 'Declaration dim InternalTotoObj as TotoObj dim InternalTotiObj as TotiObj function SomeName (curObj1 as TotoObj, curObj2 as TotiObj) as AnotherObject internalTotoObj = CurObj1 intervalTotiObj = CurObj2 'Some calculations return AnotherObject end function The problem is see with u ...Show All
Visual Basic Thread problem
Hello I've created a UDP send and receive program. I've two diffrent forms for send and receive. UDP send is working good but my problem is UDP receive where i had to create a thread becouse GUI freezed when i used udpclient.receive. The problem is when i want to do this: textbox1.text = Encoding.ASCII.GetString(bytes, 0, bytes.Length) ... it doesnt do nothing, So how can i put text on textbox1.text! I think it is problem in cross-thread but dunno how to resolve. Whole code: public Class Form1 Dim listenPort As Integer = 11000 Dim done As Boolean = False Dim groupEP As New IPEndPoint(IPAddress.Any, listenPort) Dim bytes As Byte() = New ...Show All
Software Development for Windows Vista Multiple users using a tabletpc simultaneously
Hi, This is the Same post that i made in the tablet pc developer discussion. Please visit www.geocities.com/mohanraj_k . Changing the orientation of the screen by this way that i mentioned in the website. will really reduce the TCO. because nowadays widescreen technologies came. More than one person can sit and work with tabletpc easily. Mohan Raj K. ( omit the errors in the picture please. ) ...Show All
Visual C# How can I make a TreeView control to be like a FolderBrowserDialog?
Hi refer to my subject. a small code will be appreciated. Use something like this: protected void AppendDirectoriesToTreeNode( TreeNode node, string root ) { DirectoryInfo rootDir = new DirectoryInfo( root ); foreach ( DirectoryInfo subDir in rootDir.GetDirectories() ) { TreeNode subdirNode = new TreeNode( subDir.Name ); AppendDirectoriesToTreeNode( subdirNode, subDir.FullName ); node.Nodes.Add( subdirNode ); } } Usages: TreeNode node = new TreeNode( "c:\" ); AppendDirectoriesToTreeNode( node, "c:\" ); myTreeView.Nodes.Add( node ); ...Show All
