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

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

MacedonHacker

Member List

AlexInToronto
devnull444114
libra08
Idanz
Jeff Scott
stangnut
Sabbadin
levogiro
Raja Prabu
Naveeeen
Whoisit
John Gunning
lachlanj
Patrick Altman
AlexBB
lucas3256
jcarlos.net
ReneeC
xRuntime
kadabba
Only Title

MacedonHacker's Q&A profile

  • Visual C++ Class wizard

    Hello all, How do I go about adding a message handler i.e ON_MESSAGE(...etc) without the class wizard as in VC++6 Thanks in advance. Beside that Nishant already said. ON_MESSAGE macro is generally used to map user-defined message handlers. The handler function prototype is afx_msg LRESULT memberFxn(WPARAM, LPARAM); Here is an example: #define WM_APP_MYMESSAGE (WM_APP+1) // ... // MainFrm.h class CMainFrame : public CFrameWnd { // ... afx_msg LRESULT OnMyMessage(WPARAM wParam, LPARAM lParam); DECLARE_MESSAGE_MAP() }; // MainFrm.cpp // ... //}}AFX_MSG_MAP ON_MESSAGE(WM_APP_MYMESSAGE, OnMyMessage) END_MESSAGE_MAP() // ... LRESULT CMainFrame::OnMyMessage(WPARAM wParam, LPA ...Show All

  • Visual Studio Team System Plans for sharing project amongst team

    Hello, I just tried importing my work database schema of tens of thousands of objects which went through within minutes, so well done on making the import a lot faster! I was curious as to whether a question I asked a while back has been reviewed. Basically I would really like our team to use data dude for our development, however we all have Team Developer licences (bar a couple of us who have Team Suite licences) and upgrading everyone to Team Suite or switching everyone to DBPro is not an option. All developers develop their own stored procedures, we have no 'Database Professional'. Therefore in order for us to use data dude projects, we would like to know if the scenario below is possible: 1) We have one designated 'Database Prof ...Show All

  • Visual C# .Net controls looks like Win95 in a BHO

    Hi Somebody knows why the .Net Contrlos (e.j. tabControl and Button) have a look as controls of Win95 inside a BHO How can I get that the controls looks like WinXP Where is my error I'm sure that is possible because I have seen BHOs where the controls have the WinXP look. I developed my BHO with Visual C# Express, .Net FrameWork 2.0 and works fine in IE7 beta and Window XP. Deza ...Show All

  • Visual C++ Dependency debugging

    Is there anyway to turn on any kind of dependency output so I can debug a problem that I'm having If you've ever used make i'd like to see output similar to 'make -p'. My solution file has 15 projects in it and any time I try to debug the main program it thinks that all the projects are out of date and need to be rebuilt even i just rebuilt 2 seconds ago. Thanks in advance. Thanks John! You are correct. I moved it back to the VC General forum. I will inform the VC++ IDE folks. Thanks, Ayman Shoukry VC++ Team ...Show All

  • Visual Basic How do I unzip a file at runtime?

    I'm making a game which has an animated 261 frame intro (entirely BMP images). I would like to be able to extract them from my project's resources at runtime and then import them into DirectDraw to draw them. The problem is, my computer simply doesn't have enough power to build a project with 261 800x600 bitmaps! Instead I would like to extract them from a ZIP file contained as a resource in my app, at runtime. How would I do this .NET doesnt provide Zip Functionality out of the box. You'll need to find a third party component to handle this. A simple web search will reveal many components. A common one used is http://www.sharpziplib.com/ .NET does have some compression routines - but they are not winzip file compati ...Show All

  • Visual Studio Windows ReportViewer Page Navigation Problems

    Hi, I am facing a strange problem while previewing the report in the Windows ReportViewer. I have a report of 2 page long (which fortunately is being generated perfectly). However, the problem is after the report is completely generated on the reportViewer, I click on the "Print Layout" button which generates the report based on how the report will be printed. Here, in this case, despite my report being of 2 pages, the next page arrow button is disabled. Also, the report shows the text as "Page 1 of 1" despite of the total page(s) being 2. After that, if I manually write "2" in that Page text box it navigates to the 2nd page and then all the Prev, Next buttons are enabled and activated. Can an ...Show All

  • SQL Server Long duration Pre-Execute phase

    Does anyone know why SSIS sometimes just sits in the Pre-Execute phase of a data flow and does nothing It doesn't matter how elaborate the data flow is or the volume of data. It can sometimes take 80% of the task's run time. Read the thread in this forum titled " SSIS Performance 32 Bit V 64 Bit ". This solved the problem for me. To summarize, I'm developing on a 32-bit machine, hence using the 32-bit OLE DB data source driver. When that driver runs in the context of the 64-bit DTExec, I have these inexplicable performance problems with large and complex queries. When I shell out to call the 32-bit version of DTExec, it works like a champ. Prefered fix of course is to develop on a 64-bi ...Show All

  • .NET Development Is it possible to calculate a column value in a DataTable using managed code in .NET 2.0?

    Hi, I have a requirement to populate an asp.net 2.0 GridView control with data, with some columns directly retrieved from a SQL Server 2005 stored procedure and others calculated from those columns using .NET method calls. I thought I could achieve this by using an ObjectDataSource calling a GetData method in a DataSet created using the DataSet Designer, then hooking into an event where I could calculate the values for the required extra columns of data, so that these would appear in the GridView. However, I can't find an appropriate event to hook into to do this. Does anyone know how to achieve the effect I require Setting DataColumn.Expression looks like it ought to do this, but that does not allow anything except SQL express ...Show All

  • Visual Studio 2008 (Pre-release) small caps

    Hi can anybody know how to get small caps(just like in ms-word) in textbox or richtext box. Thanx-Nagu Hi like this " Hello How R U" here font size (11) is same for all but its look like some different ...Show All

  • Software Development for Windows Vista IShellWindows behaviour changed under Windows Vista - Update

    Hi It seems to me like IShellWindows only enumerates "true" Shell Windows under Vista when UAC is enabled. Internet Explorer Windows are ignored, unlike in previous Windows versions. If I disable UAC completely (via msconfig), it works as under Windows XP. However, when UAC is enabled, no matter what user rights I have tried, it behaves as described above. Is there a way to elevate the rights of an appication so that it can enumerate the IE windows Or is there another way to enumerate all open Internet Explorer windows in Vista and access their IWebBrowser interface Thanks in advance, Robert PS: I have posted this under "Internet Explorer Extension Development" a few weeks ago, but I got no usable answers. S ...Show All

  • Visual Studio 2008 (Pre-release) Plain XML in the body of a SOAP message

    I want to load a plain xml file and send its contents to a Web Service in the body of a SOAP message. But I do not know how I should specify the service contract. Should I receive the content as a Message object or as XmlNode or something else I have tried to create a Message with Message.CreateMessage(version, action, xmlDocument) but I can not get it to function and no message is received by the Web Service. I am a newbie to WCF and VS2005 so I am not very familiar to this environment. Anyone can give me any advice You can do something like this: Server: [ServiceContract(Namespace = "urn:MessageContractTest")] interface IMessageContractTest { [OperationContract(Name = &quo ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Get and Set with a Vector

    How exactly would you use get and set to access a vector (2 or 3 for that matter) If I had this, how do I access the .X and .Y values Tank playertank = new Tank(); //this is in my initialize part of game1 //the following is in my Tank class Vector2 position; public Vector2 Position { get { return position; } set { position = value; } } Obviously I am doing that wrong, what is the correct way Since Vector(2,3) are structs, they are value types. That means that returning the vector itself returns a copy of that vector, rather than a reference to it. As such, if you set the .x, you would only be modifying the copy. I have taken to making my size/posi ...Show All

  • Visual C# How to insert a paragraph?

    I'm very new to VS.NET C#. I'm creating a simple app. to launch a flash tutorial. In the form, how do I insert a paragraphc explaining what this app. is going to be I tried the Lable control but it does not give me multi-line option. What do I need to use Thanks! I remember in VB6 how you could edit the text directly in the designer window. It was sometimes convenient, but more often then not I ended up double-clicking on the control and generating an event, instead of "slow double clicking". Editing the text in the properties window is the way it's done in .NET. ...Show All

  • Visual Basic Fade in code doesn't worked on mdi child form

    This form fade in code worked for non-mdi child form but doesn't worked on mdi child form. How will i make it work Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim i As Double For i = 0 To 1 Step 0.01 Me .Opacity = i Next Me .Opacity = 1 end sub You aren't giving the form an option to refresh. What you should probably do is put a timer on the form, set the interval to a suitable level to get the effect you want, say 100mS, and set the opacity to one step higher each time it fires. Enable the timer when he form loads. Disable the timer in the timer event when the form is fully opaque. For example: Public Class Form1 Priv ...Show All

  • .NET Development Question about "getElementById"!Thanks!

    i wrote these codes. <script language="javascript"> </script> <SCRIPT> function fnGetId(){    document.write(document.getElementById("asdf").innerText);    document.write(document.getElementById("qwer").innerText); } </SCRIPT> <DIV ID="oDiv1">Div #1</DIV> <DIV ID="oDiv2">Div #2</DIV> <DIV ID="oDiv3">Div #3</DIV> <div id="asdf">Albert</div> <div id="qwer">Franklin</div> <INPUT TYPE="button" VALUE="Get Names" onclick="fnGetId()"> I try to get two innerText via getElementById. But it can not work like this. Why it can olny get one value. Does it work one time in function Only the first getElementById can run Than ...Show All

©2008 Software Development Network