[DotNetDevelopment] Re: C# Web Service Client Without a Proxy Class

2008-09-09 Thread Cerebrus
Joe... I wasn't aware of this... can you elaborate upon how the URL of a webservice instance (using the Proxy class method) can be dynamically changed during Runtime? On Sep 10, 11:45 am, Joe Enos <[EMAIL PROTECTED]> wrote: > If I understand your issue, you just want to call a web service method

[DotNetDevelopment] Re: C# Web Service Client Without a Proxy Class

2008-09-09 Thread Cerebrus
It appears that you need to turn to (my favourite method) of invoking web services - using HttpWebRequest and HttpWebResponse. This works in the same way that you would access any other internet resource (such as a web page), pass parameters and get back a response. On Sep 10, 1:46 am, Cale <[EMA

[DotNetDevelopment] Re: Added Controls to Form are not posting back

2008-09-09 Thread Cerebrus
Common newbie question, Adailey! The problem can be solved by re- adding the controls to the Page's control collection upon postback. I suggest reading up on the Page lifecycle in ASP.NET for a better understanding of what's going on behind the scenes. On Sep 10, 1:28 am, adailey <[EMAIL PROTECTE

[DotNetDevelopment] Re: C# Web Service Client Without a Proxy Class

2008-09-09 Thread Joe Enos
If I understand your issue, you just want to call a web service method without pre-compiling the signatures for the methods. This shouldn't be a problem. If you take a look at the auto-generated code after running WSDL on a sample service, you'll see what a request actually does - just calls thi

[DotNetDevelopment] Re: Sorting A Repeater

2008-09-09 Thread Cerebrus
I can think of two ways: 1. Create your own Sortable Repeater by deriving from the Repeater control. 2. Implement custom sorting logic as illustrated here : http://weblogs.asp.net/sushilasb/archive/2004/10/09/240110.aspx Of course, the easiest way is to use a DataList or DataGrid instead. On S

[DotNetDevelopment] Re: execute server side code before window.open.

2008-09-09 Thread Cerebrus
Well, it is the nature of Popup blockers to restrict Popup windows. What else do you expect ? If you *must* use a Popup window, then it might be useful to have a warning on the page indicating that the user must enable Popups for the search filter to work. You mention that you cannot pass the for

[DotNetDevelopment] Re: mutiple row editing in gridview control

2008-09-09 Thread Cerebrus
I hope you realize that my post was not addressed to you. ;-) On Sep 10, 8:44 am, "sarath pa" <[EMAIL PROTECTED]> wrote: > hello sir, > > Sir,I'm new to the development environment and i just started my visual > studio programming with c# script language .I just know the basics but I'm > learning

[DotNetDevelopment] Re: Request.Querystring (c#)

2008-09-09 Thread Jakub Malinowski
oledb is pretty obsolete in dotnet, same with var - now its a keyword what db u use that u connect with oledb? could u specify more clearer what u want to do? On Sep 9, 8:38 pm, henry <[EMAIL PROTECTED]> wrote: > Please any help will be appreciated.. > > I'm trying to save sorted records in a da

[DotNetDevelopment] Re: mutiple row editing in gridview control

2008-09-09 Thread sarath pa
hello sir, Sir,I'm new to the development environment and i just started my visual studio programming with c# script language .I just know the basics but I'm learning to new ideas .Sorry for the earlier posts that I didn't knew much more about this group . On 9/9/08, Cerebrus <[EMAIL PROTECTED]>

[DotNetDevelopment] Sorting A Repeater

2008-09-09 Thread rzaleski
I have two objects: ObjectA and ObjectB. I also have two repeaters on a page: RepeaterA and RepeaterB (one nested inside another). I get a list of ObjectAs and bind it to RepeaterA. On the ItemDataBound event of RepeaterA, I get a list of ObjectBs (based on ObjectA.ID) and bind it to RepeaterB.

[DotNetDevelopment] Re: show Total number of records in SQL query

2008-09-09 Thread tirath
thanks to evryone for suggestions, i cannot use count(*), top 200, or rowcount because that would mean that i am applying the same filters twice - 1 query to fetch all records mtachin filters, second query to fetch top 200 results that match criteria..i wil talk to my client abt paging, may be the

[DotNetDevelopment] Re: Changing an icon in NotifyIcon in VB.NET

2008-09-09 Thread mrkoconnell
Thanks for the tip. I am using Visual Studio 2003 with framework 1.4 so I didn't find the "ExtractAssociatedIcon" function. I used: System.Drawing.Icon micon = new Icon(str1); this.notifyIcon1.Icon=micon; and this worked fine. On Sep 7, 1:10 pm, Joeizy <[EMAIL PROTECTED]> wrote:

[DotNetDevelopment] Re: Breakpoints not hit

2008-09-09 Thread mrkoconnell
Could you provide a few more details? On Aug 13, 8:25 am, BookerT <[EMAIL PROTECTED]> wrote: > I have tried most suggestions that I have found as to why my > breakpoints are not being hit, but it still is not working.  I need > extra, extra expert help. > > I don't have them all handy, but in a n

[DotNetDevelopment] C# Web Service Client Without a Proxy Class

2008-09-09 Thread Cale
Hello group, I've been digging around Google and the rest of the Internet for the last few days trying to figure out how to consume a web service without using a proxy class. Everything that turns up uses some type of proxy class and that won't work for me... mainly because I won't know the endpo

[DotNetDevelopment] Re: execute server side code before window.open.

2008-09-09 Thread tirath
thanks for sugegstion. i have lot of filters, some of them comma separated list.so cannot pass values in url, also i need window of specific type, hence no response.redirect. any other ideas? On Sep 9, 2:22 am, DKM <[EMAIL PROTECTED]> wrote: > what about Response.Redirect instead of window.open

[DotNetDevelopment] Re: execute server side code before window.open.

2008-09-09 Thread tirath
thanx for ur reply. I tried this, but window does not open, becos i guess it is blcked by popup blocker. IE comes with default pop up blocker. any other ideas? On Sep 9, 4:51 am, "ramireddy dasaradha" <[EMAIL PROTECTED]> wrote: > suppose when you click a button. you wants to execute some server

[DotNetDevelopment] Added Controls to Form are not posting back

2008-09-09 Thread adailey
I am adding some HiddenFields in the code behind Page_Init method that is getting added to the form via form.Controls.Add(hiddenfield); This works fine. When I view the source code of what is rendered in the browser, it shows up as expected in the source view of the page. However, my issue come

[DotNetDevelopment] Re: Citrix Screenscraping

2008-09-09 Thread Glenn
Load up Spy++ and see what you have when you run the remote application through Citrix. From my use of Citrix, it appears as though the application's dialogs are available to you as though the application was local. I think all Citrix does it to pass the dialogs/events between the client and the

[DotNetDevelopment] Re: Multiple forms Switching Problem

2008-09-09 Thread Glenn
If MDI is not the exact functionality that you are looking for, you can simply use Show() rather than ShowDialog(). ...Glenn 2008/9/9 Raven <[EMAIL PROTECTED]> > > Thank you very much for your replies. > > @Glenn: I will look into MDI thank you > > --~--~-~--~~~---~--

[DotNetDevelopment] Re: Return Type

2008-09-09 Thread Glenn
First of all, you should always keep your return codes to a single meaning, preferably a simple type to indicate the function's status. There is a book that I bought 15 years ago that did the best job of explaining it: "Writing Solid Code: Microsoft's Techniques for Developing Bug-Free C Programs"

[DotNetDevelopment] Re: Breakpoints not hit

2008-09-09 Thread Glenn
I finally get a "groupie" and you guys want to ban him. Gee, thanks! :) ...Glenn On Tue, Sep 9, 2008 at 5:10 PM, Joe Enos <[EMAIL PROTECTED]> wrote: > > Ditto for me...At least the previous professional insulter was > reasonably entertaining when he went off on someone...This guy's being > rude

[DotNetDevelopment] Re: Breakpoints not hit

2008-09-09 Thread Joe Enos
Ditto for me...At least the previous professional insulter was reasonably entertaining when he went off on someone...This guy's being rude and insulting, and not even funny. On Sep 9, 12:43 pm, "Jamie Fraser" <[EMAIL PROTECTED]> wrote: > I think you'd be as well banning him - he's starting to pis

[DotNetDevelopment] Re: Breakpoints not hit

2008-09-09 Thread Jamie Fraser
I think you'd be as well banning him - he's starting to piss me off already. I think he is trolling anyway, certainly seems so from his last 10 posts or so. On Tue, Sep 9, 2008 at 6:40 PM, Cerebrus <[EMAIL PROTECTED]> wrote: > > Post removed because it is unacceptable by Group standards. User > "

[DotNetDevelopment] Re: Windows services

2008-09-09 Thread Glenn
If you're going to have this execute at a certain time every week, the solution is to use a Windows application that is invoked through the Windows Scheduled Tasks. Otherwise, you will have to write your own scheduling mechanism in your Windows Service, which is very difficult if you are not famil

[DotNetDevelopment] Re: Running VS 2005 and VS 2008 on same development machine

2008-09-09 Thread Glenn
He answered that earlier in the thread. He has clients that require the VS2005 project files. ...Glenn On Tue, Sep 9, 2008 at 10:18 AM, vaibhav <[EMAIL PROTECTED]> wrote: > > Both versions will co-exist. > > > What is the need to install VS 2005? > > vaibhav > --~--~-~--~~-

[DotNetDevelopment] Request.Querystring (c#)

2008-09-09 Thread henry
Please any help will be appreciated.. I'm trying to save sorted records in a dataset based on request.querystring value. I'm having problem saving the edited record back to the datasource based on the sorted order. lets say Order = "ID"; if (Request.QueryString["Order"] != null) {

[DotNetDevelopment] Re: Multiple forms Switching Problem

2008-09-09 Thread sallushan
Still can't understand very clearly. However if you want, On MainForm -> Button1 Click -> Open ChildForm -> But MainForm does NOT loose focus and ChildForm open in background Then, // MainForm.Button1 Click event Handler private void button1_Click(object sender, EventArgs e) {

[DotNetDevelopment] How do I reference data in a previous column in GridView?

2008-09-09 Thread Robert Hirabayashi
I apologize in advance if I don't use the proper terminology to describe what is going on. And I thank you in advance for your help. I have a GridView that pulls data from a web service. In column 5 I want to call a function and pass the data text from column 1. I can call the function no problem

[DotNetDevelopment] Re: Can We install VB6 and Visual studio5 on the same system simultaneously

2008-09-09 Thread Theraot
I don't think there were to much intentions to provide such link if someboy here has it, futher more, I have seen such version, and trust me, It wasn't found on a "link". I know this group has already been spoiled, but... don't spam please. talking about the original question, I have had not bot

[DotNetDevelopment] Re: Return Type

2008-09-09 Thread Cerebrus
Yup, sure. 3 ways that I know of : 1. Normal function return type,. 2. Out Parameters (C# only) 3. Reference type parameters (ByRef/ref) On Sep 9, 10:21 am, "VIKAS GARG" <[EMAIL PROTECTED]> wrote: > Can we have two different kind of return types in a single function --~--~-~--~~-

[DotNetDevelopment] Re: mutiple row editing in gridview control

2008-09-09 Thread Cerebrus
Rocky, Notwithstanding your differences with me or Glenn, I strongly suggest that you maintain civility.(I have read your responses in the other threads.) Gentle banter is encouraged in this Group... the use of profanity is expressly banned in this forum. You are very new to the Group and it may

[DotNetDevelopment] Re: Breakpoints not hit

2008-09-09 Thread Cerebrus
Post removed because it is unacceptable by Group standards. User "Rocky" has been warned. -- Cerebrus. Group Moderator. On Sep 9, 9:03 pm, Rocky <[EMAIL PROTECTED]> wrote: > Snipped. --~--~-~--~~~---~--~~ You received this message because you are subscribed to th

[DotNetDevelopment] Re: Need some insights please....! (Design issues..)

2008-09-09 Thread Cerebrus
Rocky, When two people happen to agree with each other or have similar opinions, is it automatically a corollary that are they bed buddies ? It appears to me that you have had the unfortunate experience of never having anyone agree with you in your life. That is why it seems so astounding to you.

[DotNetDevelopment] Re: show Total number of records in SQL query

2008-09-09 Thread Mahmoud Ghoz
You can use paging. Let's make the page contain 200 record and the next page get the next 200 and so on. You can also add the sorting to your datagrid to facilitate fetching the information. Take care to make the paging and the sorting implemented on the database not from your web page. This is th

[DotNetDevelopment] Re: mutiple row editing in gridview control

2008-09-09 Thread Rocky
Saru.. are you kidding me?! I am starting to see why Glenn and Cerebrus are assholes. I am not condoning their behavior but I understand. Here is a site that helps new programmers by doing labs in a virtual environment. http://msdn.microsoft.com/en-us/aa570323.aspx This should help you get s

[DotNetDevelopment] Re: Multiple forms Switching Problem

2008-09-09 Thread Raven
Thank you very much for your replies. @sallushan The exit button is on MainForm. But when ChildForm is opened it doesn't loose focus and prevents me from accessing MainForm and exit. It is not really a matter because if i want to exit İ would close all the windows. But the main problem is i can n

[DotNetDevelopment] Return Type

2008-09-09 Thread VIKAS GARG
Can we have two different kind of return types in a single function --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting" group. T

[DotNetDevelopment] Re: execute server side code before window.open.

2008-09-09 Thread BadDotNetCoda
hi, maybe u can use a normal link with target=_blank to avoid window.open. usual i send search conditions via page parms to result page. so u can run server side code in your result window. hope this helps. On 8 Sep., 23:53, tirath <[EMAIL PROTECTED]> wrote: > Hi, > I have a web page, where user

[DotNetDevelopment] Re: c#: looking for a way to populate listview from common data

2008-09-09 Thread Sebastian
Joeizy and santhosh! Thank you for the link and pointing me towards databinding. I'll look into it. Cheers, Sebastian On Sep 8, 5:58 am, Joeizy <[EMAIL PROTECTED]> wrote: > First off I don't want to get your hopes up so I'm going to tell you now > that the ListView doesn't support databinding.

[DotNetDevelopment] Re: show Total number of records in SQL query

2008-09-09 Thread ramireddy dasaradha
why can't you use paging. there show only some records. when he click next page, show him the next records. or you can implement this paging in sql also by writing a query like fetch the records from 50 to 75 etc by using row_number() function. On 9/9/08, tirath <[EMAIL PROTECTED]> wrote: > > > h

[DotNetDevelopment] 90968 Object reference not set to an instance of an object.

2008-09-09 Thread J Ivan P Silvestre
Hi All, I have 2 pages in my application(Suppose). on First page whatever i enter in the text box i want that to be selected as default in the drop down list in second page... But at the same time i am populating the drop down in the second page as follows: string OUName = Request.QuerySt

[DotNetDevelopment] Re: show Total number of records in SQL query

2008-09-09 Thread BadDotNetCoda
usual this would be done by a pager in your grid footer. Like google does ;) individual pager items will request the limited records from your database. hope this helps. On 8 Sep., 23:58, tirath <[EMAIL PROTECTED]> wrote: > hi, > Due to large number of records in database, my client has asked to

[DotNetDevelopment] Re: Can We install VB6 and Visual studio5 on the same system simultaneously

2008-09-09 Thread muzic freak
On Mon, Sep 8, 2008 at 1:13 PM, CK <[EMAIL PROTECTED]> wrote: > > Nope, Visual Studio 2005 works just fine on Windows XP. > > On 4 Sep, 12:13, santhosh <[EMAIL PROTECTED]> wrote: > > Sure. Actually VS 2005 (VS 7) is different from VS 6 > > Visual studio 2005 will require OS released after XP. > >

[DotNetDevelopment] Re: execute server side code before window.open.

2008-09-09 Thread DKM
what about Response.Redirect instead of window.open Response.Redirect("NewPage.aspx?param1=" + RadioButtonList1.SelectedItem.Value + " "); you can also send the filter in the QueryString. On Sep 9, 2:53 am, tirath <[EMAIL PROTECTED]> wrote: > Hi, > I have a web page, where user selects some fil

[DotNetDevelopment] Windows services

2008-09-09 Thread sub_wip
Hi, Greetings to all. I am developing a windows service,Which will generate a excel report from a XML data source on every monday and send it to a perticular group of client via mail as an attachment.Please refer me any document from whic i can learn more about working with windows services. This

[DotNetDevelopment] Re: XmlSerializer usage

2008-09-09 Thread Joseph Irizarry
I agree that you could implement a more robust solution manually, but the benefit of the XmlSerializer is that it has already been implemented for you (handling collections, and other types of weird scenarios), and works just fine. Another point would be that the more checks you do slows down the w

[DotNetDevelopment] Re: execute server side code before window.open.

2008-09-09 Thread Max
You may pass that filter values in window.open, then read them in your server side PageLoad event (see article: http://www.milonic.com/mfa/2005-November/passing-parameters-within-url.html) On Sep 9, 12:53 am, tirath <[EMAIL PROTECTED]> wrote: > Hi, > I have a web page, where user selects some fil

[DotNetDevelopment] Re: hii how can i use if and else loop in asp

2008-09-09 Thread Rocky
Damn dude, I wanna defend you but you gave me nothing to work with. Cerebrus and Glenn are lovers and they tend to talk trash about people that post questions forgetting that they were once rookies at programming. If you look at every post that has Glenn on it cerebrus is there right with him, I'm

[DotNetDevelopment] Re: Load .shp file to c#.net form

2008-09-09 Thread Max
I would suggest to use free open-source components: SharpMap or MapWindow, etc. On Aug 29, 6:23 pm, "pavan kumar vinjanampati" <[EMAIL PROTECTED]> wrote: >  Actually .shp files are map files so u can use map component > for web application you  can use aspmap3.0 tool (you  can download 40 days >

[DotNetDevelopment] Re: Running VS 2005 and VS 2008 on same development machine

2008-09-09 Thread vaibhav
Both versions will co-exist. What is the need to install VS 2005? vaibhav On Sep 6, 7:09 pm, sfp <[EMAIL PROTECTED]> wrote: > I currently have VS 2008 Express installed with some c# projects.  I > have a need to install VS 2005 for a project developed with that > version.  Before I attempt tha

[DotNetDevelopment] Re: GridView Bind Problem

2008-09-09 Thread ramireddy dasaradha
i think you may set to autogeneratecolumns to false for that innergridivew and in those columns for gridview you only add one column. On 9/8/08, DKM <[EMAIL PROTECTED]> wrote: > > > I use a nested Gridview. when I bind the Nested Gridview in the > RowDataBound event of the parent Gridview, I get o

[DotNetDevelopment] Re: show Total number of records in SQL query

2008-09-09 Thread Max
DECLARE @RecCount INT SELECT @RecCount = COUNT(*) FROM [TableName] SELECT TOP 200 @RecCount, [FieldName1], ... [FieldNameN] FROM [TableName] On Sep 9, 12:58 am, tirath <[EMAIL PROTECTED]> wrote: > hi, > Due to large number of records in database, my client has asked to > limit the search results

[DotNetDevelopment] global visual studio settings

2008-09-09 Thread Johan Kuipers
Hi, While going through a tutorial about C# I am creating lots of new projects. Every time I have to set the build options to 'Treat warning as errors'. Can someone tell me how to set some 'global' or 'template' settings so every new project will inherit these settings. I'm using Microsoft Visu

[DotNetDevelopment] Re: Need some insights please....! (Design issues..)

2008-09-09 Thread Rocky
You and cerebrus must bed buddies or something. Which one of you is sucking and who is receiving. Obviously the guy is new but don't be an asshole to the guy. RogFed Int32 is variable type which allows for you enter in numbers from -2,147,483,648 to 2,147,483,647. This does not limit how many numb

[DotNetDevelopment] Re: execute server side code before window.open.

2008-09-09 Thread ramireddy dasaradha
suppose when you click a button. you wants to execute some server side code first, then wants to execute window.open() function. then First don't bind that window.open() corrosponding javascript event. in button click event, after execution of the code by using registerstartupscript() function, you

[DotNetDevelopment] Re: Breakpoints not hit

2008-09-09 Thread Rocky
Finally You gave an answer that someone that can use Glenn so instead of you just being a jerk, I guess you're just a dick sucker. How about those apples bitch. On Aug 14, 9:15 pm, Glenn <[EMAIL PROTECTED]> wrote: > Was your program compiled in "Debug" mode with the debugging information > built

[DotNetDevelopment] Re: Learning: Microsoft Visual C# 2008 Step by Step by John Sharp - CODE EXAMPLES

2008-09-09 Thread Cerebrus
Thread closed upon request. -- Cerebrus. Group Moderator. On Sep 9, 12:38 am, Glenn <[EMAIL PROTECTED]> wrote: > C, > > The link to the CD download, as expected, vanished from Google.  I told > everyone to be quite about it, but it looks like someone opened up their big > mouth about it! > >  Yo

[DotNetDevelopment] Re: Citrix Screenscraping

2008-09-09 Thread sallushan
Hmmm, if you can find the handle of the window, then maybe you can play with messages (WM_*). And for grabbing what is displayed, use GetDC() and then BitBlit(). (just a thought) :) On Sep 9, 12:43 pm, CK <[EMAIL PROTECTED]> wrote: > Sorry, I didn't expand properly.  I'm going to need to be able

[DotNetDevelopment] Re: ASP.NET insatallation regargs:

2008-09-09 Thread Jamie Fraser
Did you try searching for the error code 0xc07b on google? On Mon, Sep 8, 2008 at 1:25 PM, ROOBEN <[EMAIL PROTECTED]> wrote: > > in running an error- > " the application failed to initialize property(0xc07b).click on > OK to terminate the application" --~--~-~--~~--

[DotNetDevelopment] Re: show Total number of records in SQL query

2008-09-09 Thread Jamie Fraser
SET ROWCOUNT SELECT COUNT(Id) On Mon, Sep 8, 2008 at 10:58 PM, tirath <[EMAIL PROTECTED]> wrote: > > hi, > Due to large number of records in database, my client has asked to > limit the search results to 200. but they also want information like > "1000 records found, but only 200 are being displ

[DotNetDevelopment] Re: Deployment error

2008-09-09 Thread Jamie Fraser
Do you honestly expect an answer to such an absurdly vague question? If you are getting an error, how about POSTING IT HERE! On Mon, Sep 8, 2008 at 8:15 AM, Ravikumar Ranga <[EMAIL PROTECTED]> wrote: > Respected Sir, > > i developed one Application using Asp.Net(Website)...After deployment, >

[DotNetDevelopment] Re: Citrix Screenscraping

2008-09-09 Thread CK
Sorry, I didn't expand properly. I'm going to need to be able to interact with a Citrix client to access a remote application. Ideally I'd like to be able to send input to the application and then read what is being displayed. Thanks. On 8 Sep, 16:30, Mahmoud Ghoz <[EMAIL PROTECTED]> wrote: >

[DotNetDevelopment] Re: Deployment error

2008-09-09 Thread CK
what error? i reckon your problem is that line 28 of your code behind incorrectly has the word "frog" in it. Thats a common error. On 8 Sep, 08:15, "Ravikumar Ranga" <[EMAIL PROTECTED]> wrote: > Respected Sir, > >   i developed one Application using Asp.Net(Website)...After deployment, > when