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

Software Development Network >> Steve from adzac's Q&A profile

Steve from adzac

Member List

Richard Vaughan
newsxna
Shaik Habeeb
nikos_22
jamma
Habibullah
Mike Oleary
glynnd
simone.farinea
Al Harlow
DanielS1140
Steve Harding
Lee Brimelow
Andy1988
InvestorDrew
Mark Jefford
SK_Rajdev
GAtkins
Dordorgum
Matt Penfold
Only Title

Steve from adzac's Q&A profile

  • Smart Device Development Prevent standby/keep app running in standby?

    Hi All I'm currently writing my diploma thesis and as a part thereof i am writing a WM based application to constantly log some data (various sensor input via Serial, picture capturing, audio recording and GPS via Bluetooth) which will later on be used for some data mining/context awareness stuff. It is absolutely crucial that i have a constant stream of incoming data that is not interrupted by e.g. standby, be it system or user initiated... And that is exactly where i am stuck now... :-( Does anyone know how i can prevent my wm 2005 PPC device from going into standby, even if the user clicks on power off button However, if this is possible, will the keys and the touchscreen still be locked (not a must, but would be nice) (Btw.We ...Show All

  • Visual C# Create a NEW file excel without using COM Interop

    Hi I need to create a new file excel and export a datatable in it. The file needs to be every time a NEW file (not an existing file!) I dont want to use the Excel.Application. Is there a way to do this I am working with C#, ASP.net (VS2005) thank you 1. OleDb (writes to an existing Excel file, but you can easily copy a template to the target location then write to it using OleDb). 2. A third party component such as www.aspose.com ...Show All

  • Visual Studio 2008 (Pre-release) Object[] parameter become null

    Might be a silly question but i do need some ideas. I have a object class Track which mark as [DataContract] , everything is fine when all the OperationContract are operate with Track object. things went wrong when i pass Track[] as parameter and it becomes null at the other end. is that i need to do something with the Track[] if so, how thanks a lot Here it is:         namespace xxx.xxx.xxx     {     [ DataContract ]     [ KnownType ( typeof ( Track []))]     public partial class Track     {       &nb ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. beginners tutorials

    Hi Where is the best place to find beginners tutorials in xna. thank you OK, here we go: http://learnxna.com/default.aspx http://msdn.microsoft.com/directx/xna/learning/ http://msdn.microsoft.com/directx/Community/default.aspx http://www.ziggyware.com/news.php http://xna101.spaces.live.com/ http://xnaresources.com/ http://www.xnatutorial.com/ http://www.xnadevelopment.com  - since George won't pimp his site That should keep you busy for awhile. ...Show All

  • Visual C++ displaying formatted text in edit box control

    Hello Sir, i want to display some formatted text in edit box control. to do that i have to insert new line (line carriage) character. i have tried it with "\n" but it is not working properly. it just displays a solid vertical line just like cursor. Pls help in doing the same. Thanks and Regards Munish Gupta have alook in MSDn for ES_MULTILINE and ES_WANTRETURN. Thanx ...Show All

  • Software Development for Windows Vista Invoke Workflow

    In ParentWorkflow i am using InvokeWorkflowActivity to invoke another Workflow(child) Every thing goes fine but control is returning to Host two times - one from Parent and another from child. my requirement is Child should inform the parent and parent should inform host. i have used handleExternalEvent in ParentWorkflow to handle event of child . Event is raising in Parent but the control of ChildWorkflow is also going to host. Is it the Workflow Behaviour or can we achieve the above Scenario Hi Ravi, From what you described this is what seems to be happening. The Parent WF invokes the Child WF. In this case we have 2 instances (parent and child) running under the same RunTim ...Show All

  • Visual Basic Difference between WithEvents (Handles) vs Add Handler

    I am learning VB 2005 and have a question. Events can be created either using With Events or using Add handler. So far VS IDE put all code related to with events and handles for me. Can any one explain add handler clause to me. What is the difference events created using with events and handles vs add handler Only thing I found on MSDN is that Add handler can be used during runtime instead of design time. Any one would be able to clarify You can't declare a local variable using "WithEvents". So if you want to progamatically add a TextBox, lets say, to your form you would have to declare the TextBox at the class level to use the WithEvents keyword. If however you want to declare the Te ...Show All

  • SQL Server Need script to loop through all non-system databases and drop all user schemas

    Does anybody have any tsql code that will loop through all non-system databases on a SQL Server 2005 instance and drop all the user schemas in each database Thanks. you could get the DB's by using: select * from master . dbo . sysdatabases where dbid > 4 You could then loop through the objects with: SELECt CASE WHEN xtype = 'P' THEN 'DROP PROC ' + name WHEN xtype = 'U' THEN 'DROP TABLE ' + name END from sysobjects where xtype in( 'P' , 'U' ) Order by xtype , name Depending on the objects you could also add functions..views..etc ...Show All

  • SQL Server Last image of Historical Data

    Hello, I have a slowly changing dimension Sales Person of type 2, where I am keeping history of the sales person Unit, Region, and Sales Channel which are attributed on the Sales Person dimension. The client is requesting to be able to report on the Sales Person last image, for example if the last image Region of this sales person is Region X, then all the portfolio of this Sales Person should now be linked to Region X irrespective of what it was historically. At the same time, we should be able to report on the production done by region as it occured historically. To my kowledge, my design would allow to report on production historically but not the last image. I read about an article that suggested to create additional attribute ...Show All

  • Windows Forms how to get the name of the image in Picture box

    Hi i have a small problem.I saving an image that is displaying in the picture box. i already has a default image in the picture box before capturing the image from a webcam name default.jpg my problem is i want to know the name of the image so that i will ensure whether i'm saving the newly captured image or the default image. hope i conveyed my problem correctly.looking forward for a solution -regards GRK HI thanks for immediate reply. i checked with the above code in vb.net it is giving error when i put a @ symbol like the above. and also there i no tag member to that. ...Show All

  • Windows Forms showing gif animation on winforms

    am making a project with gif animatio over othere img am having trouble showing the animation it only shows the first frame can anybody help me with direction , article or site i found selectactiveframe but it 2 fast in for(...) and i don't know how much to wait for frame and don't know how to clear the image without clearing the hall graphics device and if i redraw i get a flicker effect witch i don't want P.S am imaging noob, what i got i got from try and error and some reading thanks Check this thread ... ...Show All

  • Visual Studio Express Editions how do i get started

    Hello all my name is louie and I recently downloaded the XNA game studio and c# visual express. my problem is I have no idea what to do now, do I need to download the other visual programs to start creating my video game or perhaps more knowledge about programming. By the way I am a total Newbie to forums and this program so sorry for dumb questions Thanks in advance. Hi. Not a dumb question at all! I suggest you get a good grip on c# before wading into XNA. The series of lessons at the link below would be a great starting point. http://msdn.microsoft.com/vstudio/express/visualcsharp/learning/default.aspx If you have any specific questions along the way, post them here and someone will gladly giv ...Show All

  • SQL Server converting Datatypes:

    Hi All, how do you convert from a date to an int as well as converting from Varchar to and Int in SQL server 2000 I am retrieving the GetDate() which i store in column as Varchar, i then want to use it within my select statement to calulate data which i want to return i.e DECLARE @DateValue AS VARCHAR(20) SELECT @DateValue = ApplicationSettingValue FROM ApplicationSettings WHERE ApplicationSettingKey = 'ProcessDate' print convert(int,@DateValue) - 5 print GetDate() - 35 SELECT ccy_code, NULL, xrate_date, sterling_xrate FROM SylvanTrans.dbo.SIADHP_XRate_Hist WHERE xrate_date >= (CONVERT( int, @DateValue ) - 35 ) ORDER BY xrate_date now my as you can see in my WHERE CLAUSE i want to calculate what is retur ...Show All

  • Visual Studio Express Editions Subtracting textboxes

    I finally got the addition to work. How can I subtract two textboxes Is it even possible If IsNumeric(Me.textbox1.Text) andAlso IsNumeric(Me.textbox2.Text) then Dim result as Integer =Cdbl(Me.textbox1.Text) - Cdbl(Me.textbox2.Text) MessageBox.SHow(Cstr(Result)) else MessageBox.Show("Both text boxes must contain numeric values, Please Try Again!") end If ...Show All

  • Visual C# How to know whether an Excel file is open and close it automatically?

    In my application, I should write data to an Excel file. I can pause the application, and go to open the Excel file to see the data I received. However, when I start the application again with the Excel file open, there will be erros shown: "My application" has encountered a problem and needs to close. We are sorry for the inconvenience. It seems the application can not write data to an Excel file with the file is open...(no such problem with text file) Q1. How to check whether an Excel file is open or not Q2. How to close the Excel file automatically and then write data to the file again Thanks in advance! you really shouldnt be doing this...if it is yourself that wants to check the file..check it afte ...Show All

©2008 Software Development Network