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

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

bud1024

Member List

Jeff-B
Maksim Libenson
Jacco Mintjes
Farhan H Soomro
Kostas M
uhclstudent
WizMan
qrli
c_shah
Xargo
jrboddie
maryz
bookysmell2004
Priyank Gajera
F. Gsell
looplocal
Stephen J.Vanterpool
sherif attia
BilalShouman
Derek Chan
Only Title

bud1024's Q&A profile

  • Visual Studio 2008 (Pre-release) WPF & Thread.CurrentPrincipal

    In a method which is attached to the loaded event of a window I am setting the thread.currentPrincipal to a custom principal object which I manually create. If i try to access the same thread.currentPrincipal in a method which is attached to a button click event the thread.currentPrincipal in this click method is automatically set back to a generic principal. Why In retrospect if I set the thread.currentPrincipal to my custom principal in one button and access it from another button its fine and is never reset to a generic principal... Anyone have any idea whats going on Actually, you are encountering an intentional feature of WPF. The Dispatcher is the central pump that keeps things moving in the applic ...Show All

  • SQL Server How to connect to Sql Server

    Dear Sir and Madam: I am now using Visual Foxpro 8 connect to MS Sql server 2000 (Personal Edition). Now, I have a serious problem that I can not connect SQL Server from client machine and it raises the following message : SQL Server does not exist or access denied But it worked when I connect at Server. I don't know the reason why Here is My Server Configuation Computer Firewall is OFF Authentication : SQL Server and Windows Connectstring="DRIVER=SQL Server;SERVER=HUNG1975;DATABASE=sales;UID=sa;PWD=sa;Trusted_Connection=False;DispLogin=3;ConnectTimeout=3" Please help me Thank you very very much. Hi, make sure that you are using the right port and that the us ...Show All

  • Software Development for Windows Vista How to communicate from Workflow Webservice to Console Workflow host?

    Hi, Newbie question ... I am trying to write a solution that has a console application hosting the workflow runtime, and exposes a webservice, which, when called, creates a new instance of a long-running workflow, to be added to the runtime running in the console app. (the webservice is running on the same machine as the console app) I have created and exposed the webservice without a problem. However, I don't understand how to get access to the workflow runtime running on the console in order to create the new instance for the new long-running workflow. I'm SURE it's a dumb question with a REALLY simple answer, but any advice would be gratefully received. Cheers folks. Once you have expo ...Show All

  • Visual Basic Open default email program (Outlook, for example) when pressing a link

    Hello all, iu have a question: My app has some labels with email adresses, what i want to do is some kind of linklabel but instad of oppening an internet adress, i want it to open, for example, outlook, with the adress in the destination field (many programs does so), also, it would be fine if i can personalize a default email subject and text, but if i can open the program and put the adress i am already happy enough :) Thanks Sorry i didnt specify, i am programming in Visual .NET so you are using C# Well its a different language and the incorrect forum to post in :-) C# code:   System.Text.StringBuilder theStringBuilder = new System.Text.StringBuilder();   theStringBuilder.Append ...Show All

  • Visual Studio Trouble getting Started...

    Hi all... I am trying to create my first report that accepts parameters and I'm following the tutorials provided. My problem started after adding the CrystalReportViewer object. The tutorial says to check View >> Other Windows >> Object Browser to see if the ConfigureCrystalReports() method was automatically added. First, I don't have the menu option Object Browser ANYWHERE, second that method was not added. When I create the method manually and add the code they provide nothing works. I'm using Visual Studio 2005 Professional Edition, so I know that this should work. Any suggestions Don't worry, there must be a mistake because I don't have that option too but I followed the tutorial and it w ...Show All

  • Visual Basic Table/Excel

    Hi, I have a data array containing numbers (double) i need to be able to display them in a table (like Excel, how do i do this Also at the bottom of the table i would like to have a button that can send the data table to excel, how do i do this Many THansk for any help/ideas you may be able to give me, Best Regards, Andy Thanks for your help, Do you know if there is an exmple vb project around, so i can look an learn (regarding data grids or excel passing ) Again many thanks, andy ...Show All

  • Visual Basic PrintForm - how to adjust margins?

    I use PrintForm component and I want to adjust margins of the print page. I have tried this: Dim margins As New Printing.Margins(100, 100, 100, 100) PrintForm1.PrinterSettings.DefaultPageSettings.Margins = margins PrintForm1.Print(Me, PowerPacks.Printing.PrintForm.PrintOption.ClientAreaOnly) but it does't work. Hi this was extreemly helpful, i was searching for an alternitive to the printform control as my college would not install the powerpack. I wanted to print the part of an invoice form as part of my coursework, this allowed me to print the invoice without getting the print button on the print out. Thank you very much this was extreemly helpful. ...Show All

  • .NET Development How to Find Yesterday's date

    Hi, I have a need to find yesterday's date. A datasource our app needs requires us to FTP a file from a remote server to the location where it is processed. The naming convention used on the file is filename.Mddyyyy . (filename.8242006, for example). The filename is constant. The catch is the file is created at 10PM and not made available until 2AM, so just doing a straight ToString() on "today's" date won't work because it will always be the "next" day : string date; date = thisDate.ToString( "Mddyyyy" , DateTimeFormatInfo .InvariantInfo); We use the filename.Mddyyyy to tell our FTP service which file to download. I've got to use yesterday's date to FTP the correct file. Any idea how to do ...Show All

  • Visual Studio 2008 (Pre-release) UserControls in the same project

    I'm using the RTM of WPF but still don't have a clear understanding of how to access usercontrols withing the same project in Xaml. Is there a way to do this or not I've been getting by with instantiating the controls in code behind, but I noticed that the release note whick explicitly states this is a bug is now gone in RTM. What exactly in the syntax for doing this ! ! No. The tools for Visual Studio are still CTP, even though the framework is RTP. We apparently will not be getting another version of "Cider" for VS 2005 either... it will be for the next version. ...Show All

  • Visual Studio Team System SQL Server does not exist or access denied

    Hi, To bind the parameters in the web test to a select statement.I have used web test plug in and am making connection to the SQL Server. I am getting the following message "SQL Server does not exist or access denied". Are there any permissions I have to set on SQL for this issue Thanks. How do I set those context parameters. The two webtests use the same bindings but they use different SQL queries on different tables in same database. How can I achieve this without writing different plugins. In short, the two webtests need different SQL query but work on same database. ...Show All

  • Visual C# Saving from a RichTextBox control in the selected TabPage

    I have a text editor program I am making, where a new tab page is added to a tab control every time the user clicks a specific button. A Rich Text Box Control is added to each new tab page that is created, and I need to be able to save the text from the Rich Text Box Control that is on the currently selected tab page when the user clicks another button. Does anyone know how I'm not sure if this has been asked before, but can't seem to find a soloution (I'm only a beginner). I add a new tab page with this code: private void toolNew_Click( object sender, EventArgs e) { RichTextBox newText = new RichTextBox (); string title = "New " + (tabControl.TabCount + 1).ToString(); TabPage newTabP ...Show All

  • Windows Live Developer Forums Check for land / disable zoom

    Hey I have 2 questions, that I'm hoping you can help me with. 1. Is it posible to determine if a specific position is land or water 2. Is it posible to disable the mouse wheel zoom function Or just disable zoom Yeah, I know it's not ideal. Maybe someone else on the forum has figured out a more elegant solution. To lock all user interaction, in the LoadMap() method, set the last parameter to true : map.LoadMap(new VELatLong(47,-111),14 ,'h' ,true); ...Show All

  • .NET Development Connection woos ...

    Just the other day I have not been able to connect to SQL Server 2005 Express Edition. NOTHING has changed. All I have noticed is that in the Surface Area Configurator the Local Connections only radio button it selected. So I try selecting the Remote radio button and Apply and Ok and then exit the Surface Area Configurator program and then come back in again and the Local Only is selected. Is this normal behavior Is Remote connections allowed or not How verify Thanks. My new and my old applications used to work remotely without problems. Both could connect using the server name or ip address. Now neither one works now, meaning they can't connect. Message is that the server doesn't exist. I can ...Show All

  • Audio and Video Development How to play 2 or more clips in one title

    Hi, All! I want to convert my standard DVD into HD-DVD. I see that I can rename my *.vob files to *.avi and create XPL with corresponded Title sections. It works (in iHDSim)...But I need to have only one title (main movie title divided on several VOBs on standardDVD). I want save chapters timestamps also - without recalculation. Is it possible Thanks. You can combine multiple EVOBs into a single title in HD DVD by simply listing them one after the other as PrimaryAudioVideoClip elements. You add chapter marks to the title as part of your XML Playlist. I do not know of an easy / automated way to convert from SD to HD. ...Show All

  • SQL Server is analysis services 2000 compatiable with sql server 2005??

    im trying to run analysis services 2000 along with sql server 2005 but with no luck. I can process the cubes no problem from within analysis services, but the problem is that the cubes are processsed each night via a dts package on the sql server side of things. when i run the package i get this error: Access is denied. the connection string to the repository needs to be specified in teh 9.0 server properties ( see <DSO>...</DSO> section in msmdsrv.ini file from analysis services 9.0). as im not using analysis services 9, that file doesnt exist. what do i do I think you have no issues in AS 2000. Error you get in AS 2005. If you use DTS package for AS 2000. You must be pl ...Show All

©2008 Software Development Network