Software Development Network Logo
  • VS Team System
  • Visual FoxPro
  • Visual Studio
  • Visual C#
  • Visual C++
  • Windows Forms
  • SQL Server
  • Windows Live
  • Visual Basic
  • Smart Device
  • Visual J#
  • VS Express Editions
  • Microsoft ISV
  • Architecture
  • Game Technologies

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

thatdbme

Member List

Steve "The Bug Magnet"
Soydaner Ulker
desperate108146
slawekr
Srini111
abdou
John LamTaiYin
Mal
v2Softwares
Bilgehan
ChristopherColombus
CleverHans
Luis Neves
Tony Castagno
Dicko
Christian B
bowie198672
RoninBraenk
1v1jo9sm
KJ555
Only Title

thatdbme's Q&A profile

  • Windows Forms Build of project reloads User Controls in Toolbox every time.

    Hi, I have noticed that the toolbox in VS 2005 contains a tab for every projects in my solution that contains a component derived class. During builds of the solutions each of these tabs are being refreshed / rebuild and it can take a little time. Is there anyway of stopping this refresh, or is it a matter of removing the tab from the toolbox Maybe this is a bug that has been fixed post Beta 2 Thanks for your help Graham Mike, I am going to check that out first thing in the morning.  If that does it, there will be a lot of happy people in our office.  I asked multiple developers on my team to ...Show All

  • .NET Development Delayed send with smtpclient in .net 2.0

    Is there any way to force the smtpclient to send mail immediately with the .send method in system.net.mail 2.0 Right now it takes anywhere from 90 secods to two minutes before the mail is actually sent once the .send method executes. I've tried setting the object to nothing immediately after the .send method call, but no luck. The real issue for me is the send delay is also causing the smtpclient  to hold a lock on attached files that are being sent for that same 90 seconds to two minutes. I need to move the file immediately after emailing it, and right I get an exception telling me two processes can't access the file at the same time ...Show All

  • SQL Server Using Select Into

    Hello, I am trying to use the following statement, ALTER TABLE AuditAbatements ADD SELECT * INTO AuditAbatements FROM Abatements WHERE 1 = 2, but I am getting a syntax error. I am trying to copy the structure of another table into a table that is already created. Can this be done Thanks Please mark the post as answered if that answered your question, otherwise people will keep checking it to post answer, and then find it answered. ...Show All

  • SQL Server can database name be assigned as a variable?

    I need to have a query like below to run to select all the fields from different databases that each database have a table named 'table1' select * from test...table1 select * from test1..table1  I have the following code sample: declare @dbname varchar(50) set @dbname='test' select @dbname select * from @dbname..table1 However I received the error messge when I ran this code. Can anyone help to resolve this   Thank you!       Hi One way of doing this is to build the query dynamically and use the Exec, as shown in the example below: Declare @xQuery varchar(1000) Select @xQuer ...Show All

  • .NET Development How to lock up a file

    I am writing some C# code which processes a set of files in a source directory and then moves the files to a destination directory. The code must be able to handle a situation in which one of the files might become locked while the files are being processed. I am not concerned at this point with how to handle the exception when a particular file is locked. What I need to know is how can I lock up the file You see, I must test my code against a file that is locked up. I tried locking up a file by selecting it, and then right clicking on the file and selecting rename. I also tried opening the file for edit. Neither of these two methods will ...Show All

  • Visual Studio Tools for Office File error : Data may be lost

    Hi, I have created a VSTO excel application. Now, whenever i run it, it pops up a message box " File error: Data may be lost" . how do i resolve this I have seen this behaviour and since moving onto RTM/RC builds have not had a repeat, albeit dont have a working sample that is in my test matrix but would be the same bug you are referring to Harry. Regards ...Show All

  • Visual Studio Autorun does not work

    I attended the VS/SQL Server 2005 Launch in Dallas on 11/30.  I have been trying to install the software received from this event, but cannot install VS 2005.  When I insert the disk in my dvd/cd nothing happens.  When I double click autorun.bat nothing happens.  I contacted my local support which then directed me to the "event help" and told them of the problem.  A week later I get a new CD for disk 2.  Guess what, same problem.  Called event support again and am told they only report the issues and cannot answer any technical questions.  So, has anyone had this problem   Is it worth the frustrat ...Show All

  • Visual Basic Basestream.seek

    Hi, I need to read lines backwards in a TXT file with a fixed length for every line. I'm using Dim linetxt As String Dim counter as Integer = -56 'Which is the length of the lines Dim data_r As New StreamReader(data_path) 'data_path contains full path and name for the file data_r.BaseStream.Seek(counter, SeekOrigin.End) linetxt = data_r.ReadLine And this produces good results for a first reading. But last two lines are inside a loop where the counter is decreased everytime to get the previous line. Once the first reading is done, subsequents readings are wrong as Seek is moving the pointer in the Bas ...Show All

  • Smart Device Development Windows service

    Hi! Does anyone know how to create a windows service in windows mobile using the compact framwork (C#). I wish to have an application run at boot time and then just display a little icon on the main desktop screen to show the application is running.. Im going crazy here! is this possible at all Thanks in advance! Lawrence If you are looking for something like windows services, then the main way on the device is to use Services.exe http://blogs.msdn.com/cenet/archive/2004/12/03/274661.aspx However, this is a native, C++ only option. That said, what you want to do is ...Show All

  • SQL Server Comment/Uncomment keyboard shortcut changed .. grrrrr!!!!

    Call me old-school, but I happened to like the one-key Shift-Ctrl-C and Shift-Ctrl-R methods of commenting and uncommenting T-SQL code. I've tried to see how I can set up my own macro's to give me those key combos back instead of the double-the-work ctrl-K + ctrl-C and ctrl-K + ctrl-U keyboard short cuts. The k-c one is the worst because it takes two hands to type it, but the two fingered k-u isn't much better. Can someone tell me how I can override or augment these so that I can get these two familiar short-cuts back. I don't care if I have to override something .. whatever it is, it's not nearly as imporant as this to me. ...Show All

  • Windows Forms ListView Dialog

    I have a dialog form with a single listview box on it. When an item is selected, I want to return the result to the parent form that called it. Then, I want to close the dialog form. Can someone give me a VB hint on this one Why I was trying to set the property in the child form, I just dunno!  :}   ...Show All

  • Visual Studio Team System Entering Dynamic Value for a field

    How do I enter a dynamic value ABC1, ABC2, ABC3... like this for particular field for the web test. I am running .webtest file only. I have not generated any code right now. I tried with implement this with Extraction Rule. I do not want to bring the data from database with data binding. Please suggest me. Thanks Tampali You can write a webtestplugin which adds a dynamic value to the context and then bind the parameter to the context variable.  Here is info on how to create a plugin: http://msdn2.microsoft.com/en-us/library/ms243191.aspx If you add a parameter to the context called ABCValue, t ...Show All

  • Windows Search Technologies WDS 3.0 beta

    Hi I installed WDS 3.0 beta and Outlook 2007 beta. But WDS keeps running into an error in searchindexer.exe - its a memory read error - cannot read memory at the address that it is looking for. I had a previous version of WDS - the enterprise 2.6.x version...which I uninstalled and then installed WDS 3.0 beta any help is appreciated. thanks Anand Hello Anandj, Do you have the Adobe PDF IFilter installed If so, please uninstall it. There are a few issues with that IFilter and the 3.0 WDS beta. To do this go to Add/Remove programs, locate the Adobe IFilter and click on Remove. Hope this helps, Paul Nystrom - MSFT ...Show All

  • Visual Basic Invalid Authorization specification - help.

    Hello, I'm making some changes to an old application - I can run the app no problem on one machine, but on the one I'd really like to use I receive the following error: run-time Error -2147467259(80004005) Invalid Authorization Specification. It occurs on this line:  con.Open "Provider=SQLOLEDB.1;Persist Security Info=True;User ID=;Initial Catalog=MyDatabase;Data Source=myserver" con is an adodb.connection If I type in the userID as a valid USERID it works, but that's not entirely feasible.   It's just one of several large old applications that are going to be re-written in .net shortly.   I'll need to ma ...Show All

  • .NET Development Async sockets, receive callback problem

    Hi, I'm writing an async socket server that transport custom serialized objects. However, I ran into a problem when sending a lot of messages in a loop from the server to the client. To simplify matters I shortened my test code: Here I'm sending some data to the client... for ( int i = 0; i < 100; i++) { state.WorkSocket.BeginSend(b, 0, b.Length, SocketFlags.None, sendCallback, state); }   The client receives the data and processes it:                 StateObject state = (StateObject)ar.AsyncState;         &nb ...Show All

©2008 Software Development Network