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

Software Development Network >> John.Doe's Q&A profile

John.Doe

Member List

BJohnson
dw
justicelin
Jesper Ekenberg
Cathie 64
GrandpaB
SpecialTee
xna3der
DavidAtPEfiberoptics
Terence Tung
stallion_alpa
chrismpace
vic001
Przemek G.
Vitalijus
GetCode
FatjonSaja
Personal Information Withheld
simon_56387
davemord
Only Title

John.Doe's Q&A profile

  • Smart Device Development Windows hooks on WM 5.0 for Smartphone

    I am aware that SetWindowsHookEx is not meant to be used for smartphones on WM 5.0, though I notice the function is available in coredll.dll in both Smartphones and PocketPCs. I also notice that limited usage can be achieved on PocketPCs (yet, it's all undocumented), while I had no success while playing with it on a smartphone. What do we do in that case I want my application to be able to receive press events (incl. the events coming from 0-9 keys) while homescreen is in foreground, and to be able to execute a code before any other application (for instance a dialer) handles the events. What do we do for it when SetWindowsHookEx() is not available Btw, is SetWindowsHookEx() now considered to be a *privileged API*, or it is not availabl ...Show All

  • Visual Basic XML or a database?

    I'm creating a program that basically parses textfiles and stores them into a database for easier manipulation (so I can run queries on a DB instead of parsing/comparing/etc raw text on-the-fly) Currently I am using an Access database to store everything, but now that I realize .NET has such great XML support, I figure this may be a better option.  I'm thinking of storing each file into its own XML file then loading the selected file into a dataset and pulling info from it.  This is basically what I'm doing now, but instead of XML, it's the Access db. Does anyone have any advice on which method is better  EDIT: Wow, I forgot to mention something important.  What I wanted to know is, how do I han ...Show All

  • SQL Server db_owner role

    I am getting this error message when disabling a job. The user is not a SA. TITLE: Microsoft.SqlServer.Smo ------------------------------ Alter failed for Job 'XYZ'. ------------------------------ ADDITIONAL INFORMATION: An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo) ------------------------------ EXECUTE permission denied on object 'sp_help_operator', database 'msdb', owner 'dbo'. (Microsoft SQL Server, Error: 229) The user can diasble the job if i give db_owner permission on msdb. Is there a way i can do this without making the user db_owner Thanks for any help ...Show All

  • Visual Studio Express Editions Can we redistribute VB express on our product CD?

    I know SQL Server Express can be redistributed with applications. I'm wondering if there is a way to license VB Express to redistribute with our application Somewhere, perhaps in the vbe top level directory, search for the End users license Agreement. (EULA) , usually Eula.txt. That should include the answer. I suspect there's noting wrong with it. ...Show All

  • SQL Server Problems with Windows Server 2003 R2 & Analysis Services

    Hello all, I got some strange problems with SQL server(Analysis Services). Operating System is Windows Server 2003 R2. When I process a dimension or a cube...frequently I am getting the error with File system...saying it can't access the xml files in DATA folder. Some times it completes without any errors. I worked with SQL server on Windows Server 2003 platform....and never seen such kind of messages or errors. any body have problems with Server 2003 R2 and Analysis Services or is it a problem with my installation regards, Yes.....you are correct.....when you asked me about them, I tested AS after stopping these services...and It was working fine. Thank you very much. ...Show All

  • Windows Forms IEventHandlerService, IMouseHandler

    I need to override parts of the WndProc function of a ControlDesigner I have to change some mouse behavior. Using the reflector, it looks like there is a mechanism for doing just this, by adding an IMouseHandler object to the IEventHandlerService. Unfortunately these interfaces are internal. I've seen some code around the net where people have created their own interface that matches the IEventHandlerService exactly and then use that to get the service. I've tried this but it doesn't work for me; I always get null back from GetService (I've ensured the type is in the service container). Has anyone been able to get this to work, or does anyone know how I can provide my own mouse handler for a designer My specific problem is that I don't ...Show All

  • Visual Studio 2008 (Pre-release) UserControl call window method

    I need a UserControl to call a method on its parent window. What are my options Can I bind a method on the usercontrol to the parent Or is there some other way Brian I can give you more detail of my situation. I have a UserControl that is shown in a window. The UserControl sits in a spot that is occupied by several controls, but only 1 is visible at a time. The others are collapsed. I've placed a button on the UserControl that should hide itself and make another control visible. Since the button is on the UserControl, I don't know how to refer to other Controls in the Window. I figured I should just call a method on the Window that does all this work. I'm not sure how to call the method from inside ...Show All

  • Visual Studio Express Editions how can i select startup to user control at start up

    I am new to programing and would like to know how to do the following. I have multiple use controls and i would like to select the control to show at start up from a combobox list. i would like to save the selected control to a usersetting so it will start up when the aplication is restarted. Thanks I don't know, is 'indentation' not a word Sounds like sup'en to me Besides, I was the first to use 'booleanessity' on the forum. I'm always on the cutting edge of changing vocabulary as we know it. I R eucaded U no! You and Stephen need a guy like me around to make yall look good ...Show All

  • Visual Studio Express Editions Storing Stuff

    Dear All, This may seem a little simple to some of you but its been slowly winding me up for a while now, so any pointers or advice would be greatly received. What I'm looking to do is store information inside my application, with out using a database (I mean Access, SQL etc.) I have used *.bin files in the past but I'm not sure that they would meet the needs of what I need to do. The project is for a small charity and so far has about 850 records that they wish to store, they mainly use open source or freeware and need to be able to move the data between desks and back it up on a daily basis. Also some times they are not connected into the network so a local copy of the said information needs to be copied to the local machine. ...Show All

  • SQL Server Analysis Services/ MDX

    Hi, My data warehouse project is more on call center agent score card. my source table schema looks something like this: Agent_Name Date Talk_Time (in secs.) Handle_Time (in secs.) Agent1 05/10/04 50 15 Agent2 05/10/04 65 86 I want to have in the MDX the talk_time and handle_time in hh:mm:ss format like the one below: Talk_Time Handle_Time 05/10/04 Agent1 00:00:50 00:00:15 Agent2 00:01:05 00:01:26 Total 00:01:55 00:01:41 I've used a technique to convert it to time format but then when total of the time field (talk time or handle) has a value like 90000 seconds, it will give me 1:00:00 ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Why dosent Transformation affect all objects of Scene?

    Hi .. In my Application, I create a mesh from a file and the I create a triangle. Then when I change the Transformation matrix (rotate, translation...) that affect jsut on mesh Why doesnt it affect on triangle What do I do false Thanks: private void Process(Device device) { device.Clear(ClearFlags.Target, Color.White , 1.0f, 0); device.BeginScene(); device.VertexFormat = CustomVertex.TransformedColored.Format; device.Transform.World =Matrix.Translation(1.5f,1.0f,0.0f)* Microsoft.DirectX.Matrix.Scaling(1.2f, 1.8f, 1.2f); device.DrawUserPrimitives(PrimitiveType.TriangleList, 1, vertices); //draw triangle DrawMesh(spacemesh, spacemeshmaterials, spacemeshtextures); //draw mesh device.End ...Show All

  • SQL Server How to divide a row data to multiple row in one table by SSIS?

    Hi, Experts, I have a data table from a old system. There are 10 data fields stored in one row at this table. How can I seperate those fields into another table to be 10 rows Any component in Data Flow can I use (I have tried several component...) by the way, the original table is a large table, contain 3,000,000 rows. Thanks for your all assistance. source: CREATE TABLE [dbo].[Original]( [CNTR] [nvarchar](11) NULL, [YEAR] [float] NULL, [MNTH] [float] NULL, [DAY1] [float] NULL, [LCT1] [nvarchar](7) NULL, [STU1] [nvarchar](2) NULL, [MVP1] [nvarchar](3) NULL, [DSM1] [nvarchar](1) NULL, [DAY2] [float] NULL, [LCT2] [nvarchar](7) NULL, [STU2] [nvarchar](2) NULL, [MVP2] [nvarchar](3) NULL, [DSM2] [nvar ...Show All

  • .NET Development .PNG File As a Embedded Resource in Visual Studio 2003

    A couple of questions I guess. 1. Is there a way of making a .png file a embedded resource from the 2003 visual stuido editor 2. Once I have made it as a embedded resource should a line like the following retreive the resource correctly this ->pictureBoxLED->Image = Image::FromStream(assembly->GetManifestResourceStream(S"CustomControls.pbOffLED.png")) 3. This solution I am working on contains several projects CustomControls are basically user control forms I have created. Thanks for all you help in advance Thank you for your response. I appriciate it. I can easily see how you can set the build action in visual studio 2005.. (Right Click on the item, choose properties ...Show All

  • Visual Studio Express Editions String table resource with static library

    Hi all, I want to use string table resiurce with my static library. Is it possible to embed the resource file in library And as per what I have read, we use Loadstring() method to load the string, but this requires HINSTANCE handle, how do I get it in my library Any help will be greatly appreciated. Regards, Smriti Thanks for your reply. My lib will be finally linked to exe, that has int WINAPI WinMain(HINSTANCE hInstance) as the starting point. Can i use this handle inside my library (Tried this, but this too does not load the required string) Also is it posible that my string table resource resides in library I have already tried passing null as parameter to GetModuleHandle ( ...Show All

  • SQL Server Report Server First Time Configuration: Provider Load Failure

    I'm trying to do the above using the Reporting Services Configuration Manager and I can't even connect. I get the error Provider Load Failure. Anyone got any pointers This maybe due to issues with the Reporting Services WMI Provider. Can you make sure you have a ReportingServicesWMI.dll present and of the appropriate version wrt to the config tool thanx, Prash ...Show All

©2008 Software Development Network