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

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

magicalclick

Member List

BenHarper
Aaron128
darynk21
CostasZ
chongqing
Zep--
vb_n00b
T.Gunaseelan
rad2319
Louise Ege
Claudeb1965
uncle hammy
YeeBoon
K.Kong
PhilippCH
Johan J
Kevgor
dmkp231
Sondre - MSFT Regional Director
Andy Burrow
Only Title

magicalclick's Q&A profile

  • Visual FoxPro VFP TIMER MEMORY PROBLEM

    Hi All, Our product is a 24/7 Hospital product and i face a critical issue in Timer control. The below code is a small example of my process, i created an exe of this code and this runs as a process in the task manager. The issue is this eats up memory consistently in time intervals. if this exe is ran for days the memory is used is like in MBs and slowing down the PC's performance. TimerCtrl() procedure TimerCtrl LOCAL poTim poTim = createobject ( "iTimer") poTim. interval = 1000 poTim. enabled = .t. read events endproc *========================================================================================================================= define class iTimer as timer fun ...Show All

  • Visual Studio Team System Figuring out task duration

    Hi, Let's say that it would take a lawyer 2 hours of actual work to review a contract. However, he tells me that it will take him one week to get it back to me. What would be the best way to enter the duration if I wanted to capture how this impacts the timeline Should I enter it as an elapsed take with 7 day duration Or, do I simply enter two hours for the duration. Thanks We use effort (the amount of time it is going to take) and due date (the day it is due). We actually take this one step further and use planned effort and actual effort and planned due date and actual due date. Using these 4 values we can continue to adjust how well we are doing against our initial estimates. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Does UVAtlas preserve primitive order?

    If I run the UVAtlas functions on a mesh, will the order of the primitives (in the IB) be preserved If I want to know the "new" information for face (triangle) n, can I just look up the vertices (in the new VB) with indices pointed out by the IB elements (in the new IB) 3n, 3n+1, and 3n+2 The docs don't state anything about this (AFAICT), but OTOH the functions don't produce a face-map to the old faces (while they do produce a vertex-map) so it seems like it's supposed to preserve the ordering of faces If not, I have to build a "old vertex to face" map where each vertex contains a set of faces that use it, then find the three old vertices for each face in the new mesh using the vertex map, and then take the intersection of the three set ...Show All

  • Visual Studio Tools for Office Ribbon button getimage callback ok,but image is not displayed,why?

    I have a button that has a GetImage callback. outlook may call GetImage function ,and ppdispImage has been set. But image has not displayed always. This is my code.could anyone tell me where code is incorrect (hr is s_ok) thanks extern "C" HINSTANCE g_hInst; STDMETHODIMP COLAd::OnGetImage(IDispatch* pControl, IPictureDisp** ppdispImage) { HRESULT hr; HANDLE hIco; PICTDESC d_PICTDESC; hr = E_NOTIMPL; hIco = NULL; d_PICTDESC.cbSizeofstruct = sizeof(PICTDESC); d_PICTDESC.picType = PICTYPE_ICON; hIco = LoadImage(g_hInst,MAKEINTRESOURCE(IDI_ICON1),IMAGE_ICON,12,12,LR_SHARED); if(hIco != NULL) { d_PICTDESC.icon.hicon = (HICON)hIco; hr = OleCreatePictureIndirect(&d_ ...Show All

  • SQL Server Reference Package Level Variables in a Script Component.

    I am trying to reference a package level variable in a script component (in the Code) and am unable to do so successfully. I have it listed as a ReadOnlyVariables in the custom properties of the script component, however unable to reference it in the code. Any help will be appreciated. Thanks, Andy. Jamie, Thanks for your suggestion. I did that and I was able to locate the variable. What does "ME" refer to Is it refering to the Script Component Does typing ME in different procedures/functions within the Script Component refer to different things Thanks, Andy. ...Show All

  • SQL Server Translation to XML (DAO/ADO)

    Hi friends, i want to know is there a possibility of translation to XML in DAO or ADO , I'm working with MS Access. Waseem Bahser , Thank you ))) Is there a possibility  in ADO or DAO  of conversating of whole database to XML I'm programming on VC++ (WinApi) and my database is MS Access, I was told that the best solution for the MS Access is DAO , but if there is no such possibility... Can I work with Access , using ADO or I will a have lot of problems with it ...Show All

  • Windows Forms something broke between 1.1 and 2.0 here

    I have an old control I wrote, that worked in 1.1 but doesnt anymore (actually it does, but marshals some interop stuff wrong). its the SysIpAddress wrapped into .net, and one of the events isnt comming out right. in my WndProc: protected override void WndProc(ref Message m) {     if(m.Msg == (WM_REFLECT + WM_NOTIFY)) {         NmIPAddress ipInfo = (NmIPAddress)Marshal.PtrToStructure(m.LParam, typeof(NmIPAddress));         if(ipInfo.Hdr.Code == -860) {              if(values[ipInfo.Field] != ipInfo.Value) {                 values[ipInfo.Field] = ipI ...Show All

  • .NET Development Xml reference is Nothing in Framework 2

    Hi, I have a WebService at a server with Framework v1.1.4322 and retrives a xmlDocument. <WebMethod()> _ Public Function Save( ByVal AccountName As String , ByVal Password As String , ByRef xmlOrderDocument As XmlDocument) As Boolean At our new server with Framework v.2.0.50727 the xmlOrderDocument is nothing when it passes to the function. Does anyone has any idea why Rgds Cynkan (Moderator: Thread moved to this forum for better responses) In one version of a webservice I had to use XmlNode instead of XmlDocument...but don't remember why...but document is base off of node. hmmmm My suggestion is to debug it locally, and then setup the server for .Net remote d ...Show All

  • Visual Studio Team System Only 64 tests run

    Hi, I'm using Visual Studio Team system for developer and I have a team build that get latest/build/run tests. But only small portions of the test are run. I have 196 unit tests, but only 64 of them get run... why No error nothing. -joel Since I only have the Team Edition for Software Developers, I cannot create Test list. Therefore I have to install the Team Edition for Testers. Also, there is no feature such as run all tests included in my solution... ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Game AI

    Hi, i am currently working on a simple first person shooter game and this is the first time i am at it. I am actually working on the AI part where the enemies must find the correct player and attack, I have seen some shortest path algorithms like A* and it's variants I want to know in which manner or format the MAP must be stored and conveyed to the CPU players so it is efficient.I want to know this because in a complex map there may be a lot of crucial points and terrains.. Your algorithms will get much more simple if you manage your path finding algorithm and everything just in 2D instead of 3D. To achieve that, you can store pre-computed information in a 2D map of each part of your scene. ...Show All

  • Smart Device Development OpenFileDialog Filter capabilities for specific file names.

    Hi, I'm trying to use OpenFileDialog filter to filter both a group of *.txt files and a specific file using: OpenFileDialog1.Filter = _ "Specific File|SpecificFile.txt| Text files (*.txt)|*.txt" OpenFileDialog1.InitialDirectory() = "TextFileDir" OpenFileDialog1.ShowDialog() In the TextFileDir directory I have a large number of files. I would like to be able to execute the ShowDialog() with a specific file already selected (highlighted). It appears that the Filter only functions with the wildcard (*) for the filename and a specific extention. Is there a way to use OpenFileDialog to have a specific file pre-selected Hi Sab2, I'm not ...Show All

  • .NET Development Error 80070005

    Hello, I developed for 4 month a web site with visual studio 2005. The site runs using VS2005. Mathematical computations have been done using EXCEL (Microsoft.Office.Interop.Excel). When running the site under IIS (XP pro), I get the message detailled under. I tried to give permissions on EXCEL to IUSR_MACHINENAME, then to everybody without results. It will be impossible to deploy the site until this error is solved. Thank you to help me. Server Error 80070005 in '/SiteOPCVM' Application. -------------------------------------------------------------------------------- Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005. Description: An unhandl ...Show All

  • .NET Development Using same name on xml file as assamble!!!!!!!!

    i just wanted to report..... well after pulling my hair for a couple of hours i figured out that one of my xmlfiles was called the same as my build, wich made .NET read like crazzy and making alot of wierd results ...Show All

  • .NET Development Deny access to all my .mdb in a directory

    how can I deny access to download to a .mdb file in a directory and If I deny access my application can open it to read data Thanks I'm not sure if I completely understand your question, but you can make the folder where the database resides read-only for all users (except for an administrator). This will prevent any files from being copied to the folder. The Access database must then be opened for read-only access by your application. ...Show All

  • Windows Forms How do it

    like if i Click on the Button [ Memberlist ] or [  Monsters   ] and so it will go to the  Information about Memberlist on the Same Form and if i click [  Monsters   ] it will go to  Monsters   Information. Is there a Sample or a Tutorial how to do that or can you show me here That works with Microsoft Visual C++ 2005 Express Edition  I looked all over and Cant find any info about this   I like to make a Program just like that one but in English and in C++: http://www.filewire.com/download.php id=a5e677c31c6e0fb6b33e8d8   Sorry for bad English Can i get an sample Ok so i just add two Panel to my Form but i don't see where to add Text a ...Show All

©2008 Software Development Network