Software Development Network Logo
  • Microsoft ISV
  • Visual C++
  • .NET Development
  • Visual Studio
  • Visual FoxPro
  • Windows Vista
  • Smart Devicet
  • Game Technologies
  • SQL Server
  • Visual C#
  • SharePoint Products
  • Visual Basic
  • IE Development
  • VS Team System
  • Windows Forms

Software Development Network >> Curt Zarger's Q&A profile

Curt Zarger

Member List

hazz
Pseudocode
Olle Gustafsson
Azimuth
Jagjot Singh
Amde
Gianluca Colucci
David Kulwin
moorpipe
soconne
Bravechou
Isty Ahmad
SelArom
Dan Vallejo - RampGroup
Meds
Nate00
christian bitter
Leyan
cosmmm
RSSUser
Only Title

Curt Zarger's Q&A profile

  • Visual Studio 2008 (Pre-release) Problem with ASMX2WCF Migration...

    Hi, i want to migrate a webservice (asmx) to wcfservice (svc) with VisualStudio2005. Here a snippet from my WSImplementation (C#): ... using System.ServiceModel; namespace MyApp.WebService { [ServiceContract(Namespace = "http://MyApp/WebService/")] [WebService(Namespace = "http://MyApp/WebService/")] [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] public class WSImplementation : System.Web.Services.WebService { [WebMethod] [OperationContract] [SoapHeader("SessionHeader", Direction = SoapHeaderDirection.In)] public GetCinResponse GetCin( GetCinRequest GetCinRequestMessage) { ... I made a service.svc with this entry: ...Service="MyApp.WebService.WSImplementation"... And i added the same path in my web.config ...Show All

  • SQL Server HOW TO: Print a report directly to a printer

    The code below is a class file done in vb.net. The original idea came from reading this forum and some blogs. To use the code below, you can create a windows application or service. then create a class file and drop this code in it. Remeber to reference the 2005 report execution service and also in the program settings include the path to your server. IE: ReportExecutionService = http://localhost/ReportServer/ReportExecution2005.asmx or whatever your server URL is at. Setup the public properties for printername (sharenames work fine), Number of copies and Report name. That is all there is to it. This code is REALLY expandable to add more options. Please remember to let me kow if you like this. Imports System ...Show All

  • SQL Server Error: 18456, Severity: 14, State: 16. Login failed for user

    Hello. I get this error when I try to connect to my SQL Server with JDBC: Excepcion en MyPool Pool.getNewConnection() [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Cannot open database "lituania" requested by the login. The login failed. And in the ERRORLOG I get: 2002-02-22 19:59:46.62 Logon Error: 18456, Severity: 14, State: 16. 2002-02-22 19:59:46.62 Logon Login failed for user 'frontend'. [CLIENT: 10.0.0.75] I found it is supossed to be a password mismatch: http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx but I checked the password is correct. Any ideas Thank you in advance. I did that and then checked db_accessadmin (that was unchecked) and leave public checked ...Show All

  • Visual Studio Error while debugging

    Hi all, I'm getting a very weird kind of error. It say " No symbols can be loaded to any call stack frame. The source code cannot be displayed." Now the problem is this error is coming while trying to run some custom rules on target code in debug mode. I'm not able to figure out how this error is happening. One thing to note is that I have copied this source code(the complete project) to some other machine and now both the computers are giving the same error. If anybody has gone through such situation, please guide. Thanks, ThunderRock Hi Jeffrey, I copied all the pdb files. But I don't know why this problem is still coming. Do u have any solution Thanks, ThunderRock ...Show All

  • Smart Device Development get application exename and path

    Im using VB on Visual Studio - compact framework 2.0 How can I get the path of the exefile currently running app.exename etc. is not available in the compact framework. How do I determine the application's root directory An application can determine the directory from which it was run by utilizing Reflection and easily modify it using IO.Path namespace. [C#] using System.Reflection; using System.IO; // This is the full directory and exe name String fullAppName = Assembly.GetExecutingAssembly().GetName().CodeBase; // This strips off the exe name String fullAppPath = Path.GetDirectoryName(fullAppName); From http://msdn2.microsoft.com/en-us/library/aa497276.aspx Cheers, Anthony W ...Show All

  • Visual Basic need help about internet domains

    Please help me about writing a program in VB.NET to do this : List all available domains on the internet. I would start by reading up on how DNS works. This should give you a clue as to what to do next. Technically, I guess you could with IP address 0 and work your way up. It's going to take a while, though ;-) Best regards, Johan Stenberg ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Getting a model from a 3D Studio into a game?

    Hi there Im looking for some tutorials that in detail describe how to get from a model inside say 3ds Max or Rhino to get it into my game. What Im looking for is some simple yet descriptive tutorial or something that step by step takes me from a Cube or what ever in 3ds Max to a spinning cube with some texture applyed to it in my game. Ive followed the Getting started tutorials in XNA and understand how to get the model and the texture loaded into the Content Pipeline. I just dont know how to ready them for the game in terms of getting the model out in the right format and how to get it to know which texture to use or even how to create the texture file other than its a image file. Anybody got some helpfull links on these matte ...Show All

  • Windows Forms caller Id

    I made a program that shows the number of the incomning call when caller id is available. For this i dowload an active-x that detects caller id. I use the model 5633 modem of US robotics. The problem is that the number is not always shown . Even when i make call from the same number it 's not always displayed on the screen. The developer of active-x told me that this is problem of modem or drivers. I updated the driver but the problem still remains. Does anyone knows any better PSTN modem that support caller Id in Greece and to show always the number. That's right; mine was a different problem.. in that no numbers were being shown in the Caller ID app (YAC). However, the log was useful in finding that out, ...Show All

  • .NET Development How I get Time in server ???

    Hiiiiiiiiiiiiiiii Can I get Time in server. because if I get time in Machine (PC), the user can change machine time..... Please, any body help me.... Thanks Jebat.. You could create a Webmethod to return the server time: <WebMethod()> Public Funtion GetServerTime() As DateTime Return DateTime.Now() End Function ...Show All

  • SQL Server Outer join problem

    Hi guys I have got two tables which I need to join table 1 DHBName DHBService PU Budget Admission ABC C1 M00 $200 Acute ADC C2 M10 $300 Severe Table 2 DHBService PU Admission Actuals ABC M10 Severe 412.88 ADD M12 Acute 333 The 'DHB Service ' , 'PU' and 'Admission' are common in two tables but 'budget' and 'actuals' are different I need to combine these two tables in such a way that I have all the fields from both the table The sample result should be like this DHBService PU Admission Budget Actuals ABC M10 Severe Null 412 ADC M00 Ac ...Show All

  • Visual C++ Multiple file extensions

    If I create a C++ project and select 'MFC application', there is a dialog where I can enter the file extension I want to use. If I want to use two different file extensions in my program, for example '.abc' and '.def', then what shall I do Simple Samples wrote: Also, I know that I have read MFC is definitely off-topic. I also was confused, but they were clear that MFC is off-topic. I have since then posted my comment many times that MFC is off-topic and this is the first time that anyone has questioned it. If I am wrong, then that is great as far as I am concerned. VC6 versions of MFC aren't supported here. MFC topics don't make sense in a VC++ express forum; but the header for this forum clearly ...Show All

  • .NET Development Trouble Iterating through htmldocument links in VB 2005.

    I'm learning Visual Basic 2005 and have come to a problem I'm not sure how to solve. I have a web browser that pulls up a web site and I'm trying to iterate through the htmldocument.links collection. Here is a little bit of code to show how I was trying to do this. Public Class Form1 Public IE7 As New Person Private Sub Form1_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load Me .IE7.CollectWebPage( "http://en.wiktionary.org/wiki/Special:Allpages" ) End Sub End Class Public Class Person Public Function CollectWebPage( ByVal Address As String ) Form1.WB.Navigate(Address) While Form1.WB.IsBusy End While ...Show All

  • Windows Forms Closing original Form

    If I have a startup form that allows the user to open other forms is there a way to close that original form or hide it until the user needs it again Thanks Thomas you would need a reference to the first form in that case if you want to show it again if its hidden. you could use a ShowDialog() when showing other forms from the caller, as this will make sure the user cannot access the forms underneath until they close that form. Is this a better solution you are after perhaps ...Show All

  • Internet Explorer Development problem with IE7 - links suppose to open in the same page but it opens a new page in my website

    Hi i'm designing this website using dreamweaver 8, i used frameset method to devide the page into 3 frames top frame which contains the flash navigation menu, left frame which contains ads , right/content frame which contains the content of the website. when the user click any of the links on the menu it should be opened in the content frame , it worked fine in IE6 , but when i upgraded to IE7 things changed every link now opens in a new page! this is the flash code i'm using in each link getURL("../services_en/services_en.html" , "content"); content is the name of the frame that i wish all the links appear in. i've tried the <base target="content"> included in the head tag of the menu page but that d ...Show All

  • Smart Device Development 'System.Xml.Serialization.XmlElementAttribute' does not contain a definition for 'Form'

    Hello, I'm getting the above error message in the generated client code for a web service. The web service is a JAXWS 2.0 and I'm generating the client part with VS 2003. What I found was that the Form property is supported in CF 2.0 but not CF 1.0. I need to use VS 2003 so I'm limited to CF 1.0. How to solve the problem Thanks It seems my problem is very rare. I can't find any information about solving it. I also wonder why is the form property in System.Xml.Serialization.XmlElementAttribute generated in the first place. I used the web service address from the quickstart tutorials and there was no form property in the generated client code. Any ideas will be appreciated. ...Show All

©2008 Software Development Network