RobertLW's Q&A profile
SQL Server DeriveParameters throws when called against a C# function?
When I call DeriveParameters against a function written in SQLCLR function it throws an exception. I've been working on this a little while and haven't found a fix. I understand that I could write additional code to do the same work DeriveParameters does, but it seems like this should work. This is the exception thrown: [InvalidOperationException: The stored procedure 'GSI.Utils.IsMatch' doesn't exist.] The function is defined as CREATE FUNCTION [Utils].[IsMatch](@Value [nvarchar](4000), @RegularExpression [nvarchar](4000)) RETURNS [bit] WITH EXECUTE AS CALLER AS EXTERNAL NAME [RegularExpressionsHelper].[UserDefinedFunctions].[IsMatch] The C# function is defined as: [Microsoft.SqlServer.Server.SqlFunction(IsDeter ...Show All
.NET Development I want's to make an application which can be sceduled to run at particular time .[what can i do windows service,windows applica]
I want's to make an application which do particular tasks. It can be sceduled to run at particular time. [what type of application i make can i do windows service,windows application e.t.c Hi, The easiest way i think is to create a windows application that does the requiered tasks at its startup and just exit when finished. To schedule the application you have just to use Windows Task manager. HTH. ...Show All
Smart Device Development How to Insert a Menu bar to a DialogBox()?
Hi, all, I am doing my app on smartphone devices with Visual Studio 2005, and I am using DialogBox() function to create a dialog box instead of initializing an object of DialogBox class. I am just wondering how I can insert a menu bar to a dialog box by calling the DialogBox() function Thanks in advance Hi, Relax :), if you read it again it says that the method shall fail - " if If the specification passed to SHCreateMenuBar function contains images or more than 2 top level menu items, the behavior is as follows.", which means you can't have images in the commandbar and more that 2 menus ( one each for the h/w buttons). As long as you follow these you should be fine. For more infromation on the layout of resources hav ...Show All
.NET Development problem in client/server application
Hi every one, I developed a client/server application . client connect to server correctly if both are under the same router (in the same Lan) , but the problem arised when the client and the server arenot in the same Lan they cant connect together. I checked the router configration ,it was correctly setup. please if you have expirense in this problem help me. Thanks for reading my message------------ May be you are using 2 Network Interfaces... and Request for conneciton is going to the other one because your server's code doesnot tell that from where to accept the connection and yes what is refered by indian ocean that this constructor is obsoleted. I would recomend using: TcpListe ...Show All
SQL Server how do we interact with csv files in SQL
Thanks :), funny, here is the question amigo: how do we interact with csv files in SQL ...Show All
.NET Development how can I start with "isa server" and "active directory"???
Hi everybody: I'm new in isa server and i want to restrict Active directory users in the following cases. download size , time of connection , upload size , ...... Is there any one to help me how i can start ...Show All
Visual Studio [Native to Managed Transition] in Call Stack
I do a lot of debugging of mixed native/managed code. On VS.Net 2003 when stopped in managed code the Call Stack in the debugger would display the stack for both the managed and unmanaged calls on the stack. In VS.NET 2005 I get a couple of entries in the Call Stack window [Appdomain Transition] and [Native to Managed Transition], but no native frames underneath. How do I get the full stack displayed like it is on 2003 Thanks in advance. (I assume you've got interop-debugging enabled, and are seeing native frames in other cases). This may be a known issue that we're exploring a fix for. If you call from native code into managed code, and the managed code is not in the default appdomain, then t ...Show All
Visual C# how to Get all of SelectedValue and put it in On textbox?
"I've one checkboxlist in a webform, I was tried to retrieve all of SelectedValues from CheckBoxlist"; way 1 : string i = SelectBoxList.SelectedValue; Label1.Text =i; this way is only shows "1" Value in Textbox whatever how many CheckBox I Select. way 2 : (I Use Array) string [] checklist = (string) (CheckBoxList.SelectedValue); Label1.Text= checklist[0,1,2,3,4]; when run Theme way 2 , System throw Error message .... could someone help Me to Resolve this problem thank you very much ! If u still wondering how to get the selected items from ur CheckBoxList here's da code i have written n works perfe ...Show All
Visual C# [URGENT] Distance between two postcodes
Hi all, We have a kind of urgent issue here. We are about to commence development on an application that is to perform calculations based on the distance by road between two postcodes. We were going to use a certain web service provider for this but they have come back saying that they do not support the volume of queries that our application is going to make (potentially 40000 per month). My question is do any of you guys know of any software or web services that we can interface with to query the distance between two postcodes by road, bearing in mind that this is a UK based operation and reasonable performance is a must. Thanks in advance, Stephen. http://www.google.com/apis/maps/ Unfo ...Show All
Visual Studio Tools for Office in web navigator contror i need to open the ms outlook application
Hi all In my vb.net windows application i have taken a web navigator control in a form and docked it my requirement is to open the msoutlook in this form i am trying to open the ms outlook in that web navigator control but i am unable to do this can you help Hello Rahesh, as I know you can't. But - you can start Outlook as executable. You can archive this by launching a new process. Process outlook = new Process(); outlook.StartInfo.FileName = "outlook.exe" ; outlook.Start(); Hope this helps, greets - Helmut ...Show All
Visual Studio Team System BuildType download additional (unspecified) project
I am trying to use Team Build to automate builds on a server. My team project source control has two version of the source code (v5 and v6 - with v6 branched from v5). I created a build type for the team project and in it, I specify to only build the v6 solution. When I execute the build type, the server is downloading and building both the v5 and v6 project (v5 doesn't build because it was imported code). In the <SolutionToBuildInclude> element in the build type's proj file, I see that it correctly list only the project that i had specified so I have no idea why it's trying to download and build the v5 code. Any idea what I am doing wrong Thanks The first thing I would check is the Work ...Show All
Visual C# How to Pass (from any index of) Array in function
In C++, I can do: int array[]={0,1,2,3,4,5,6,7,8,9}; void PrintArray(int array[], int count) { for(int i=0; i<count; ++i) cout<<array [ i ] <<endl; } void Main(void) { PrintArray(array, 3); //Print 0 1 2 PrintArray(&array[5], 3); //Print 4 5 6 *****How to do that***** } My Question is How can I Pass "&array[5]" in C# C# tends to be more verbose than C++. It's annoying at first, but with intellisense it doesn't really make much different, and you end up gettind used to how things work. An example of something that's possible is: public static void Print<T>( IEnumerable<T> enumerable ) { foreach (T t in enumerable) { Console.Write( t.ToString() ); } Console.Write( "\n" ) ...Show All
Microsoft ISV Community Center Forums whats wrong with this code?
Sub HideGroupBox() If Cells(1, "I").Value = "2" Then DayBox.Visible = False Else DayBox.Visible = True End If End Sub im trying to hide a group box with options if the value in L1 = 2 but in not sure what im doing wrong Hello, Don't know what your DayBox is but it could be that your comparison is not correct. Is the value in Cells(1,"l") a number or string If it is a number then this will not evaluate to be true, you need to say write if cells(1,"l").value=2 Chas ...Show All
Visual Basic How to add Sandcastle (xml) comments to generated typed datasets
I'm creating a new class and using typed datasets generated using the server explorer. Since the typed dataset classes are generated, when I build the html help file (sandcastle) all the generated dataset classes don't have documentation. Is there a way I can get the documenation comments in the generated dataset classes ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DirectX.AudioVideoPlayback: how to show karaoke file?
Hello! Does anybody know how to play karaoke file There is a karaoke plugin for Windows Media Player, and it can play the music with the lyric (extension is mid). I can't create a Video object with that file extension. The Audio object plays it, but doesn't show lyrics. ...Show All
