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

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

TrD

Member List

DaveDB
Mahmoud Gourar
Jeff Scott
Zaher19
byteguy
Mumper
sarashare
dki
JRab
kewpcg
chris441962
AlexInToronto
AndyC12345
Sergio_CL
Sean ORegan
Dirk Junghanns
CruzPedro
Yonglun Li
JNK83
Malleswar
Only Title

TrD's Q&A profile

  • Visual Studio Express Editions Bug with WebBrowser control and focus. Any workarounds?

    No matter how hard I try, I can't get the WebBrowser control to truely gain focus. Even after using WebBrowser1.Focus () in my program, when I run my program the WebBrowser control doesn't really get focus until I click on it with the mouse. How do I know this Well, the arrow keys don't work to scroll the web page, nor do PageUp or PageDown, until I click on the WebBrowser control with the mouse. Same goes for moving through the links with the TAB key. Since SP1 for Visual Basic 2005 didn't change things, is there a way I can work around this problem, short of clicking on the control with the mouse Odd, it worked fine when I tested it. Location isn't important, anywhere inside the form's code. ...Show All

  • Internet Explorer Development Motive SamrtBridge Error

    I know this must be a common question on the forums, but I've installed Internet Explorer 7 on my home computer and I've been getting an error. Something along the lines of: "SmartBridge Alerts: MotiveSB.exe – Entry Point Not Found The procedure entry point GetProcessImageFileNameW could not be located in the dynamic link library PSAPI.DLL" ... this error pops up during startup, and in addition to this my DSL refuses to connect to the internet. I can tell because my MSN doesn't sign me in and opening IE7 results in a system freeze. Now I have followed the recommendation to rename the file all files named PSAPI.dll to PSAPIOLD.dll (except the ones found in the System32 file), and all it seems to do is remove the error; the i ...Show All

  • Visual Studio 2008 (Pre-release) Window drag while Window.Style="None"

    Hello! I have set Window.Style to "None" so there is no bar that can be used for dragging. I've tried to emulate dragging by myself using MouseDown, MouseMove, MouseUp events of the form, but that appeared not so smooth and accurate as initial dragging. Is there any proved method of window drag emulation. Thanx this might help http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=326286&SiteID=1 ...Show All

  • .NET Development Efficient way to remove double quotes from a string.

    For some reason, I am reading a string out of a config file, and rather than just getting the string, I am getting it in double quotes. Here's a clip of my App.Config file   < setting name = " TextLogFileName " serializeAs = " String " > < value > C:\CodeTracingFile.txt </ value > </ setting >   When I read this value into a variable, the variable ends up with ""C:\CodeTracingFile.txt"" I don't know why the double quotes are being added, but I'd like a simple efficient way to get rid of them. I tried using String.Replace, but it wants a character, and I don't know how to specify a quote as the item I want replaced. Ok, for some reason, this seems to have worke ...Show All

  • Visual Basic Sum on a listview

    I've the following code to populate a listview with records from my database: Private Sub preencherListView() Dim lstItem As ListViewItem Call conexao() sSQL = "SELECT * FROM [TempoTotalFamiliaQuery] WHERE (Data LIKE'" & dtpDataRelatorio.Text & "')" da = New OleDb.OleDbDataAdapter(sSQL, con) da.Fill(ds, "TempoTotalFamiliaQuery") For i As Integer = 0 To ds.Tables("TempoTotalFamiliaQuery").Rows.Count - 1 lstItem = New ListViewItem() lstItem.Text = (ds.Tables("TempoTotalFamiliaQuery").Rows(i).Item(0)) lstItem.SubItems.Add(ds.Tables("TempoTotalFamiliaQuery").Rows(i).Item(1)) lstFamilias.Items.Add(lstItem) Next l ...Show All

  • Visual Studio 2008 (Pre-release) Calling service methods directly

    If I have: [ServiceContract] public interface ITest { [OperationContract] [TransactionFlow(TransactionFlowOption.Allowed)] void Method1(); [OperationContract] [TransactionFlow(TransactionFlowOption.NotAllowed)] void Method2(); } internal class Test : ITest { [OperationBehavior(TransactionScopeRequired = true, TransactionAutoComplete = true)] void Method1() { // do db stuff here, then call Method2() Method2(); // do db stuff here // exception thrown here } [OperationBehavior(TransactionScopeRequired = true, TransactionAutoComplete = true)] void Method2() { // do db stuff here } } Will the database operations done inside Method2() remain committed even though the database operations ...Show All

  • Visual Studio Tools for Office VSTO2005 Excel- Insert Comment into cell

    Hi, I am using VSTO 2005, Excel workbook project. I would like to insert a comment into a cell on a worksheet- does anyone know how to do this programatically (i.e. same as right-clicking on a cell, and selecting "Insert comment"). Thanks. Correctly, questions concerning the object model should be directed to the appropriate newsgroup, as listed in the "Please Read First" message at the top of this forum. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=174275&SiteID=1 Only questions concerning the VSTO technology should be asked in this forum. In any case, you should mention the programming language you're using if you want a code sample in that language. Th ...Show All

  • Windows Forms Loading Image (Visual C# 2005)

    Hey, I after these lines of code what should I put to make it load the image into a PictureBox openFileDialog1.DefaultExt = "*.gif" ; openFileDialog1.Filter = "Gif Images (*.gif)|*.gif|JPG Images (*.jpg)|*.jpg|TIF Images (*.tif), (*.tiff)|*.tif|PNG Images (*.png)|*.png|BMP Images (*.bmp)|*.bmp" ; openFileDialog1.InitialDirectory = "MyDocuments" ; openFileDialog1.CheckFileExists = true ; openFileDialog1.CheckPathExists = true ; Thanks :) umm, it works thoe... but one more question... I am doign the same thing for save but made it this: saveFileDialog1.OverwritePrompt = true ; saveFileDialog1.Filter = "Gif Images (*.gif)|*.gif|JPG Images (*.jpg)|*.jpg|TIF Images (*.tif), (*.tiff)|*.tif|PNG ...Show All

  • Visual Studio 2008 (Pre-release) Configuration Schema / Intellisense / maxMessageSize

    Hi, I installed the June CTP DotnetFx today and this managed break my intellisense in VS2005 in the application configuration files. Generally this would not bother me. Hoewever... I used to set the max message size in the configuration file on the binding element, and this attribute is not supported anymore. My questions are: Is there a way to restore the intellisense or a Url where i can get the System.ServiceModel definition Or Where can I specifiy the maxMessageSize for wsHttpBinding Regards Jaco de Villiers Are you refering to the MaxReceivedMessageSize property http://windowssdk.msdn.microsoft.com/en-us/library/ms751418.aspx http://windowssdk.msdn.microsoft.com/en-us/library/system.servicemodel.w ...Show All

  • SQL Server Exporting to Power Point

    How to Export SQL Report to Power Point. There is no way to do this. There might be a third party product out there, but never heard of that. HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • SQL Server Reinstall Sql Server Express After Developer Edition

    I had to uninstall SQl Server 2005 Developer Edition because of hardware requirements, and reinstall Express Edition download version. But SQL Server Database Services fails with this message: SQL Server Setup has determined that the following account properties are not specified: 'AGTACCOUNT' . Error Code: 28006. The first time I installed Express the flow of setup ended well without any message. How to act Try to call the commandline with the additional parameter AGTACCOUNT="NT AUTHORITY\LOCAL SYSTEM". If you use an ini file your will have to put the appropiate setting in there. HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • Visual C++ Analyzing a string with spaces using sscanf

    I have a configuration file that has IP addresses (space separated). I have to read the config file and gather all the IPs into a single string. IP = IP1 IP2 IP3 I havent been able to use sscanf to read strings with whitespace characters. How can I do this Thanks for your help!! It's not really clear to me what you want to do. What are you working with What does the string you're trying to extract information from look like What information would you like to extract What do you want to have in the end From what you've said so far, I can't figure out why you're trying to use sscanf. ...Show All

  • .NET Development int.Parse oddity

    Hi all: I am trying to parse numeric input a user provides on a web site. I am having a problem with dollar amounts. The following command results in an OverflowException: int.Parse("77,500.50", NumberStyles.Currency, CultureInfo.CurrentCulture) but all of the following commands do not: int.Parse("77,500.00", NumberStyles.Currency, CultureInfo.CurrentCulture) int.Parse("77,50050", NumberStyles.Currency, CultureInfo.CurrentCulture) decimal.Parse("77,500.50", NumberStyles.Currency, CultureInfo.CurrentCulture) Note: the current culture is "en-US". I understand that the integer can't hold the decimal portion of the number, but according to the documentation (.NET 2.0), an O ...Show All

  • .NET Development No connection cold be made

    hi all .... i'm developing client server application that the part on the server is going to monitor what accounts are active on each client machine and which machines are in "logoff" status ... I tried to find a way to develop something just for server without clients application but unfortunatly i didn't find , so I decided to develop something for the client that send messages of the current user account to the server application when any user log on... and this is the first time i'm dealing with network programming ... but every thing seems to be good except that when I use the loop back ip as following ( for now, the client and server on the same machine): tcpClient.Connect("127.0.0.1", 8000) but when I replace it ...Show All

  • SQL Server Beginner's questions

    Hello, I have two database servers that I am interested in sending messeges between them. I am not interested in security or encryption at this point, only a simple message sending and recieving. Can someone please provide simple scripts for object setup (certificates, queues etc) and message send and recieve a link to such a script will be great as well. I am just a bit lost understanding all the new concepts (certificates, service, service binding.....) Thank you I. I think I deleted your post by mistake. Ilan D wrote: ok. for some reason 'End conversation @CoversationHandle WITH CLEANUP' doesnt clean up the sys.transmission_queue table. any suggestions I tried to ...Show All

©2008 Software Development Network