Software Development Network Logo
  • Smart Device
  • VS Team System
  • SQL Server
  • Visual Basic
  • Game Technologies
  • Visual C#
  • Windows Forms
  • .NET Development
  • Microsoft ISV
  • Visual FoxPro
  • VS Express Editions
  • Windows Live
  • Windows Vista
  • Visual Studio
  • Visual C++

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

mjd918

Member List

Leonid-NSK
cn_sean
Ranjith P
disturbed_one70
Shinya Watanabe
ultrabit79
gianpaolo
Chevelle
Steve Watts
Caddre
Matt Warren
LostStudent
get_rad
Jason Honingford
KevS
Centimetre
Efren Molina
wayne howell
Harold
Manh Cuong
Only Title

mjd918's Q&A profile

  • Visual C++ 'cli::array<Type> ^' to 'void *'

    Hello Everyone, thats how it looks cli:: array < unsigned char > ^passwordHash how can I convert to void *, I'm passing to a function which looks like this... int sha_hash( const void * init_data_ptr, int data_length, void * buffer_ptr, int buffer_length, void * prefix_ptr, int prefix_length ) Its gonna get sent as (void * buffer_ptr) Any help really appreciated... Thanks, Harsimrat You cannot pass a managed reference as a void* to a native function! The managed reference may get relocated in the CLR heap during a GC cycle and thus any ...Show All

  • Visual Studio Express Editions GroupBox

    Hello to everybody! I want to add a groupbox to my windows form. How should I do this Right-click the form in your solution and select View Designer. If you don't see the toolbox, click View + Toolbox. Click "Groupbox" under the "Containers" heading and put it on your form. ...Show All

  • Visual Basic unbound text boxex and dates

    I am writting a small VB6 system to track employee check-in and check-out times and dates. The entry form uses unbound text boxes. I have gotten most everything to work except the dates. 1) how do I use an unbound text box to capture a date input by the user, use it to compare to date fields in an MSAccess table (date fields) and to write to the MSAccess table I keep getting type mismatch. 2) how do I put an input mask on the text box to format the entry with "/" as it's being entered Any help would be appreciated.   Bill C wrote: I am writting a small VB6 system to track employee check-in and check-out times and dates. The ...Show All

  • .NET Development GDI+ Exif problem

    am having a problem with saving exif data in the code below only some of the exif data is saved in the new file created from bitmap b. After the foreach if I set a breakpoint and inspect the bitmap b all looks well but after the save most of the exif info is missing from the file date time and camera model are all present and correct but focal length apature etc are missing. An example image with all the exif data present can be found at   http://ben-wild.co.uk/singleImage/bryce_canyon/1new_orleans_to_bryce_200.aspx any help greatly appreciated using System; using System.Drawing; using System.Drawing.Imaging; using System ...Show All

  • .NET Development Create web response from HTML file ?

    I try to create a firewall that have packet redirect for unwanted web request. The problem that I have next is how to make our HTML file as the web response for the client request. The scene like this : 1. Client request for something on web. [DONE] 2. My firewall scan for the web request from client, check if the request is not allowed [DONE] 3. Create an HTML file that will show when the request from client is not allowed. [DONE] 4. Transfer the HTML file as the web request. [NOT DONE] 5. If the request is blocked then the client web browser will display our HTML. [NOT DONE] Anyone know to resolve this. I have analize the packet for web re ...Show All

  • SQL Server transaction has already been implicitly or explicitly committed or aborted error

    We are using MSDTC to handle our transactions and some clients seem to be getting these errors more and more when we went to framework 2.0. Any ideas what could be causing this Before in framework 1.1 we would ask our clients to re-register their computer into the domain and/or rename their computer and this worked but it seems like in framework 2.0 it doesn't do the trick. Also, the wrong dns setup causes this too but after trying to fix both things it still doesn't work. I believe this error means either the server has finished the transaction and can't find the client to return the result or the active directory account/computer accoun ...Show All

  • .NET Development Datagrid asynchronous update / refresh

      I have an application with a datagrid that needs to be updated every 5 seconds. Currently, to accomplish this, I am doing this from an datagrid1.Invoke call that is based on a timer. The timer uses a callback that calls a method. That method nulls the datasource, and retreives the data into the data source and then sets the datasource property of the datagrid. The problem is, every 5 seconds, the datagrid rebinds to the datasource, and resets the selected property of the datagrid. So if the user has scrolled down into the datagrid and selected a record, it is lost. I am sure there is a better way to do this. Any help would be apprec ...Show All

  • SQL Server Cannot get the Service Broker work

    Some months ago I was playing with Service Broker and everything was ok. But now I just can't get it work. I opened a sample "helloworld" project and still cannot get a message in a target queue. No errors, just empty queues. We have two SQL servers sept CTP on different computers and both give the same issue. It looks like it should have a very simple solution that I cannot come up with. The following script initializes service broker and sends a message, then selects both target and initiator queues. On my environment it just returns two empty selects. --Initializing service broker objects use master GO S ...Show All

  • Visual Studio Team System Having issues with Team Build

    I'm having some issues with this Team Build. The first one was I didn't have Team Build installed, so I have a computer beside me that I just re-did with Windows XP Pro, and just put team build on it. The main issue I have right now Is I cannot delete yesterday's "team Build" i created. Nor can I edit it. When I created it, I wanted to test to see how it worked so I set it up to build on my computer. However, now I can't change it at all, nor can I delete it. I see the XML, I try to save my changes, it tells me it's write protected, so I overwrite it. My changes do not save. Can anyone tell me how to delete this Buil ...Show All

  • Visual C# Thread & ProgressBar

    Ok. I know this is a wierd question. But I would like to know how to connect a progressbar to a thread. I have a download function, and when the user clicks a button, the function is a thread you could say. So basically, I would like to track the progress of the download or thread in a progressbar. Here is my thread.   Button_Click Event(Object Sender, EventArgs e) {           Thread MyThread = new MyThread(Downloader);           MyThread.Start()   } That's not at all a weird question! If you're using VS200 ...Show All

  • Visual Studio Team System cluster server support for DT?

    subject says it all, I think.. Is there (currently or planned) cluster server support for the DT server   I want to say the data tier supports clustering, because that tier would just be SQL Server 2005.  So you should be able to use clustering like you always do.  I believe you have to have SQL Server 2005 Standard or higher. Rob Caron links to the Team System Licensing White Paper which also discusses this: http://blogs.msdn.com/robcaron/archive/2005/11/02/488433.aspx ...Show All

  • Visual Studio Team System Team Explorer Beta 3 issues.

    I have 4 machines with Team Suite RC, and one machine with only the Team Foundation Client, and am running Team Foundation Server B3 (single machine install): On two RC machines, where both users are set as "Project Administrators".  In Team Explorer, the Reports folder shows "Reports (working...)" and never expands and never finishes "working".  However, these users can do Team/Show Report Site, and that works...  Further, if "Stop Refresh" is clicked on these machines, Team Explorer appears to hang.  Additional weirdness... I can get the reports to show up on these two machines, but only if I choose to disconnect fro ...Show All

  • Visual C# Using an Array in a Property

    Is there a way to get/set values in an array using a property, by passing an integer representing an index This is what I have: public double GetSideC(int index) { return _hexabotLeg[index].SideC; } public double SetSideC(int index) { return _hexabotLeg[index].SideC; } This is what I would like to accomplish: public double[] SideC { get { return _hexabotLeg[index]; } set { _hexabotLeg[index].SideC = value; } } where "index" is the index value being passed in, along with "value". As I understand you, It would be better wit ...Show All

  • Windows Forms Using a #define from a non-managed dll

    Hey all,      How do I pull a #define MY_VALUE which is defined in a non-managed dll   I'd like to use this in C#, I can pull out the methods no problem, and stucts, no problem, but I can't get ahold of the #defenes in order to check for errros, since the unmanaged stuff is returning HRESULT....help! Jason ...Show All

  • .NET Development trimming of whitespace in dataset/database

    My dataset is coming back with a bunch of whitespace in the data. i.e. my data will look like "some data      " instead of "some data" This isn't just a matter of trimming the values once they're out of the db. When go and get a dataset and ask for every row except ones containing "some data", it finds none, and thus returns everything. Depends if your DB is setup to pad the extra space in a char field or not if your not consuming the max. lengeth. Michael ...Show All

©2008 Software Development Network