Marc Jones's Q&A profile
Visual Studio 2008 (Pre-release) ASP.NET Client -WebReferences Changed The Interface And Timeout
I new a wcfservice as follow: [ServiceContract(SessionMode = SessionMode.Required)] public interface IMyService { [OperationContract] int DoLogin(string UserID, string Password); } In asp.net client.i cant find "add service reference" as else application,so i use "add web reference" to add proxy class,then the interface change to -> void DoLogin(string str1, string str2, out int iRet, out bool bIsOK); when i execute this code, take place a exception"timeout" , after bebug i found it is because my client cant connect to wcf service , I see if i use svcutil can make a proxy class and config ,but i want to know why cant use "add webreference" to produce the same interface as servi ...Show All
Audio and Video Development MP3 Edit Tag function
Does anyone know where list of Genre's in the Edit Tag function comes from I'm pasting a screen shot below. Hopefully you can see this. I need to be able to customize my own list of Genre's and not use the built-in version at all. Go here to see a screen shot of what I mean... http://www.flickr.com/photos/ericowens_photography/298346571/ If customizing this list requires that a .dll has to be modified I'll need help doing that as I am not a .dll programmer. Otherwise is there a third party program I could use So many questions. I really need an answer to this so any help would be greatly appreciated. Thanks Eric Hi Eric, You can try Windows Media Format SDK and the WM/Genre attribute. http://msdn.microsoft.com/library/default.a ...Show All
Visual Studio 2008 (Pre-release) svcutil.exe datacontract only is not generating minOccurs='1'
Call "C:\Program Files\Microsoft SDKs\Windows\v1.0\Bin\svcutil.exe" /dconly /out:..\..\DataContractXSD.cs /t:code "$(ProjectDir)Data.xsd" Data.xsd file has < xsd:complexType name =" AccessInfo "> < xsd:sequence > < xsd:element name =" User " type =" xsd:string " minOccurs =" 1 " maxOccurs =" 1 "/> < xsd:element name =" Password " type =" xsd:string " minOccurs =" 1 " maxOccurs =" 1 "/> < xsd:element name =" ApplicationID " type =" xsd:string " minOccurs =" 1 " maxOccurs =" 1 "/> < xsd:element name =" ClientIPAddress &quo ...Show All
.NET Development Creating a subdomain
Hi Everyone I have one domain name epayroll.My url is www.epayroll.com . but i want to create a sub domain like www.epayroll.payroll1.com i dont getting any Idead how to proceed, Pls help me Out Thanks In Advance Saroj Nanda This forum is about building .NET development / diagnostic tools. It's not the right forum for that question. You could probably ask your service provider for tips. You could try asking this question on http://qna.live.com (I see some sub-domain related questions there). ...Show All
Visual C# C# Controls Resize When Form Resizes
Hi Could any one help me to sort out resizing form controls issue. I am doing windows forms and in a form i have controls which will be created in runtime. It is like a panel containg 9 lables. I tried anchoring and docking which is not fruitful as they are hiding the other controls means if you enlarge the form it actually submerges one control with the other. If any could forward me the working code to resolve this is appreciable. Thanks in advance. I would have to agree with Rabbi Joseph; using FlowLayoutPanel or TableLayoutPanel will solve your problems with the labels falling on top of each other. and as for making sure they resize properly, you would definitely want to hook on to the Form.OnResize event. ...Show All
Visual C++ ScrollWindow Problem
Hi, I have some problem in ScrollWindow function. My idea is to just scroll the part of the window. Like if window size is 500 * 500. I wanted to scroll horizontally from 200 * 0. ie first 200 pixels must be fixed and the other 300 units of window must scroll. My problem is that on the dialog, some child controls are also available. When i scroll on the towards, all child windows scrolls and hides up. when i scroll back, the child windows are not visible. Code Snippet: void CMyDlg::OnHScroll( UINT nSBCode, UINT nPos, CScrollBar* pScrollBar ) { switch( nSBCode ) { ...................... ....................... CRect rect(200,0,500,500); ///The rectangular region in which i wanted to do ...Show All
.NET Development SqlException: Data has been modified by another party since it was loaded
Hi, I wondered if somebody might be able to help me figure out what this error means System.Data.SqlClient.SqlException: Data has been modified by another party since it was loaded We seem to be getting this error when sending data back to SQL Server, but it only seems to occur when we leave the dataset open for long periods of time. Has anyone got any information on what this actually means and how to stop it I've done the usual google searches but from the results you'd think this Exception doesn't actually exist. Any help on this would be greatly appreciated. Many Thanks, Jody. Thanks Brad, I've just realised the exception that's created is within our own code. It looked like such an ...Show All
SQL Server XML Task in SSIS
Can I use the XML task in SSIS to create an excel document If so which operation type is best to do it with, XSLT I'm trying create excel files dynamically with nothing more than a SQL statement that I'm passing as a variable which generates XML. I would then like to take that variable and combine it with a template and create an excel document. Any help would be appreciated. I do not want to use the data flow because it requires all transformations ahead of time. Thanks, Phil ...Show All
Visual Basic help please on print dialog
how on the push of a button do i bring up a pring dialog for pinting the contents of a text box. try this....on my app worck's: Private Sub menu_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles menu.Click PrintDialog1 = New PrintDialog With PageSetupDialog1 .PageSettings = PrintDocument1.DefaultPageSettings End With Try If PageSetupDialog1.ShowDialog = DialogResult.OK Then PrintDocument1.DefaultPageSettings = PageSetupDialog1.PageSettings End If 'PrintDocument1.DocumentName = PrintDialog1.Document = PrintDocument1 If PrintDialog1.ShowDialog = DialogResult.OK Then PrintDocument1.Print() End If Catch es As ...Show All
Visual Studio Still about DIS Powertoy
Hi All, I've posted one of these questions several days ago, but it is not answered yet. So I would like to post it again along with other questions that I have. I tried to implement the sample FriendClassLanguage and modified it a little bit. I have the same system; one element class and it has friend(s). The model that can be referenced is the friend, and the property for the holder is the name (NameFriend). Until here it is still the same with the sample. And I tried some experiment. I made different validation to check whether the name of element Element1's friend is correct or not (assume that the name of friend has to be "Element1Friend"). It looks like if I change the name of the friend then the "connection&q ...Show All
SQL Server simple text processing e.g. regex search and replace
I've got an nvarchar(max) column that I need to transform with some simple text processing: insert some markup at the very beginning, and insert some markup just before a particular regular expression is matched (or at the end, if no match is found). Since the SSIS expression language doesn't support anything like this, is a Script Component the only way to go Does Visual Basic .NET provide regular expression matching Thanks! Kevin, SQLIS.com has a great task to do this in a can here:http://www.sqlis.com/default.aspx 91 I have a blog post here about how to do it through a script transform: http://www.whiteknighttechnology.com/cs/blogs/brian_knight/archive/2006/01/12/81.aspx If you find yourself needing to do this more th ...Show All
Visual Studio Express Editions Sql Express in Visual basic express
Hi Is it possible to create a table in visual basic express with functions to calculate amounts in columns for example column 1+column2 =column3. I tried importing from excel to vb express but the excel I have is too outdated to work. I have gotten as far as creating the table but when it comes to adding "functions" to the table i havent got a clue Thank you Thank you for replying to my question, I am trying to implement a spreadsheet type solution using a database. When I go to Add reference,COM, it shows excel 8.0 type lib version 1.2 To be honest i am quite new to programming and i am not sure how to use sql statements,etc. I have been trying to do some research ...Show All
Windows Forms Problem With retrieving data from SQL Express
Hi all... I am using SQL Express Db in my VB .NET Application, the DB is in the Application folder... The Problem is : When I insert a new row in any table, the row do not appear in the application until I close it and run it again. Discribtion : After the insert Statement completed you can find the new row in the DB, but when I call a form to display Data in the table using Grid or List Controls which is binded to the table, the new rows do not appear until I close the application and run it again. Note : Controls are binded to the table using Wizard (Dataset, Adapter, DataSource) Do you know how to solve or go around this problem Thank you very much Adding to what Ken said, you can also get this functionality for ...Show All
Software Development for Windows Vista Music Playback in Vista Problems
Since installing Vista Ultimate, simple music playback using various programs is hampered by digital stuttering (similar to Max Headroom) from all music players. Vista can't get through a single song without these hiccups. Occurs in: Media Center; Rhapsody; Winamp, WMP 11; iTunes about every 30 seconds. My system is Windows Premium Ready; Acer Aspire 9800 (20" notebook) Dual-core T2600; 2GB RAM. Hardly lacks power; drivers not an issue on any of the aforementioned programs. Anyone have this same problem, or hints at a source of the problem /jazacoop- Thanks for the tips on the playback issue. I have virtually the same setup as you (XPS M1210, core 2 duo, Geforce 7400, etc.), yet the " ...Show All
.NET Development 'Over-the-air' ActiveSync issue with CDOEx coded appointments
Hi, I'm using CDOEx on Exchange 2003 to add an appointment to a users calendar from a VS2005 C# project. That's working fine. However when I sync the calendar to my Windows Mobile 5 Pocket PC Phone 'over the air' I have a problem. It's taking 2 syncs for the device to be happy with the appointment. The second sync seems to be initiated by Exchange as the schedule is set to 'As Items Arrive'. If I open the appointment in Outlook before initiating a sync (schedule = 'Every 5 Minutes'), and close it, (I make no changes so I'm not promped to save anything) the appointment will sync the first time and no second sync is necessary. Appointments that I add in Outlook sync the first time and no second sync is necessary. I've compared al ...Show All
