Answer Questions
nglow newbie question
Hi. I'm just starting with Web Services and I'm trying to set up my first simple web service. I have a web service running in IIS on a Windows XP machine ( http://localhost :1635/NetWSService/Service1.asmx - the machine's name is serec). It exposes a simple "add" method (takes two integers, returns the sum). I did create a web service client with Eclipse WebTools (I added the wsdl of the web service) and I generated the client jsp pages, but the invoking of the "add" method times out. I debugged the application and I can see it timing out on the following line: java.lang.Object _resp = _call.invoke(new java.lang.Object[] {new java.lang.Integer(x), new java.lang.Integer(y)}) I think I'm not setting up the soap:address ...Show All
Visualbrin watch training videos like VB.NET , C# , ASP.NET , SQLSERVER AND LOT LOT.......
www.shamirza.cjb.net click to see...the videos. click hear........:) Shamirza wrote: click to see...the videos. click hear........:) cool. . ...Show All
Anand Raman - MSFT TreeView in DropDown
Hi all Im using ASP.NET on framework 2, I have created a dropdown(DD) and an object for TreeView. Now I want a functionality as "when a user click the DD a treeview should be showen in its dropdown area", i have added the treeview object to DD's contol collection.but this generate error as DD does not support child control. if so then why this DD' Control collection property is provided. Or any one have Solution to this prob pls help. or suggest some alternative way. Thanks Regads Vivek Dear Vivek, Controls property is there as it is inherited by every control as it is defined in the base abstract System.Web.UI.Control class. Its purpose comes from the implementation of the "Composite" and "Deco ...Show All
Charles Lewis eConnect help
Hi! I just would like to ask if anyone of you has used eConnect to develop Microsoft Great Plains. Im using C# to develop GP and I have a problem using eConnect. There's a config file that I need to refer to which contains the connection string that I need to use to conncet to the database. Here is the code string sConnectionString = @"data source=PH-WWDT44\FORUM9US;initial catalog=TWO;integrated security=SSPI;persist security info=False;packet size=4096" ; string reqDoc = requester.eConnect_Requester(sConnectionString, EnumTypes . ConnectionStringType .SqlClient, xmldoc); I have hardcoded the connection string. :) However the connection string can be found at a config file written in xml. I need to know the path ...Show All
vtortola Query Builder Component
Hello, I would like to incorporate a query builder component into my application so that I could bulid sql statement dinamicaly (SQL Server, Access). Are there anything in MS or third party tools you can suggest Thank you, serge Hi AutoFreak, This article will help you a lot on your task best regards Hi, I guess there's a quick start guide of some sort in the downloads area. http://www.activequerybuilder.com/download.html I haven't used this control since its VB6 version. And on that version, you cannot see how the SqlStatement is being generated. It is being generated by the control. And also, the control would automatically adjust its sql statement depending on its da ...Show All
Kris Nye Read-only database problem after site installation
Hi everyone, I have developed a site and since it needs to be installed on different servers, I have added a Web Setup Project which installs the site. The problem is when it installs the application, it doesn't assign write permission on App_Data directory to ASPNET user. So what happens is that as soon as the webservice method(which is being called through the site) tries to modify database, it returns database is readonly error. If I go to wwwroot directory and assign write permission to App_Data directory, the problem wouold be solved. But I wanna automate this process through installer. If you create the site using visual web developer, it automatically assighns that right to App_Data. So the question is: How can I do that using ...Show All
msdobrescu2 How do i update table with ID's from user input?
I want to be able to input what rows (ID's) that should be updated in an UPDATE query. How would you create a UI for this task, and how should i build the query string My previous solution was this: - I created a bunch of textboxes (approx 20), cause i usually did not need to update more than 20 rows. - For each row i needed to update, i filled in the ID in a textbox. Usually, there would be some empty textboxes left. - When clicking a "Update" button I ran a hardcoded a query, that took the values from the textboxes as arguments in the WHERE clause. Example (simplified) "Update Orders SET Status = 'Shipped' WHERE ID IN( "; + txtbox1 + txtbox2 + txtbox3 and so on. Of course, i controlled the data first, and ...Show All
bobslayer TypeInitializationException + windows xp 64 ??
Hi, I have develped a C# application that runs well on windows xp SP2, but when I try to run it on windows xp 64 I get the 'TypeInitializationException' exception, the exception details is: System.TypeInitializationException was unhandled Message="The type initializer for 'StartWindow.ArabicTextMiningForm' threw an exception." Source="StartWindow" TypeName="StartWindow.ArabicTextMiningForm" StackTrace: at StartWindow.ArabicTextMiningForm..ctor() at StartWindow.Program.Main() in C:\GetDataBack_car\CAR\Soft_Associations_Charm_Apriori\StartWindow\Program.cs:line 17 at System.AppDomain.nExecuteAssembl ...Show All
scorpsteals FileSystemWatcher created event fires too early (multitask)
Dear all, I've been reading through this forum for the issue that FSW will raise created event when the file copying begins and after some changed event is fired, but there is no event AFTER the file created. The common solutions are: 1. Try to open and sleep if fails, try to open again. (I don't want to Thread.Sleep for other reasons) 2. Start a timer on created event, reset on changed event when timer hit there is no more changed events so we can consider it complete. Not so perfect but could work, my concern is what if a process will "stuck" writing a file (file1) and another process will do the correct work (file2). I suspect the FSW events will be similar like this: created: file1 changed: file1 changed: file1 changed: file1 ...Show All
Learning VB How to disconnect the recordset that has been upgraded to .Net
Hi, I have a function "FetchRecset" that just populates the recordset when the SQL string or the stored proc name is passed and it looks like this in VB6.0. Public Function FetchDiscRecSet(CmdSQL As String, _ rsResultSet As ADODB.Recordset, _ Optional Updateable As Boolean = False) As ErrInfo Dim cnConnection As ADODB.Connection Dim rsTemp As ADODB.Recordset Dim strConnectString As String 'Initialize connection object Set cnConnection = New ADODB.Connection cnConnection.CommandTimeout = c_Timeout cnConnection.Open gc_ConnectionString Set rsTemp = New ADODB.Recordset With rsTemp .ActiveConnection = cnConnection .CursorType = adOpenStatic .CursorLocation = ...Show All
Prime Digits newbie: easy question about JS from .aspx
Hi everyone, I'm just an ASP.Net newbie. I'd like to know how to call a .JS file from my aspx page. In ancient times I did this in my asp pages: <!-- #include file="./includ.... TIA, Thanks for that, it worked fine. Enric.... Do you want just to include the js in your page or actually you want to call a function from this js To include it you have to do this: <script type="text/javascript" src="/JS/MyJs.js" /> To use functions from there you just create another script in where you make a call to any of those functions. Hope it helps Rgds Rodrigo ...Show All
laboremus How to get ICorDebug being used by Visual Studio?
Is there any way to do this (from add-in or macro) IcorDebug is too poor for that task too. Unfortunately, ICorDebug can't enumerate all objects in the target (although it's high on our Todo list). The Profilers (like CLR Profiler, Tutorial , Download for .NET 2.0 ) are much more suited for analysis of object usage across the managed heap. Andrei, Visual Studio does not expose ICorDebug directly, but they do expose their abstracted debugger object model for automation and extensibility. Have a look at the debugger2 interface documentation and accompanying samples to get started. If you have usage questions targeted at that API, you should be able to find help in the Visual Studio Ext ...Show All
day10 Escaping decimal points in regular expressions
I'm trying to do something that ought to be very simple. I'm trying to test whether a string (which is an argument to a command) is a valid value of the type I need. That is, I want it to be convertable to a double and be in the range 0.1-1.0. I have this line in my code: Regex ValidPause = new Regex("^((1\.0)|(0\.[1-9]))$"); The problem is that VS marks the string as bad and gives me the message "Unrecognized escape sequence." If I take out the backslashes, the red squiggly line goes away, but then it matches "0x0", which is obviously not what I want. How should I escape the decimal points correctly SORRY... for my duplicate posting. Actually, it does work to ...Show All
FM_AX XML Parser failure
Hi Anybody know about this problem PC running window xp home edition Application written in Visual Basic 6.0/Framework 1.1. WSDLReader: Loading of the WSDL file failed HRESULT=0x80070057 - WSDLReader: XML Parser failed at linenumber 0, lineposition 0, reason is: The system cannot locate the resource specified. HRESULT=0x1. Thank you in advance, Steve. steve@posnet.us After looking at the error we were getting it was for a different reason. Has to be some authentication goof by our PC Support group in setting up permissions. Thanks for the follow up though. Steve, Did you get any information on this We are having the same problem with only o ...Show All
SOTY_Programmer UnExpected reflaction after Updating a table any one face this .............?
Hi ADO.net Masters, After updating records in a table it updated sucessfully BUT, when i am looking in the crystal report and listView control for same record, it dose not reflect the changes, it shows the data befor updation. Any on tell me what is the issue for this type of error. actully i have take all these data from the MS Acesses. And i am using .net2003 with Sql Server2000 Please any one faced this type of prob.. pls help me thanks in advance.. Can you please clarify one thing – are you using the ADO.NET v.Next CTP, or are you using ADO.NET 2.0 I don’t think the CTP supports Access. If you are using ADO.NET 2.0, we can move the thread to the proper forum, and much more people will look at it. ...Show All
