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

Software Development Network >> Friedrich B's Q&A profile

Friedrich B

Member List

Naamala
Vijay Chegu
Daniel Coleman
mhodder
akram badr
BlueBeetle
Jacobeo
RajaYogi
Anil_shet
Forch
Adrian Heath
Roadrunner1234
Rustynails
ks2006
DalekDAW
teemuh
hemo
Mamine
DGMoffat
samsquared
Only Title

Friedrich B's Q&A profile

  • Visual C++ Autogenerated copy constructors and equals operators

    Hi everyone, Anyone know how to inhibit the compiler's autogeneration of copy constructors and equals operators for classes other than defining your own I have a template queue class for which cloning is not really a valid operation, and as such some of it's nested types are not suitable for auto-generated copy constructors/operators. Because of this, when I compile some code that uses the outer template class, I get compiler errors such as: error C2678: binary '=' : no operator found which takes a left-hand operand of type 'volatile T<itemtype>::NestedType' (or there is no acceptable conversion) When I double-click on the error, the editor simply goes to the end of the class declaration that has declared a member o ...Show All

  • Visual Studio Express Editions Internet Explorer in C# - what about default mail client ?

    Hello, First of all, I am very thankful for these forums and I am glad you guys are here to help! Anyway, I have Visual Studio 2005 Express C# Edition and I am working on a program and let me explain what I need to do. Okay, so I am working on this program. I was talking to the head manager on this and he said here is what we need. We need to have one text box and one button to load a website. Inside the text box the user will type the URL in. When the button is clicked on, it will load the URL from the text box. How can I do this Paul I mean (replace TextBox with name of your text box): System.Diagnostics. Process process = new System.Diagnostics. Process (); process.StartInfo.UseShellExecute = true; process.S ...Show All

  • .NET Development Whats this?

    Hi, I downloaded an game panel application for a dedicated server, ive installed it and tryed to run it and i get as follows. What do i need to do Server Error in '/GamePanel' Application. Hi again, This is the link from where i recieved it. http://www.gamepanel.org/ Might be of some help to solve why it wont work for me. Please have a look and let me know what you think, if I cant get this to work I need to find another game panel from somewhere. Anyhow thanks. ...Show All

  • Visual Basic what do the pros use to validate input?

    hi i now try to validate my input using if else, but i end up with alot of andalso, how do the pros do it i am tring to validate an ip address, so ... i did like : ' to ensure 1st oct of IP is between 1 & 254 & the rest between 1 & 256... if firstOct > 0 andalso firstOct < 255 andalso secOct > 0 andaslo secOct < 256 ..... it seems ineffective as it contains alot of andalso stuff, is this correct good call Ryan. totally agreed. In addition: http://www.regular-expressions.info/dotnet.html http://www.codeproject.com/vb/net/regextester.asp http://www.regexbuddy.com/vb.html ...Show All

  • Visual C++ synchronization in c++

    Hi all, I was just wondering wat are different methods provided in c++ for synchronization between 2 process....i.e., if one process is writing into the buffer then how can i stop the other process from reading from that buffer n if it doesnt read the value then wat does it read kunal ku19832001 wrote: I was just wondering wat are different methods provided in c++ for synchronization between 2 process....i.e., if one process is writing into the buffer then how can i stop the other process from reading from that buffer n if it doesnt read the value then wat does it read I wrote up an article + sample library on a somewhat different way to deal with it at http://www.codeproje ...Show All

  • SQL Server How to attach network file when send email with msdb..sp_send_dbmail, thanks

    I need attach file on other server on the same network. My sql is on a server named sql8, so I send email like this execute msdb..sp_send_dbmail @recipients='wyx1999@hotmail.com',@subject='subject',@body='body', @file_attachments='c:\header.gif' it works fine, but if I send execute msdb..sp_send_dbmail @recipients='wyx1999@hotmail.com',@subject='subject',@body='body', @file_attachments='\\sql8\header.gif' it gives me error Msg 22051, Level 16, State 1, Line 0 Attachment file \\sql8\header.gif is invalid. Any idea Not within Databse Mail. In a stored procedure you could always use xp_cmdshell to copy or rename a file and then call msdb .. sp_send_dbmail and attach the copi ...Show All

  • Visual Studio 2008 (Pre-release) Page navigation and de-serialization bug?

    I think I stumbled onto a bug. I'm building a navigation-based application using WPF. In it, I have a Page with a number of controls on it, mostly TextBlocks, TextBoxes and ComboBoxes. I also have a UserControl in there, which itself has a number of the same types of controls in it. The contents of both the Page and the UserControl are defined in XAML. On the Page, I have a TextBox (say TextBox1) with some text in it. In the UserControl, there is a TextBlock (say TextBlock1) with some text in it. The values of both controls are defined in XAML. Here's the problem: If I navigate away from the page, and then return to it through the back button, the value of TextBox1 (in the Page) ends up in TextBlock1 (in the UserControl)! Here are a few t ...Show All

  • Smart Device Development Need help with RDA

    Sorry for my english, I knew it's awful....If you knew russian it be better to speak on it... My app with it database is loaded on Pocket PS(SQL Mobile Server)...On my computer i have copy of app DataBase.. I need to refresh data from my computer to pocket PC ...OS - Win2003SP1 ... DataBase SQLServer2005SP1....I load sql mobile edition tools and ISS tools.. Installed them and with help of Sql Mobile Tools make virual direktory to wich i can access from Pocket PC and where I see dll file which is needed to start sql mobile server agent. I can access it....but I can't start replication.. In my sql server 2005 I make subscription and publication ... I don't know how to start replication ....to refresh data on Pocket PC from SQL Server.... ...Show All

  • .NET Development Internet Connection State

    How can i get state of internet connection (Online or offline) with C# Managed Code (No use Win API) Here simple workaround method for you using System.Net; private bool IsInternetConnectionAvailable() { try { WebRequest WebReq = WebRequest .Create( "http://www.google.com/" ); WebResponse WebRes = WebReq.GetResponse(); WebRes.Close(); return true ; } catch { return false ; } } ...Show All

  • .NET Development WhirlPool Hash Algorithm

    Is the WhirlPool Hash algorithm going to be added to .NET Cryptography namespace When/why not While it seems there are already too many hashes to choose from, this is not the right place to ask. Talk to the BCL programmers at their blog or at the official Product Feedback site . ...Show All

  • Visual Studio Tools for Office How do I create a table title in PowerPoint Slide Item.

    I have 4 items in a powerpoint slide copied from Excell range. I managed to set a charttitle for the chart items in the slide but I do have a table created from Excel.Name. How do i create a header/title for a table created from Excel. Name ( se CopyTable method as i could do in Excel.Chart(se method CopyChart) Any Ideas private void CopyTable(SlideItem item) { Excel.Name name; name = wb.Names.Item("chart item name",Constants.missing, Constants.missing) as Excel.Name; name.RefersToRange.CopyPicture(Excel.XlPictureAppearance.xlPrinter,Excel.XlCopyPictureFormat.xlPicture); Marshal.ReleaseComObject(name); name=null; } private void CopyChart(string chartName,string chartTitle) { (wb.Charts[c ...Show All

  • Windows Forms comparing lists

    Hi, i am making a copy of dl using addrange.. and comparing the two lists is returning false. how do i go about Private   DL As New List( Of DetailedInvoice) Private   originalDL As New List( Of DetailedInvoice) Private Function LoadAllBills() As List( Of DetailedInvoice) Dim myConnection As New SqlConnection( My .Settings.CostingConnectionString) Dim myCommand As New SqlCommand( "DetailedBill" , myConnection) myCommand.CommandType = CommandType.StoredProcedure myCommand.Parameters.Add( "@pono" , SqlDbType.VarChar).Value = Me .pono myCommand.Parameters.Add( "@payment_or_bill" , SqlDbType.Int).Value = Me .bill_payment myConnection.Open() Dim s As String = myCo ...Show All

  • Visual C# open/close oledb connection

    I connect and query my access database and populate my datagridview using the code below. My question is if I have to explicitly open or close the connection, please can you show me how & where... DataSet ds = new DataSet(); OleDbDataAdapter da = new OleDbDataAdapter(); OleDbConnection con = new OleDbConnection(@"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + Application.StartupPath + @"\MyDb.mdb;User Id=admin;Password=;"); string strSQL = "SELECT * FROM Log"; OleDbCommand cmd = new OleDbCommand(strSQL, con); da.SelectCommand = cmd; da.Fill(ds); this.dataGridView1.DataSource = ds.Tables[0]; Thanks Thanks. That worked great. I am trying to put this in a backgroundworker theDa ...Show All

  • Visual C# minimize a System.Diagnostics.Process

    I have a System.Diagnostics.Process which I started. I would like to minimize it. How can I do this in C# I found this post, but it is for VB, and it looks like it uses COM. Neither of which I like. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=611361&SiteID=1 If there is a pure C# .NET way to do this, that would be great. ~S The process is already running. I tried doing this (for the sake of being thorough): runningProc.StartInfo.WindowStyle = FormWindowState.Minimized; but it did not work. ~S ...Show All

  • Visual Studio Team System Security Exception when I call server.GetService()

    Hi all, When I cal the following codes TeamFoundationServer server = TeamFoundationServerFactory.GetServer(serverName); WorkItemStore store = (WorkItemStore)server.GetService(typeof(WorkItemStore)); A security exception has been thrown. How can I authenticat with special user or let the server's IUSR_myservername has the right. Thanks. Stack Trace: [SecurityException: TF50309: You do not have sufficient permissions to perform this operation.] Microsoft.TeamFoundation.Proxy.BisRegistrationProxy.GetRegistrationEntries(String toolId) +55 Microsoft.TeamFoundation.Proxy.BisRegistrationService.RefreshMemoryCache() +83 Microsoft.TeamFoundation.Proxy.BisRegistrationService.RefreshCachesIfNeeded(Boolean direct) +75 Micr ...Show All

©2008 Software Development Network