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

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

LouisPeter

Member List

Long Xue
DRoden
TheViewMaster
LouArnold
NickNotYet
SanthaMind
JoseBonifacio
Swapna.B.
Tihomir Ignatov
TheMaj0r
Lama Karmi
Eirian
Lakusha
tnfemme
M Minasi
Tryst
Andreia M
RichLeyshon
masternav
Konstantinos Polychronis
Only Title

LouisPeter's Q&A profile

  • Visual C# Email Notification LED

    Hiya, Does anyone know how to (if possible) turn on/off the email notification LED on a laptop, and if so is it the same for all laptops . Thank you Lee Fry Damn ... if only life was simple heh. Thank you for a swift response, I was hoping that it may be possible through the WMI or something. ...Show All

  • Visual Studio Tools for Office Add/Remove Worksheet in VSTO Workbook

    I created various worksheet inside a VSTO workbook, but now, I can't remove my testing worksheet and add blank new worksheet. 1. I can't select Delete in solution explorer when right-clicking on the worksheet item. 2. Even I remove worksheet in Designer pane (right click the tab at the bottom of Excel workbook and selete Delete), rebuild the VSTO project and then the deleted worksheets are all still here. I then Refresh the workbook object in Solution explorer, and all deleted worksheets come out again. I tried to use the "Add new Excel Worksheet" from the function menu by right clicking on the workbook in solution explorer, it have the same behaviour as I do it in the workbook designer pane. After several delete / remove / add ...Show All

  • .NET Development insert, delete, update in a datagrid and the permanent table? through VB.NET

    can you help me on insertin deleting and updating data in a datagrid thank you:-) See the documentation and sample code here: http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpref/html/frlrfsystemwindowsformsdatagridclasstopic.asp ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. PointSprites and Alphablending?

    I followed Riemers tutorial on point sprites and got it almost working. This is how it looks like: http://www.karlfredberg.se/cgtalk/pointSprites.jpg I am also using the sample from the Animation Component and this is where I think the problem lies. The Zdepth sorting works fine with ordinary objects but the objects from the sample doesn't work. I guess there is something with the World Matrix that screws things up. I have no idea how to fix it. Indeed, this problem has to do with the Z ordering of your scene. I bet you're first drawing the bullets, and next the scene behind it. At the moment you're drawing the bullets, the bullets are blended with the color behind them: plain blue. Next, when you d ...Show All

  • Smart Device Development Improving the performance of the application?

    Hi, I have a form (Form2) with ImageList. When I try to show form2 with ImageList takes 6 to 8 seconds time which may make the user impatient and irritative. When I run with out ImageList takes 2 sec time. Actuallly I am taking the images from the imagelist and showing on panel. With out imagelist If I try to take images directly to pictureboxes it take more than 8 seconds time. Can any one guide me how reduce the time from form to another form. Thanks in Advance, - Show splash screen/wait cursor while data is loaded, 8 seconds is short enough to not irritate users if they know something’s going on. - Reuse same instance of the form instead if creating it every time y ...Show All

  • .NET Development Find/Select Methods in vb.net

    Hi, I already know how to use this methods. What I don't know is if using them, will change the position on the DataSet In other words, after the Fill method is applyed, if the Find/Select methods are used, what happens to the DataSet position How can I determine the position on the DataSet Lets say that I found one particular row on the DataSet that matches my conditions (sql expression - key) and want to make this row "the current" (to move the "pointer" to that position). I only fill the DataSet at the beginning, must I do it again I'm using the DataSet/TableAdapter/BindingSource in VB 2005 Express. Please Help. Regards, Pedro A more elegant solution is t ...Show All

  • Visual Studio Express Editions Allowing the user of your application to import their own files

    Ok, this is something totally new to me. I've not delved into this with VB at all. Here's a summary of what I want to do. I want to create a flash card application for a teacher. The program itself simply displays information and the student must respond to the information. To check their answer, the "reveal" the back of the card. Similar in concept to normal flash cards. However, I want this application to be as flexible as possible. I want the teacher to be able to IMPORT an ASCII text file from within my application. So, my question is what's considered "best practice" when programming something like this Additionally, what would you suggest for references in finding sample code to experiment with and ...Show All

  • .NET Development Error "ExecuteScalar requires an open and available connection..."

    H all, I have an application that retrieves data from a local SQL2005 (Standard edition) database frequently (e.g. more than 10 times/second normally). It usually works fine. However, if the program was paused for a while (e.g. for a few hours) by a pop-up error message box or an Sleep() statement, it generates the following error message when its data processing resumes: " ExecuteScalar requires an open and available connection. The connection's current state is closed ." The application is coded with C# using ADO.Net. The connection is OleDbConnection. It seems there is some timeout process that I do not know. Could anyone offer any hint Thanks, hz Thank you all for the information! Firstly, let ...Show All

  • Visual Studio 2008 (Pre-release) Animating a ListBox (Containing RSS)

    I have a small project i'm working on thats Similar to the RSS Feeder in the Vista SideBar...I havent done alot of Animation so i'm fairly new to it in general.So the Question is where can i get a good example for Scrolling the RSS Feeds Upon the ListBox being Populated As of right now my project just uses a Veritcal ScrollBar,i want it to Auto Scroll on its own as the Feeds are Feed into the project,and have a Fading appearance,as the Feeds reach the top of the ListBox,along with making the Articals Clickable..It lists the URL in the Feeds but as of right now i cant Navigate to that Particular RSS Feed.. Thxs for any help in Advance Rattlerr http://xtremecomputers.spaces.live.com Are their any ...Show All

  • Windows Forms Windows Forms userControl Communication Interface?

    Hi, I have a very simple windows app that contains one windows form that contains a splitter control. This form loads two userControls into each panel of the splitter: Control cLeft = new LeftSpine (); cLeft.Dock = DockStyle .Fill; splitContainer1.Panel1.Controls.Add(cLeft); Control cRight = new RightSpine (); cRight.Dock = DockStyle .Fill; splitContainer1.Panel2.Controls.Add(cRight); My Question is what is the best way for me to pass a string (etc) from the usercontrol: LeftSpine to the other usercontrol RightSpine() I've read a lot about interfaces, would I create an interface that would be used by the two usercontrols Can anyone point me in the right direction thanks ...Show All

  • Software Development for Windows Vista EventDeliveryFailedException

    Hello. I already asked something similar to this in at least one other thread. And many other Threads ask about this problem This time I'll post real code, so there are no doubts. In the highlighted line the execution stops saying there is an EventDeliveryFailedException. I know for sure the service is registered in an ExternalDataExchangeService. And I'm sure the HandleExternalEventActivity is listening to the right event form the right interface. And I know through Tracking that the HEEA is in execution. I don't know what to do... public class StandardEventEmitter : EventManagementService.EventEmitter, IEvento { public override void RaiseEvent(System.Workflow.Activities.ExternalDataEventArgs externalEventArgs) { if (ev ...Show All

  • SQL Server purge a log file

    Hello, I would like to use the built in logging feature to log to a text file. Is there a way to purge the log peridically (only keep enties for the last 30 days, etc). Thanks, Michael There's no built in feature for doing this. You would have to build something yourself. If you require this as a feature then request it at Microsoft Connect. -Jamie ...Show All

  • SQL Server Trigger not executing

    I will try to keep this as simple as possible and make a long story short. The college I work for has bought a third party package to basically run the operations of the school. There is a component for registration, admissions, billing, etc. It also has a web component so students can access their school information from anywhere. The backend for all of this is SQL Server. To make things easy, the vendor has provided us with the steps to bulk load users, via DTS, into the system and create their accounts for the web portion. The way this works is as follows: I create a CSV file which I then load via DTS into their "Bulk Load" table. This table has an "on insert" trigger that fires off when the load happens on the &q ...Show All

  • Windows Forms Action Generic Delegate is a powerful tool.

    Hi, i got amazed by Action Generic Delegate http://msdn2.microsoft.com/en-us/library/018hxwa8.aspx i dont know better coding that would render my coding easier.: anyway for those who also not yet chek that: example Dim currentAmountTypes As String Dim totals As New List( Of AmountTotal) Private Sub Save( ByVal e As Object , ByVal er As EventArgs) Handles mySave.Click 'add all amountypes objects to the list For i As Int16 = 0 To Me .CostingDataSet1.AmountTypes.Rows.Count - 1 totals.Add( New AmountTotal( Me .CostingDataSet1.AmountTypes.Rows(i).Item( _ Me .CostingDataSet1.AmountTypes.AmountTypeColumn.ColumnName).ToString.Trim(), 0)) Next 'by now i have amounttypes ob ...Show All

  • SQL Server How to find the dependency object of a particular table

    Hi all, I m using SQL Server 2000. I want to know the Dependencies of a particular table in my database. I want to know the details inorder to delete the records which are not referenced from other related tables. (e.g) Customer, CustomerTax, Invoice tables are there. CustomerID is primary key in Customer table. CustomerID is Foreign keys in CustomerTax and Invoice tables. When i create new customer i enter customer tax also. So both Customer and Customertax details are stored in the tables. Once i created the customer details it not yet reference in invoice table i can deactivate(later i can again activate the customer) the customer, because it is not refered in Invoice table(eventhough it is refered in CustomerTax table). In my view Cust ...Show All

©2008 Software Development Network