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

Software Development Network >> Derek Ekins's Q&A profile

Derek Ekins

Member List

Kolf
Marc Jones
GBNeil
Richard0610
remedios_
alya
Michael Hansen
jam281
bijuintouch
Jonathan Wong
Stefan Dobrev
Bapa
xtw
jules_newbie
jdang
stryjek4
wum
erodcav
lu2vik
NoPuck4You
Only Title

Derek Ekins's Q&A profile

  • Visual Studio Express Editions SerialPort 101 for a beginner

    Hello, I have spent a lot of time trying to use the serial port command in the toolbox but i was unsucessful. I looked at the samples posted online but i always get errrors. Can anyone explains what are the steps needed to have a sucessful communication (read and write) from and to a serialport.If you can post the code it would be great...Please help Thank you StoreReceived should store whatever string value captured from the StoreReceived = SerialPort1.ReadExisting. Also do i need to open/close the connection or it's done when i use the readExisting command. Please explain Thanks ...Show All

  • .NET Development Registry access problem

    I would like to write some application information to the registry 'HKEY_LOCAL_MACHINE\Software'. There is no problem to do that by a Windows application, but when I try to do the same thing with my Windows SERVICE, I get the message; "Access to the registry key 'HKEY_LOCAL_MACHINE\Software' is denied." Why is that and how to solve the problem Thanx.... Apparently the user account under which your service runs does not have the permission to read the key in the registry. Either give the account the appropiate permission or change the service to run under an account that does have the permissions. ...Show All

  • Gadgets Cannot add a gadget to sidebar

    Hello, I have the dutch version of windows ultimate vista. When i try to put a gadget from http://gallery.microsoft.com i can not add it to the sidebar. Ive download it install it but it's not visible in windows sidebar/gadget map and it will not appear on the sidebar. What i'm doing wrong. The second thing is that i can install the harddrive meter but it appears on the sidebar as a white square. Thnks for your help. Did you download them from the Vista area If not, they're probably not compatible. Most of the gadgets on that site only work on Live. That site is a mess if you ask me , Sidebar should have it's own site to save all the confusion. Another good place to look for gadgets is AeroXperience , w ...Show All

  • Windows Forms Running number for data grid.

    Dear All, I have a datagrid. First I design and set the column for my datagridview. Then I have few textbox and a sumbit button. Upon submitting I will add a new line into my datagridview. My problem is simple as I add I want a running number to appear as a column. As example the first data enter the column should show 1 then 2 etc. But when I delete I want the number to be resetted to as the row number. Thanks. Dear Yazad, Ok when I delete the the 3rd record I want the rest to be shown as 1,2,3,4. So how to do it then any simpler method to it. Thanks. ...Show All

  • .NET Development how to detect internet explorer's event

    Sir ,i develope an application for download manager which can download files from internet when user select or click on download for files,& then files download from internet to a PC. So detect an event when user click on download ,& how to find the URL address from internet. So Please give me code in C# ,so i can detect event in my application & i start download a file. You don't need to detect IE's event but there is some setting in the registry which tell the browser that what application to be used as default download manager, You have to change that entry in the Windows registry and then your application is up. For this i would recomend searching google [How to set download manager] with some changes to get right ...Show All

  • Microsoft ISV Community Center Forums Error When Using Range(Cells()) to Paste in Excel

    Hi, I get a "Method Range of Object Worksheet Failed" when I run code below. The error points to the last row of code. What I am trying to do is determine the number of the last row in Column A that has data, and then copy some cells with formulas in them from row 2 of a couple of columns and then paste them down as far as the last data in column A. 'shtCurrent_Portfolio.Activate LastRow = shtCurrent_Portfolio.Range("A:A").Find("*", Searchorder:=xlByRows, SearchDirection:=xlPrevious).Row shtCurrent_Portfolio.Range("Z2:AE2").Copy shtCurrent_Portfolio.Range(Cells(3, 26), Cells(LastRow, 31)).PasteSpecial (xlPasteAll) I have found that if the sheet to which I am pasting is active I do not get an error, ...Show All

  • Visual Studio I really wish someone would help me!!!!!!!!!!!!!!!!!!!!!!!

    I can't print my report...I'm new at C# and .net, and this is making me insane... PLEASE SOMEONE.....I have a VERY simple report...and It won't do anything...no errors nothing... I don't see anything wrong with the code since it's pretty straightforward. How are you feeding property settings to the report Do you have a ReportDataSource containing them If not, you might want to try temporarily removing those fields from your report and running it to see if something (the data passed in as parameters) gets displayed. It's a matter of personal preference, but I would use a ReportDataSource based on your transactionData[] class, provided it is a class and not simply an array. It's a shame Visual Studio doesn ...Show All

  • SQL Server Create new database as a user instance

    Hello... Is there any way to create a new database directly as a user instance. I guess this means creating a new mdf/ldf pair which is detached from the server after its created. Thank you... papadi wrote: Hello... Is there any way to create a new database directly as a user instance. I guess this means creating a new mdf/ldf pair which is detached from the server after its created. Thank you... why u need this....r u sure u want to create database per user ..... or u want tables per user.... Madhu ...Show All

  • Windows Forms Problem with DataGridView ??

      I'm facing a problem, I have 2 tables in the RemoteDB, and same tables in a LocalDB. Companies Table ( CompanyID , CompanyName, ..etc).    CompanyID is a PrimaryKey. Employee Table (EmployeeID, ... , CompanyID ).   CompanyID is a ForigenKey.   My program retrieving the a specific Employee Info, with his Company info (if its not exist in the LocalDB) and saved it in a LocalDB. The program showing the Employee Table Cells in a " DataGridView1 ". Insted of showing the CompanyID as a code I'm showing the CompanyName by changing the Column Type to DataGridViewComboBoxColumn and do the rest...etc.. I have no problem with that at all, all data is appeared perfectly. when ...Show All

  • Software Development for Windows Vista Dynamic Update from Custom Activity

    How can I do Dynamic Update from Custom Activity I could not access ApplyWorkflowChanges() from within the Custom Activity. Any ideas to solve this are appeciated. Thanks Use the parent property recursively to move up to the workflow itself (parent is null) or composite activity and then use the ApplyWorkflowChanges method from the composite activity class. Matt ...Show All

  • Smart Device Development Q: POOM and named properties

    After doing some research, I've managed to write some named properties using the Redemption library in C# Now I'd like to read the on my Windows Mobile Device and I understand the POOM library will allow me to read them using .netcf in C#. Does anyone have any hints/code that might make this task easier Thanks in advance! Adam Steven writes about POOM in his blog. It is a good starting point. http://blogs.msdn.com/stevenpr/archive/2005/06/15/429585.aspx ...Show All

  • Visual C++ Accessing files and folders inside projects added to a SolutionFolder (vs2005)

    I'm having a hard time accessing the files and folders under projects that are added to SolutionFolders. I can traverse all the projects and find all projects that are of the type SolutionFolder in there, I can also traverse all regular projects and their files / folders. But when it comes to the projects that are added under the SolutionFolder I can't find anything even though a lot of stuff is laying under them. This is how my solution looks like: Solution Project // Find ProjectItems under here Project SolutionFolder // Find ProjectItems under here that has the same name as the Projects under the SolutionFolder Project // I can access these projects as ProjectItems but can't find any items under them Project Project ...Show All

  • SQL Server best way to connect to paradox db

    At my company employees are using a 'X' application to capture customers data. The 'X' application saves the data in .db format with BDE. I am developing an application in vb.net to display and update data from .db(paradox) database. employee access 'X' application and my application via citrix and lan. 1)what is the best way to connect to .db 2)which is faster(odbc/oledb......) 3)can i link .db table via sql server 2000(link server option) thanks ...Show All

  • Visual C# How can I create an empty XmlElementString with XmlWriter

    I am trying to dump out a collection of values from an editor I am writing. There are some elements that I need to write out, even though they are empty. Whenever I try something like... writer.WriteElementString( "variable" , "" ); or writer.WriteElementString( "variable" , string .Empty); I get <variable /> instead of <variable></variable> I tried a WriteStartElement("variable") followed by a WriteEndElement but that gave me... <variable> </variable> Does the line separation make any difference to having it all on one line Yes, unfortunately, there are still a lot of non-xml readers trying to parse xml files out there... Anyway, if you're stil ...Show All

  • Visual C++ How do I fix aspect ratio of CStatic object (MFC)?

    I apologize if this question has been asked prveviously: I have created a simple dialog with a CStatic object as picture frame to show JPG image, however when I start the MFC program in different PCs it changes the rectangle size. For example, in my desktop I have it set to 320x240, but when I ran it a laptop (wide screen) it became (320x222). Is there a way to fix the dimension size of the CStatic object in the dialog resource editor I'm using Visual Stuiod 6.0 by the way. Any suggestions will be helpful! thanks in advance! Ayman Shoukry - MSFT wrote: BTW, you can still use these forums for MFC issues, but not VC6.0 MFC. My bad; that came off somewhat harsh. What I meant was ...Show All

©2008 Software Development Network