scott gallimore's Q&A profile
Visual Studio 2008 (Pre-release) Upgrading Web Services Client
Hi, I'm researching a possible scenario as follows: I have a web service running on top of ASP.NET 2.0. I have a client consuming that web service using the Add Web Reference menu. I'm now building the same web service on top of WCF. Means that I have the same signatures implemented in Service/Operation Contract, and the codes are moved into the single implementation. The question is, is is possible for the client to use the new web service on top of WCF without recompiling/changing the code Assume that the address of the endpoint is modifiable via the configuration file. I have tried changing the address directly to the WCF endpoint address, but receives an error 415: Media Type Unsupported. Anyone have done doing thi ...Show All
.NET Development Saving objects in a DataTable extendproperties to an XML file
I am having trouble saving any object rather than something simple like a collection of strings included as part of a Datatable's extendedproperties. I use the single line command:- dataSet.WriteXml(xmlfilename, XmlWriteMode .WriteSchema); which admirably does what I want in all cases where I have an extendedproperty collection like:- < xs:element name = " Land_x0020_use " msprop:SymbolLink = "" msprop:Type = " Area Group " msprop:CharID = " A " msprop:TextLink = "" > when saved into an XML file. My problem is if the elements are not strings but more complicated cobjects like:- public class MyObject : Object { [ XmlAttribute ()] ...Show All
SQL Server File growth problem in 2005
Have a database, one filegroup with one datafile and one log file. However, restarted the box and saw that the growth settings for the datafile was changed from 100Mb increments to 25600%. The logfile is still the same at 200Mb as required. Both have unlimited growth. Looking at sysfiles in the database, growth is 25600 for the log and data file. In Management Studio I cannot change the setting for the data file (log file still shows 200Mb growth increments), Studio tells me "Value 25600 is not valid for Value. Value should be between Minimum and Maximum. Any thoughts Cant really have a database sitting with this growth rate, and cannot change the value in sysfiles either (even with sp_configure etc). Any ideas Thanks ...Show All
Community Chat New revolution - Classic ASP/VB6 moving onto ASPX and VB.net, what u think ???????
Supp Coder , Just wanna know, now that there are new frameworks and managed codes in .NET while we most are used to coding da classic stuff -------------------------------------------------- Who is going to procede wit da new code style -------------------------------------------------- and who feels like sticking to there old coding style -------------------------------------------------- for example who wants to stick to C+ or who to move on to C# --------------------------------------------------- and what could be da conciquences of sticking to unmanaged coding or is it just a microsoft monopoly act (im a microsoft oriented coders, just so u know) ---------------------------------------------- ...Show All
SQL Server Dataset
hey guys, I created a dataset using a design view of the MDX query designer. As you know, in the filter pane of the MDX query, there is check box if you want to parameterized your report. When I checked that option, SQL Server created a dataset specifically for the report parameter. So my question is that I can see this dataset in the data tab of the report designer but not in the Report Datasets list. Do you have any idea why this happened waiting to hear soon. Sincerely, Amde Hey Robert, I really appreciate your assistance. I got the solution. By the way removing the rd:AutoGenerated element from the rdl file didn't help me to see the dataset. What I did is changing the hidden propert ...Show All
Visual Basic DirectoryInfo Class Question
I need to store the contents of a directory at different intervals and compare them for changes. The FileSystemWatcher class has too much overhead that I just dont need - in addition, it has admitted flaws with buffer overruns and what not. My objective: have 2 variables of type DirectoryInfo. Compare them for various changes (file changes, additions, deletions). My concern is that both variables will always have the latest/greatest directory information making the point of comparing them stupid. Is this the case If so, is there something in the documentation that details this. I couldnt find it. Thanks in advance. Er Eric66, What about the DirectoryInfo.GetFileSyste ...Show All
Windows Forms message codes
Can anyone give me a reference to the uint values of Windows Messages (e.g. WM_CLOSE==16). Thanks in advance. Most of those values are in the WinUser.h file included with the PlatformSDK. Often you can find it online, like: http://www.woodmann.com/fravia/sources/WINUSER.H ...Show All
SQL Server SSIS Transfer Database task not transferring keys
I set up a basic Transfer Database task (online, copy) to copy a DB. It works great except for the fact that it isn't transferring the PK's and FK's. It also looks like it did not transfer the views. Any idea why Anything else the Transfer Database task doesn't actually transfer It looks like the "Transfer Database" task only does tables. However, the "Transfer SQL Server Objects" allows you to select everything like you need. ...Show All
Visual Studio Express Editions Where can I learn more about Movie Editing
I want to make a Movie Editing Program this is the type of Help I need to learn it: Trying to learn how to do this with C# *Make a program play media files with out a windows media player, or quick times compenet. *Where can I learn how to make a program that can upload Videos from a camera and edit the uploaded videos. *Where I can learn how to make an Exportanting Program to export the videos. * Maybe how to make my own file types. Mega_x wrote: ahmedilyas wrote: you need to know about the video and audio streams, frames etc... - it's a pretty large thing to cover. I'm certainly no expert in this field but do have some experience in video ed ...Show All
SQL Server Encrypt data in a Stored Procedure
I am trying to insert data in a table using a stored procedure, but somehow I cannot store the values passed by the stored procedure in the table. Table has two fields FIRST_NAME, LAST_NAME with varbinary data type(I need to encrypt the data) My stored procedure is as follows. Please let me know what i am doing wrong! *************************************************************** ALTER PROCEDURE [dbo].[SP_InsertInfo] -- Add the parameters for the stored procedure here @FIRST_NAME varBINARY(100) ,@LAST_NAME varBINARY(100) AS OPEN SYMMETRIC KEY key DECRYPTION BY CERTIFICATE cert BEGIN SET NOCOUNT ON; -- Insert statements for procedure here Insert into [dbo].[INFO] (FIRST_NAME, LAST_NAME) Values ...Show All
Visual Studio generating a build number automatically
Hello, I have project with following structure: SolutionA Project1 Project2 SolutionB Project 3 I would like to build the project and then transfer the output to a folder. The folder should be constructed by incrementing a number from last build and then create a folder Want: Output <bldXXX> solutionA project1,dll project2.dll solutionB project3.dll Everytime the project build I want get the next build number and create the dir. How do I dod this using msbuild. Thanks Output I did something similar for my project. First of all, all of our projects use the same AssemblyInfo class so tha ...Show All
Windows Forms Datagridview image column
Hi all, I have been trying to get this code to work to no avail The code below I believe should put an image into a datagridview image column , but I could be wrong.. I tried to use byteArrayToImage(e.value) but all it says is systems.drawing.bitmap - it's not giving bytes, it's giving a string. What do you reckon I'm missing to return the byte array Private Sub dgvUsers_CellFormatting( ByVal sender As Object , ByVal e As System.Windows.Forms.DataGridViewCellFormattingEventArgs) Handles dgvUsers.CellFormatting Dim _cell As DataGridViewCell = New DataGridViewImageCell If e.ColumnIndex = 1 Then dgvUsers.Columns(e.ColumnIndex).ValueType = GetType (System.Drawing.Bitmap) _cell.ValueType = GetTy ...Show All
Visual Studio Express Editions Enabling a Disabled ComboBox
This is probably a stupid question as I cant remeber how to do it. How does one enable a disabled checkbox More specifically, I want to enable another checkbox when a user selects an item in another checkbox on the same form. Thanks for the help. Kind Regards LVB Ah.....Renee....Yes I forget about the utility of this....I worked it out.... "DOH" Kind Regards, LVB ...Show All
Visual C# typeof keyword for properties, fields, methods
Why don't Microsoft implement some sort of "typeof" for properties, fields, methods etc For example, lets suppose we have "propertyof" keyword, then we can do the following: PropertyInfo pi = propertyof(MyClass.MyProperty) I will try to explain how this can be used. Lets suppose we have the following method to fetch data from the database: BizEntity[] e = bll.ExecuteQuery("type of the business object", " property name of the business object", ....); It takes as first parameter name of the business logic entity which objects I want to get, and other parameters are names of the properties I want to be loaded of the fetched objects (suppose we have a delay loaded business objects). I can rewrite th ...Show All
Software Development for Windows Vista WlanSetProfile() returns "Element Not Found"
I am working with the Vista 802.11 Auto Configuration APIs for my UI. (Vista Beta 2, Build 5308) When I call WlanSetProfile() with the parameter, bOverWrite = TRUE, and my XML profile is as following, the API returns 1168, Element not Found. But the Reason Code output by the API is "The operation succeeds". And, when I call this API with bOverWrite=FALSE, the API returns 87, ERROR_INVALID_PARAMETER. Is my XML profile format incorrect Or Is this API ready to be used or not Any suggestions or ideas for this issue Appreciate! < xml version="1.0" > <WLANProfile xmlns= http://www.microsoft.com/networking/WLAN/profile/v1 > <name>Profile TEST</name> <SSIDConfig> ...Show All
