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

Software Development Network >> Sarah Cartwright's Q&A profile

Sarah Cartwright

Member List

Sundaraguru
Keith Newton
sureshsundar007
zerovelocity
Jarrado
Can-Ann
EricBo2007
Lars E.Nes
AdrianLester
Jason Callas
Simon__
roy-roy
graymon
95five0
NorCis
U.Seung
Madhusudhan
Pranjal Singh
J A Y
Craig G
Only Title

Sarah Cartwright's Q&A profile

  • Visual Basic Moving and Renaming (date&Time stamp) directories problems in VB.Net 2005

    I am trying to move the content of directory "C:\WIM\Current" to "C:\WIM\Archive" then move the content of the directory of "C:\Pics_Detect" to "C:\WIM\Current" and rename it with a current date and time stamp. When I run my code I have an exception "Cannot create a file when that file already exists." and I am not sure about renaming using datetime stamp how good is it going to work. this whole application will be executed every 2 minutes on average. --------------------------------------------------------------------------------------------------------------------------------------------- Module Module1 Sub Main() For Each foundFile As String In My .Computer.File ...Show All

  • Windows Forms Highlight the DataGridView Column Header Cell

    Hi, I have some dates in the datagridview colum header my problem is highligting the current date and time in the column header.i am trying to use datagridviewcolumnheadercell but it is not working.Painting the header based on some condition its like if(datetime.now==my condition(my headercell value)) { then i want paint the header cell } Yeah, the problem with that approach is that you're now obligated to paint everything on the header cells yourself - it looses the nice gradient/shadow effect and the text becomes a bland serif font. I already do that in my application (for other reasons.. One, I need some interesting formatting on the text, second, I wanted a gradient background on the header cells) but it's not trivial, because th ...Show All

  • Smart Device Development USB and Irda Port

    Please suggest me how can I write applications for USB and Irda drivers. How can I open the USB/Irda ports, and read/write to/from the ports. Hello experts, I am newbee, that's why trying to put each my leg on different boat of different direction, Let me focus on USB only for the time being.  . I am writing security application, which when executed on pocket pc all the external interfaces such as USB/irda/wifi/bluetooth should be disabled. So I thought when I excute my application, I will keep these ports open so that other applications such as ActiveSync, 3rd Party applications should not be able to open these ports again to access the pocket pc while my appl ...Show All

  • Visual C# How to Write to SD Memory?

    Hello, I need to write an application that writes to a register inside SD (Secure Digital) memory. The SD memory is attached to the PC through a USB card reader. I do not know where to start. I checked msdn documentation, but I got lost for a long time. Please help me get started, with a couple of pointers. Thank you. T.I. Thank you very much. Windows XP can access SD memory, without additional drivers, so I guess drivers are somewhere in XP. I do not know if the built-in functionality provides complete control of the SD memory. ...Show All

  • Visual Studio How to show the totalpage number with c#

    dear all i am a newbie today i have a question in CR 11 How to use code to show the totalpagenumber in My Winform Application(Not VB.NET) my environment C# 2005 ,CR 11 HELP me pls! mewdied , you said right !! i must type all code in c# 2005. (myreport.FormatEngine.GetLastPageNumber(new CrystalDecisions.Shared.ReportPageRequestContext()) may be c# is Hidden this method.. by the way thanks a lot ! you give a good answer , give you a flower!!!thanks ...Show All

  • Windows Forms OnPaint Overflow Exception

    Hi I have a form with some controls, in it, most of them are labels, and a panel for displaying video and one of label is blinking using timer. sometimes i got an Overflow exception when a program is started and sometimes when label is blinking. this exception is random and not always thrown. when exception comes, it comes with quit and continue, and have detials of the stack trace, when continued, the one control which is mentioned in the stack trace are turned to red cross. this is happening with two three controls. i know when this exception is thrown, the problem is that it is being thrown in different context here by some painting funcion of windows form. ...Show All

  • .NET Development Add System.EnterpriseServices in cache

    Hi!When I was trying to use DatagridView with OleDb, I had some problems...I know I have to add an assembly "System.EnterpriseServices" in cache, but I don't know where to find it and how I can add it there. Please, someone help-me... Thanks! Matt Neerincx wrote: You just need to add a reference to it to your project if your project uses classes under System.EnterpiseServices. That's what I thought Matt and what I had suggested in his other post. Apparently it wasn't registered properly and the issue wasn't resolved until he added the assembly to the Assembly Cache using the .NET Framework 2.0 Configuration applet. One of my machines had the same issue. He appears to be all set: http://forums.microsoft. ...Show All

  • Visual C# Check admin user in AD

    Hello, How can I check whether the user is an admin user or normal user in active directory. Please give me some hints or sample code in C#. thank you in advance, thaya ...Show All

  • Visual FoxPro CursorAdapters and ConnectBusy

    Hey all. I was doing some work with CursorAdapters and SQL Server and ran into the dreaded ConnectBusy issue. This was caused by having an adapter open where I guess all the data hadn't yet been pulled down so while it did a SCAN ENDSCAN with some updates, it kept coming back saying ConnectBusy and it felt like an endless loop. I got around the problem by putting in some code to ensure I could go to the top of the file and the bottom of the file and then reran my scan loop. But I know there's an easier way. What are some of you doing to get around this I know about a few of the approaches but I know there must be some other better ones around there. Thanks Is it SQL2000 Then you could workaround by multiple connections or ADO (which ...Show All

  • Visual Studio 2008 (Pre-release) DataBinding:ComboBox doesn't refresh on Collection change - How do I notify the Target of a collection change

    I have a ComboBox which binds to a volatile collection. When the collection is changed, the ComboBox (drop-down) list isn't refreshed if it has already been dropped down by the user. If the user does not drop-down the list before the collection change, then it does a fresh read on the source and gets the correct data. I'm wondering if there is a notification event that I need to raise other than the standard PropertyChanged to force the ComboBox to refresh. Note: The collection object has no access or awareness of the control (as it shoudl be) so it can't be done manually. Thanks Nik       Hey Sheva, I was messing around with the sample that you provided and noticed that you aren't binding ...Show All

  • Visual Studio bracket matching highlighting

    Hi Just had VC 2005 pro installed and I cant see any bracket matching highlighting as the standard install gives me. Had a look around in the docs and have checked the right box is ticked ie Options/Text Editor/ Automatic delimiter highlighting Is on, I beleive this is the right box well the docs mention bracket highlighting. Anyway does jack, kind of basic functionality I guess. Anyone got a fix as I am trying to go through someelses code and I really need it..... Cheers Frosty If it helps, you can put your cursor on the line of either the opening or closing bracket of the given block of code and type ctrl+] to go to the opposite end of the block. ...Show All

  • Visual Basic VB6 application freezes when using .NET 1.1 assembly that is exposed as COM

    I have assembly written for .NET 1.1. Then there is VB 6.0 application, which uses this assembly. The application and assembly are in shared folder and executed from many computers. Assembly is registered using RegAsm tool and .NET 1.1 Framework is configured to execute code from the shared folder with FullTrust. On some computers there is installed .NET 2.0. I do not want to set the same security policy for .NET 2.0. So I created configuration file application.exe.config with following content: <configuration> <startup> <supportedRuntime version="v1.1.4322"/> <supportedRuntime version="v2.0.50727"/> </startup> </configuration> it works well on compute ...Show All

  • Visual Studio Team System Delete Work Item Type

    Is there *any* way to delete a work-item type Short Answer: No.  You can not delete entered work items nor can you delete work-item types (until V2 from what I have read).     ...Show All

  • Visual Studio 2008 (Pre-release) Message and Trace logging rollover

    I'm interested in using the message and trace logging functionality built into the WCF framework. Does anyone know how to configure it so the log file can rollover on a daily basis in a way similar to logging on an IIS web site Tracing in WCF is built upon the trace listening facilities in System.Diagnostics; there are a couple of rolling file trace listeners available on the web that could be used for your intended purpose. Here is one example: http://bloggingabout.net/blogs/erwyn/articles/rolling_file_trace_listener.aspx . Dave ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. [c#] Mesh.ComputeTangentFrame throws InvalidDataException

    Hi there! the subject is my great problem... i doublechecked everything, but cant seem to find any solution... i consulted samples and tutorials, no luck. what is wrong here what am i missing the code : velements = new VertexElement[] { new VertexElement(0, 0, DeclarationType.Float3, DeclarationMethod.Default, DeclarationUsage.Position, 0), new VertexElement(0, 12, DeclarationType.Float3, DeclarationMethod.Default, DeclarationUsage.Normal, 0), new VertexElement(0, 24, DeclarationType.Float3, DeclarationMethod.Default, DeclarationUsage.Tangent, 0), new VertexElement(0, 36, DeclarationType.Float3, DeclarationMethod.Default, DeclarationUsage.BiNormal, 0), new VertexElement(0, 48, Declarat ...Show All

©2008 Software Development Network