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

Software Development Network >> Vaish's Q&A profile

Vaish

Member List

James2007
malgre
Dew777
comiv
kirupa
ntsoo
Eliyahu
PublicError
RizwanSharp
kcchesnut
KJBalaji
a.d.m
lib_team
Pete Nelson
Souti
Jack Wong
petedashwood
MMCompton
DDKCoder
J Jakubik
Only Title

Vaish's Q&A profile

  • .NET Development COnnect to Sql using Web Service in VS2005

    I have this web.config file and i want to add my connection string to that can i do that if so how do i access it Do i use the Web Configuration Manager or what <WebMethod()> _ Dim connect As String = new Web.Configuration.WebConfigurationManager("connstring") but i get an error doing this.....Please help me...thanks Check this one out http://www.extremeexperts.com/Net/FAQ/StoringConnectionString.aspx ...Show All

  • Visual Studio Custom HTML

    Hi all, Is there anyway, hack or whatever to put custom HTML in a report. I would like to draw a table. I have seen some posts reference DHTML etc but have not seen where I could insert custom script. Thanks I have found a post by Teo Lachev that says this. SP 1 (scheduled to be released this month) will add support for calling custom javascript code. This will allow you to manipulate the page DHTML model. Currently, you may try the following hack. You can render your report is an HTML Fragment embedded in the hosting page. The posting page (e.g. window_onload) can use DHTML to reference and change the report fragment. What is he referring to then ...Show All

  • Visual Studio Express Editions clock time

    what is the best to keep track of time What I want to do is calculate time worked in the morning and in the afternoon. For example: person clocked in at 7:55am clock out for lunch at 12:10pm clock in from lunch at 1:15pm clock out for that day at 5:22pm Is there an easy way to calculated this or I am basically going to have to do all the calculation in the code thanks you can use a class called TimeSpan: http://msdn2.microsoft.com/en-us/library/system.timespan.aspx a TimeSpan calculates the duration/time interval between times. Example: DateTime d1 = DateTime.Now; DateTime d2 = DateTime.Now.AddHours(1); TimeSpan diff = d2 - d1; MessageBox.Show(diff. ...Show All

  • Windows Live Developer Forums Orange Icons in Live Search

    I'm not very fond of the red pushpins but the orange markers look perfect! The orange markers appear in Live Search when you do a search for businesses. Does anyone know where I can find the image source Also, I remember reading threads on how to print numbers on the markers but I couldn't pull it up from Search. Can someone point me in the right direction Thanks! Jeff / Stuart, I've add the snippet to the VE WIKI: http://www.viavirtualearth.com/wiki/NumberedPushpins.ashx If there is more to add or correct please visit the page and click on edit (no login required - just have to have a few goes at a capthca control) Thanks John. ...Show All

  • Visual Studio 2008 (Pre-release) Buffer Size error when retrieving Metadata - How to increase size?

    I am trying to retrieve the MetaData from the WCF Service using the following method. // Create a MetadataExchangeClient for retrieving metadata. EndpointAddress mexAddress = new EndpointAddress ( uri ); MetadataExchangeClient mexClient = new MetadataExchangeClient ( mexAddress ); // Retrieve the metadata for all endpoints using metadata exchange protocol (mex). MetadataSet metadataSet = mexClient.GetMetadata(); How do I increase the buffer size Thanks, Dave An exception is being generated Metadata contains a reference that cannot be resolved: 'http://localhost/EventTest/ServiceReport.svc/mex/'. at System.ServiceModel.Description.MetadataExchangeClient.MetadataRetriever.Re ...Show All

  • Visual Studio Using list on top of existing grid made of lines (Newbie alert!).

    When I use a "list" on top of a grid/table made of lines it will push things below it so that one page suddenly take up 3 pages. How do I avoid this ...Show All

  • Software Development for Windows Vista tableadapter update inside failed transactionscope doesn't rollback the datatable

    I have a number of tableadapters which must update under one transaction. After a transaction failure I notice that the data in the (SQL Server 2005) database has rolled back but the data in the datatables on the middle tier has not. This creates problems as some of the tables contain data on which other data tables are dependent. In particular, identity fields on these datatables are left populated with the identity from the failed insert. Is there a way to accomplish a rollback of data in these datatables without resorting to datatable.clear() followed by datatable.Add[tablename]row Regards. DataTables/DataSets are not TransactionScope aware and will not rollback when the transaction is ...Show All

  • SQL Server Users in RS2005

    How do you set up user as who can access what report in Report Manger. I do not see security tab in RS2005. u can set security by connecting to RS from SSMS. right click report folder or report itself and click Properties. Under Select a page, select Permissions. from Report Manager, click at Show Details at the right hand side of the page. Click Edit next to the report folder or report. there's a security link at the left hand side. hth ...Show All

  • Windows Forms Regular Expression Help

    I am trying to write an regex that will match URL that is more than 27 characters and contains the phrase "www.paypal.com" . THx I'm not proficient in regular expressions, but this might help you figure out the exact expression you need www.paypal.com[\w - ./ %&=]{14,} The 14+14=28=min characters. ...Show All

  • Visual Studio 2008 (Pre-release) No appropriate XAML tags for inline code

    According to the documentation (...), in an XAML document one can have inline code which contains, say, C# code for event handlers. Is it possible to insert such code in an XAML created with Visual Studio If yes, what is the correct tag which should contain the CDATA element In the articles that I consulted, either <def:Code> or <x:Code> is used; however, these tags always generate errors when I try to compile the project. This is what I did: - I created a new project (WPF or XAML browser); - in the XAML editor, I added some controls - say, a <Button>; - I added a handler for the button, with ' Click="OnClick" ' - I wanted to have the code of the handler in the XAML file. For this I tried to ...Show All

  • Windows Forms c# Insert Text into Textbox

    I have a series of textboxes on a Windows Form and a Series of buttons aswell. What I am trying to achieve sounds quite simple but I cannot figure out how to do it. Basically all Im trying to achieve is each button has some predefined text associated with it and when the user clicks the button, it inserts that text into the textbox which has the focus. The problem with this is that when you click on the button you lose the focus from the Textbox. The only way I have figured out is to save which control has focus before the button is clicked. This works but when you have 32 textboxes on a form, surely there is a better way than creating an On_Enter Method or similar to set the value of the Control which needs the text. Any help would be ...Show All

  • SQL Server Replication scripts

    Hi, The company I work for delivers their developed software together with two W2K3 servers using SQL Server 2000. These two servers has two roles, production and backup, and if the production server is offline or if anything happens to it, the backup server becomes the production server. When the original production server is back online, it becomes the backup server. I have struggled with replication on these two machines. What we would like is to have scripts for these servers. These scripts should be general so that they could be run at both servers. The current production server is setup as distributor and publisher, and the backup server is setup with a pull subscription. Also, when the subscriber is seetup, it should update it ...Show All

  • Visual C# An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in aotoc.dll

    An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in aotoc.dll Additional information: Invalid key When i am trying to rund the project i got the above mentioned errors Rakesh I assume that aotoc.dll is part of your code then. The exception is occuring during a COM call. Evidently an invalid key (perhaps a dictionary key) is being used and the COM method being invoked is throwing an exception. You need to evaluate the method you're calling and resolve the issue. Michael Taylor - 11/30/06 ...Show All

  • Visual Studio 2008 (Pre-release) UserName authentication

    Hi, I'm trying the sample about 'username authentication'. I have not changed the sources of sample. I receive this error : "An unsecured or incorrectly secured fault was received from the other party. See the inner FaultException for the fault code and detail." InnerException : "At least one security token in the message could not be validated." Server stack trace: at System.ServiceModel.Channels.SecurityChannelFactory`1.SecurityRequestChannel.ProcessReply(Message reply, SecurityProtocolCorrelationState correlationState, TimeSpan timeout) at System.ServiceModel.Channels.SecurityChannelFactory`1.SecurityRequestChannel.Request(Message message, TimeSpan timeout) at System.ServiceModel.Security.S ...Show All

  • Visual Studio 2008 (Pre-release) WPF application template....

    I would kindly ask someone who has .Net Framework 3.0 June CTP installed and Orcas for the June CTP, to send me an emtpy solution (at markovuksanovic@hotmail.com ) for WPF Windows Appliation (created by Visual Studio). I have July CTP installed and cannot install Orcas, and by the way dont need it, I just need to see how to run the WPF application, open a window,... and such basic things. Thanks in advance, Marko Vuksanovic. Email: markovuksanovic@hotmail.com The Windows SDK provides sample project files for several WPF project flavors . If you prefer to use a combination of text editors and command line build environments, these samples are your friends. Note that the WPF build system ships with ...Show All

©2008 Software Development Network