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

Software Development Network >> Furious P's Q&A profile

Furious P

Member List

mahalax
Boulderdude
sanjeevm
hye_heena
OUPRO
Tony Vaughan
Giuseppe Buzzurro
Alberto De Marco
RichardBH
Darlek
Mowali
Cordell Swannack
GazCoder
mxapacbell
VooDoo Chicken
neogortex
Teymur Hajiyev
JiltedCitizen
LoveCode
Jagdeep Sihota
Only Title

Furious P's Q&A profile

  • Windows Forms OnPaint Overflow Exception

    Hi I have a form with some controls, in it, most of them are labels, and a panel for displaying video and one of label is blinking using timer. sometimes i got an Overflow exception when a program is started and sometimes when label is blinking. this exception is random and not always thrown. when exception comes, it comes with quit and continue, and have detials of the stack trace, when continued, the one control which is mentioned in the stack trace are turned to red cross. this is happening with two three controls. Where you do call this code to change the ForeColor Is it in a timer If so how did you declare your timer and (as there are a couple Timer classes, which one did you use) Michael Taylor - 6/27/06 ...Show All

  • Visual C++ How can I do asynchronous socket proramming in console application?

    I was trying with using WSAAsyncSelect , but it requires handle parameter of the window to which the message will be sent when an event occurs. So how can I get handle of a console application Or there is some other way to do asynchronous socket programming in console application. Thanks. The wait function returns WSA_WAIT_EVENT_0 if one of network events occurred during 1 second interval, i.e. the host is ready for reading or writing, or closed the socket. Otherwise it returns WSA_WAIT_TIMEOUT after 1 second. In order to determine which of events occurred, try WSAEnumNetworkEvents . If you need just to check the readiness without waiting, then specify zero timeout. Probably you can obtain more p ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Is it realistic to create one's own engine?

    I'm not new to programming, but I'm new to game programming and C#. I'm wondering to what extent it's realistic for someone to make their own 3D (or for that matter 2D) game engine. The two projects I have in mind for myself are a turn-based 2D war/strategy game, and a 3D adventure game in the manner of "Dreamfall". On the 2D side, I feel confident I could come up with a 2D interface on my own. I haven't done a lot here yet, but I did manage to whip up a little 2D hockey game without peeking at Bill Reiss's excellent 3D airhockey tutorial at http://xna101.spaces.live.com/ . I've even given my computer hockey opponent a very primitive AI. OK, my collision detection and physics aren't great, but I'm not sure how much I'll need either of ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. RenderTarget2D rendered with garbage all over it

    Hi I've got a 2D project where the world is rendered to a 1024x1024 RenderTarget2D texture, then that texture is drawn to the backbuffer. It works fine on my laptop. On my desktop, however, the RenderTarget2D texture is drawn with an overlay of garbage consisting partly of a frame of a DVD I was watching on the other display. I'm clearing the RenderTarget2D texture properly, and everything is drawn properly, but when this texture is drawn to the backbuffer it receives a nicely alpha blended amount of garbage that covers the entire texture. So I can see everything rendered perfectly on the RenderTarget2D texture, it's just covered with translucent garbage. Sorry, I can't get any shots now. When I get home from work I'll get right on that, a ...Show All

  • SQL Server wont authenticate

    I have this website which has sql2000 database. this website is using the membership class of asp.net 2. when you run it on the localhost, no problem. after I upload it to my webhost, the usernames that I created with the membership class wont work anymore. membership class raises error "invalid username or password". i checked the database and the username are still there. that left me no option but to create another username. why is this happening is there something wrong with the way I uploaded the mdf database file PLS HELP ...Show All

  • Visual Studio Tools for Office Cannot access assembly from end user computer

    I am creating a simple excel application and saving the assembly on a network folder. When i try to access this from end user's machine i get the "The Current .Net Security policy does not permit the customization to run. Do not change the security policy in your computer. ...." 1.I have ran caspol.exe and granted full trust to the assembly on the end user's machine. 2. When i look at the details of error, it shows the dll is loaded from correct network folder. 3. I have also verified in Framework 2.0 configuration it shows my dll under Local Intranet_Zone. 4. The solution works correctly on my development machine. I am using Visual Studio 2005,VTSO 2005 and Framework 2.0 Thanks in advance for helping me with this. The one ...Show All

  • Visual C++ Which function must be used to load the common control classes

    Question:- A CFormView uses a dialog-template resource. What properties must the dialog-template resource have to work correctly with a CFormView Choice 1 WS_CHILD on WS_BORDER off WS_VISIBLE on WS_CAPTION off Choice 2 WS_CHILD off WS_BORDER off WS_VISIBLE off WS_CAPTION off Choice 3 WS_CHILD on WS_BORDER off WS_VISIBLE off WS_CAPTION off Choice 4 WS_CHILD off WS_BORDER off WS_VISIBLE on WS_CAPTION off Choice 5 WS_CHILD on WS_BORDER on WS_VISIBLE off WS_CAPTION off ...Show All

  • Visual Basic export data from file to excel

    I have data in the following format in an output file: 2003,         1,            27,           139,          328,          16,           2,            3,              9289,          2003,         3,         &n ...Show All

  • Software Development for Windows Vista Replace text in XPS documents

    I'm trying to replace text in XPS documents and I've got nowhere. What we're trying to do is replace our old word templates that have bookmarks as placeholders; we use vb6 to replace the text where the bookmarks are. This is so users can create generic documents and merge them with our data from our database. We want to replace this as honestly the current solution isn't that good, but does work, so it's not all bad. I've created an XPS document with bookmarks, can't seem to figure out what makes a bookmark a bookmark in XPS. But really all we would need would be a placeholder like <Address> or <Name> or something and then replace that text with data. Can anyone help or at least point me in the right directi ...Show All

  • Visual C++ wininet

    Hi I am trying to develop an internet app using wininet to download pages and then scan the data. The functions I am using are :- GetHttpConnection OpenRequest SendRequest It all works fine but I want to add a longer URL. For example at the moment my server is set to www.cnn.com . But I may want to go to a page like http://www.cnn.com/TECH/ or even something like http://money.cnn.com/ . So can anyone tell me how to do this. Thanks Jon Hi, if I understand the documentation you just pass the part after the server name as second parameter to OpenRequest. So pass e.g. "TECH/" as parameter. I think http:// is implicitly used, so I guess https:// is not possible. -- Sve ...Show All

  • SQL Server Finding the Month with only Week and Year

    I'm having trouble figuring out how to do this, but I'm sure there must be a way. I have a table with a column for week number and another for year. I need to find out what month this particular week fell into. I realize that some weeks will cross over two months, so I'm fine with using either the first or last day of the week which could be turned to the day of the year. Any ideas how to get the month when you only have a week number and year to work with Also, I'm not the one who decided to save just a week and a year. I'm just one stuck trying to figure out how to use the data. :) You should do something like below instead which doesn't depend on the language settings or rely on specific date format ...Show All

  • SQL Server Won't select rows with null field values

    I cannot in the life of me understand what goes wrong here... In a webapplication (C#.NET) I traced an inability to retrieve existing records to SQL Server, where I cannot do the same either. The problem is that in the parameterized query, some fields can be null, and thus when the corresponding fields in the database record are null also, they should be selected. But this won't happen for some reason. I wrote a test SQL statement that gives me the same bogus: DECLARE @institution int, @collection int, @serialnr int, @subnr nvarchar(50) SET @institution = 1 SET @collection = 1 SET @serialnr = 240 SET @subnr = NULL SELECT ID, Institution, Collection, SerialNumber, SubNumber, AccessionYear, Sagsnummer, DanekraeNr, TaxonIdentified, ...Show All

  • Software Development for Windows Vista Issues with cummunication between Workflow

    Hi , Well Now some more issues .. I have a class which is responsible for instantiating 3 workflows ..all sequential When one is executing it raising event which should be handled by HandleExternalEvent by another workflow but in my case Workflow seems to be terminating before it can deliver the messages to Workflow .. I have included my handleExternalEvent of second Workflow in WhileActivity so that Workflow don't terminate ..In the mean time my First Workflow losses its persistence store ... 1. Host Application 2. Workflow 1 3. Workflow 2 4. Workflow 3 step 1. Host Application Communicate with Workflow1 ( I used Local communication service , it works well when Host Application & Workflow 1 ...Show All

  • Smart Device Development how distribute new version of an application ?

    Hello ! exists a way for being able to distribute one new version of an application on win ce.net devices in transparent way to the customer thank you In the first place thanks in order to have to me answered !! In reality my application is written in vb.asp.net and it runs on pda device with win ce 2.0 operating system .Currently , when is developed a new version,users download cab files on a web server and they make a manual installation.I would want to avoid this type of procedure ! Your suggestion is useful for me but do you know if exist some example to which I could make reference Still ...thank you very much!!! ...Show All

  • .NET Development COM Interop w/ UrlMon interfaces

    Hello, I'm trying to create a temporary pluggable MIME filter in managed code. I've managed to convert the necessary interfaces into C# (with the various attributes, etc.) working from the idl (there's no tlb, and being inexperienced with COM, I couldn't figure out why midl wouldn't generate a tlb from the idl). I also implemented a few classes in C# implementing the proper interfaces for the MIME filter. I was able to register this filter for my process as a temporary filter as well. Now, all of this works - the functionality of my rudimentary filter is actually being performed and the WebBrowser control in my process has its input being filtered. Now, the problem: after a few passes through the filter (I think its when a GC collect pass ...Show All

©2008 Software Development Network