netweavernet's Q&A profile
Software Development for Windows Vista Customizing ASP.NET page
Hi all, I am new to wwf. Is it possible to design or customize ASP.NET page based on workflow I want to generate ASP.NET pages based on workflow activities. Please suggest me any related articles. regards, Vas hi SSV, maybe,you create a virtual UGI layer ,like below, a delegate type: public delegate VirtualFormClosedEventHandler(VirtualFormClosedEventArgs pArgs); a IVisualForm Interface. public interface IVirtualForm { void ShowDialog(object pData); event VirtualFormClosedEventHandler Closed; } a IVirtualFormFactory class like below: public interface IVirtualFormFactory { IVirtualForm CreateForm(string uri); } if in web application , we ...Show All
Visual Studio Team System Person table doesn't give the complete list of users in SQL Server reporting services
Hi All, We are using "WorkGroup Edition" of Team Foundation Server. I am preparing some reports for our team project by SQL Server every thing working fine but now I am facing a problem that, when I select the table "Person" and field person or alias, it does not give the list of all members.But when I prepare the report from Analysis service, and select the "Assigned To" table I get the complete list of users. Is there is any kind of checks which blocks to show the name for the users. Please reply if there is any workaround for this problem. Regards Praveen Actually scenerio is like that I had prepared a report in SQL server reporting services.When i select a table Person and select a column(person or alias) from i ...Show All
.NET Development Check availability of SQL Server in .Net
Hello I am writting a small Server Monitoring application, which will email and SMS if anything stops working. For example it will continually Ping the server to make sure it has a network connection, it will also check that it can connect to the SMTP server and Pop3 server, all of these i have done. I would now like to somehow ping/check a host to see if SQL server is visable on the host without knowing the Username and Password, as i dont want to actually connect to the database and run quirys, i just want to know that the SQL server is still there accepting connections. I want to acheive this without having the username and password if possible. e.g without using SqlConnection.Open("ConnectionString"); Im sure this is v ...Show All
.NET Development DefautValueAttribute usage
Is the DefaultValueAttribute only to be used on a property when the property gets set to a non-zero value, since all properties are initialized to a 0 value equivalent to start I gather this is what the attribute is for, so that the serialization of the property at design time need not be done if the value to be saved matches the DefaultValueAttribute. I assume that in lieu of no DefaultValueAttribute, 0 values are never saved. However I want to make sure of my understanding of DefaultValueAttribute so that I can use it only when needed for my properties in my own components. Perhaps this answer your questions better http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpref/html/frlrfsyst ...Show All
Windows Forms adding a User Control programmatically to a panel control.
'DMan1' showed me how to add a panel to a TabPage programmatically. I can find that panel in QuickWatch -->> TabControlRight.TabPages(0).Controls(0) When I had previously added the panel to the tabpage at design time, I was able to add a custom User Control of mine to the panel by just dragging it over from the toolbox. How do I do that now that I have just added this panel to the tabpage So how do I add the custom User Control onto the panel now Thanks, -Greg I got it. TabControlRight.TabPages(0).Controls(0).Dock = DockStyle.Fill Since the underlying panel wasn't all puffed out, the User Control didn't have a foundation to show up on. ...Show All
.NET Development E.g of how to implement a REST webservice in .net
Hi, I've current got normal SOAP web services in .net and need to create REST versions of them. Any simple e.g.s of how to do this in .net I'm guessing i have some type of aspx page that ppl post the method and params in the query string...after e.g. of what i do with it when i receive it etc. Any help greatly appreciated Hello BronwenZ Did you get any further with this I need to get some help with a very similary type of thing but don't know where to start. ...Show All
Windows Forms Custom control and P/Invoke
I would like to make battery ramainder control in mobile device especially pocket pc 2003 using Microsoft Visual Studio .NET 2005. So I made a class named 'BatteryRemainder' inherited from Control and periodically update battery status using Win32 API 'GetSystemPowerStatusEx' But there is some problem in Visual Studio designer. When I embedded my control into my form, the feature of my control is displayed as rectangle with text 'namespace.BatteryRemainder.controlname'. But when I delete two lines [dllimport ...] public static extern int GetSystem.....() It looks quite well. In my opinion there may be some problem in safe code and unsafe code. Below is my code lists. How do I solve it Your a ...Show All
SQL Server Full-Text: How to determine valid LCIDs for CONTAINS() LANGUAGE parameter?
I need to determine the set of valid LCIDs that can be passed as values to the LANGUAGE option of the CONTAINS() clause. I can get the initial set (17) from the sys.fulltext_languages table. However, certain sub-languages of these languages are also supported. For example, LCIDs 12, 2060, 3084, 4108, 5132, 6156 are also supported as sub-languages of 1036 French (France). Normally, the determination can be made by matching on the primary language ID portion (bits) of the LCID. E.g., decimal 12 is the primary language for French. The problem, in SQL Server 2005, is with Spanish, and possibly others. Spanish (Spain - Modern Sort) (LCID 3082) is in sys.fulltext_languages. However, Spanish (Puerto Rico), (Mexico), and others (e.g., LCI ...Show All
.NET Development Help with GetListItems
Hi i wonder if anyone can help with a problem. Im kind of new ant this. I have and assignment for work, and we are supposd to use xml nodes to get some results from sharepoint. When i try to put parameters in the (Just an example) getlistitems("asd",null,query",null,null,null); my program gets and error but if i just have the getlistitems like this getlistitems("asa",null,null,null,null); then all the documents from sharepoint is displayed on my webpage We are only supposed to have the specific documents show that we are searching for but i cant do that because the program bombs out when i add the other paramenters can you please help me thanks =)) ...Show All
Visual C# Why C#
I know this is very basic question. But why one should select C# over VB.net Imho they have both their pros and cons... The "c# vs vb.net" debates are numerous (a simple websearch will return lots of valuable resources)... Anyway, in my experience it's a lot easier to find code samples in c# than in visual basic .net... ...Show All
Visual Basic Text color
Hi, I have a little sub here to add a line of text to a richtextbox and set the color of the first line. It works fine for the first line, but for some reason after setting the color of the first line, it sets the rest of the text in the textbox to the color it used for the first line the previous time the sub was called (which obviously isn't what it should be). Here's the sub (oType is an enum but I don't think that'll be the problem) hmm. *confused* lets go through this step by step what text is in the textbox which text do you want highlighted in the textbox where does this new piece of text go in the textbox after highlighting the existing selection ...Show All
Visual Studio Team System Moving a dual server instance to new hardware
I'm in the middle of moving a dual server instance of tfs to a couple of test machines. We've successfully installed the tfs dual server setup to the app and data tiers, and restored the databases from the live instance to the test setup. I'm just in the final stages of the move and am hesitant to run the tfsadminutil activateat command because of the prompt i receive. It asks me to make sure the old app tier has stopped the tfs service before running the command. My question is this. By running the command on the new server, will it in any way affect the old instance. The reasons; I have a live instance running on 2 machines, and I want to do some testing in a staging environment, so I need to live instance to be available after I do th ...Show All
SQL Server Execution 'mqx5wx3madendk45bjfwm145' cannot be found (rsExecutionNotFound)
I am receiving the error message Execution 'mqx5wx3madendk45bjfwm145' cannot be found (rsExecutionNotFound) this occurs everytime i try and run the ADMP DC Disk SPace report from Internet Explorer. I have tried everything i can think of with regards to solving this problem, i have updated files, service packs, have removed Active Directory Management Pack and readded. Any help would be much appreciated. ...Show All
Microsoft ISV Community Center Forums command line parameters to VBA in PPT?
Hi A;;: Is ther any way to pass a command line parameter to VBA within a Powerpoint presentation We'd like to pass a filename into our program from the command line. Is this possible Thanks! amb Hi, I've had a look and I don't think powerpoint allows command parameters. With word you can specify a macro name and all sorts but the same doesn't look possible with powerpoint. The only thing I would suggest is feed the information in through a file. ...Show All
SQL Server Columns_Updated () and Update() functions
Hello all, I'm trying to apply an audit DB trigger on a master-detail tables ,I do not need to insert record in the audit master every time an update happend in the audit detail,I tried to use columns_updated() > 0 but it didn't work the way I axpected it to be ..it stopped inserting into the audit master even if an update was applied against the master table ...any help please and I use the Update() function is their any major difference your help is appreciated Thanks Alaa M COLUMNS_UPDATED() returns a value as a VARBINARY datatype, so for your comparison to work you need to convert the value to an INT first, like this: CAST ( COLUMNS_UPDATED () AS INT ) Chri ...Show All
