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

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

b182f117

Member List

suryany
GlennZarb
Scoutn
minkee.s
Liam64
mfdiqwer
dmyers
LeoXue
Kent Thomas
seco
jkushiner
mobigital
Futzy
R.Tutus
happymozart
Hersheys98
Kevin Rodgers
Shilpa_nad
RB_Banc
TRID
Only Title

b182f117's Q&A profile

  • Visual Basic Convert byte array to bitmap and vice-versa

    Hi, How do I convert a byte array to a bitmap and vice-versa in VS2005 Thanks, Ivan From Image to byte array:   Me .Picture1 = New Bitmap( Me .Image)   Dim ptr As IntPtr   ' Lock the bitmap's bits, get a BitmapData object   Dim rectngl As New Rectangle(0, 0, Picture1.width, Picture1.height) Dim bmData As System.Drawing.Imaging.BitmapData = Me .Picture1.LockBits(rectngl, _                                           Drawing.Imaging.ImageLockMode.ReadWrite ...Show All

  • SQL Server READ_COMMITTED_SNAPSHOT

    READ_COMMITTED_SNAPSHOT in 2005 is what I wanted. However, I am still using 2000. READ_COMMITTED in 2000 is different. Can anyone give me advice on this issue (or there is no way in Sql Server 2000 to handle the following scenario: Process One UPDATE tableA SET fieldB = 'testing' WHERE fieldA = 1; Process Two SELECT * FROM tableA WHERE fieldA = 1; While Process One is working, Process Two will fail. But I just want to allow Process Two to read the data (i.e. the version that before Process One is working). This is what READ_COMMITTED_SNAPSHOT do in Sql Server 2005. ) Thanks for any advice. Hi Wilson. There is no automatic method to allow this type of read i ...Show All

  • .NET Development FindIndex() method

    Hi, I've read the msdn library about this method and a sample code. I didn't quite understand it. I made an object of List: List<ListViewItems> numbers = new List<ListViewItems> I want do add an item as a subItem to the listview control. The item i wanna add should added behind an element that matches the criteria. Im trying to find the index of the element so i can add it like this: this.numbers[index].SubItems[2].Text = "Done"; But im having a little problem using the numbers.FindIndex() method. This is the method im trying to call in the FindIndex() method like this: number.FindIndex(FindIndexOfListViewItem) private int FindIndexOfListViewItem(int index) { for (int i = 0; i < this.listViewItems.Count; i++) { s ...Show All

  • Visual FoxPro FoxPro for Mac OSX

    FiveTech Software is developing FiveMac, a software tool that will provide the FoxPro for Mac OSX functionality using the CA-Clipper language (http:// www.harbour-project.org ). First screenshots: http://fivetechsoft.com/forums/viewtopic.php t=4779 Product development announcement: http://www.fivetechsoft.com/english/fivemac.html Forgive my ignorance, I don't work with Mac,but AFAIK already there were a Foxpro for Mac since 90's, no Screenshots look more like a Clipper for Mac. ...Show All

  • SQL Server HelloWorld_CLR not sending messages anymore...........

    Hello, Yesterday I made the HelloWorld_CLR sample work and figured today I would create a simple windows service to immulate its functionality.  When this was not working I tried the sample again and it stopped working.  I have tried several things and nothing has worked.  Has anyone seen this before or have any ideas on how I can get it working again   I even tried removing SQL Server and its samples then reinstalling to give me a clean slate but that did not work.  I did not make any changes to the software nor did I make any changes to the database however the sample did so I need to make sure I can fix this incase it happens in development not to mention I need to continue development. The Client Que ...Show All

  • Windows Forms Drawing on[/underneath!] Controls

    Is it possible to draw a line as shown in the pic on a single form The line in the image is drawn on a second form which is transparent so form1 is visible. As indicated, it turns on the WS_EX_TRANSPARENT window style. With this style set, Windows ensures that all windows "below" the window get painted first and the transparent window last. ...Show All

  • Visual Studio 2008 (Pre-release) BAML stream has version number '0.96' but parser can read only version '0.94'

    After installing .NetFx 3.0 RC1 and subsequent SDK, I cannot open XamlPad and I am getting the following error, infact other dlls are also throwing exceptions: System.InvalidOperationException was unhandled Message="Version mismatch. BAML stream has version number '0.96' but parser can read only version '0.94'." Source="PresentationFramework" StackTrace: at System.Windows.Markup.BamlVersionHeader.LoadVersion(BinaryReader bamlBinaryReader) at System.Windows.Markup.TreeBuilderBamlTranslator.ParseFragment() at System.Windows.Markup.TreeBuilder.Parse() at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream) at System.Windows.Ap ...Show All

  • Windows Forms textbox and formatting

    hi i am using vb2005. i have a textbox which is linked to sqltable and its string(text). the data is an amount-cost. sometimes i want to display data from table or sometimes i want to add new data. whatever it is i want the format of the textbox is like for eg 2,000,000 AED(i mean the separation commas and at the end the currency type.) can i format the textbox accordingly using soem code http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=247523&SiteID=1 this can help, but not exactly wat u looking for,. ...Show All

  • Visual Studio Team System Backup to remote computer and "Local System" service account

    I don't really understand how to do a backup of the SQL databases to a remote file share. Following the instructions in the install guide, I picked "Local System" as the service account for the SQL Server. But that means that backups can't be made to remote file shares, right Also, looking at the SQL documentation, they advice against using "Local System" as the service account for SQL for security reasons. So, two questions>/P> 1) Can I backup to a remote share when SQL Server runs as "Local System" If yes, how I am running in workgroup mode. 2) Can I just change the service account for the SQL Server to a local user account If that same local user account exists on the computer to which I want ...Show All

  • Visual Studio Express Editions installation issues

    I am attempting to install VS2005 on an AMD 533 and get the following error when dbl-click setup "Setup was unable to copy the file C:\Program Files\Visual Studio\setup\DeleteTemp.exe to your temporary directory. Please make sure that this file exists and rerun setup." So there isn't a file by this name in this location. And which temporary directory is it referring to also tried to find log file beginning with dd_ by using a wildcard "dd_*" this didn't work. Thanks for your time You will have to check to make sure that the user that you are using for the setup is a local admin or has full access to the program files directory as well as your Documents and ...Show All

  • SQL Server No more datatype TIME in SQL 2005...what to do???

    I understand that SQL 2005 doesn’t support TIME ( which is, for me, incredibly weird). Now, could anyone please help me solve my problem. I want to make it possible to insert into database a start-time for the first runner in a team. And when he finishes, a finish-time. This finish-time I will also use as a start-time for the second runner....a.s.o. Furthermore I want to be able to get the results from the database to present them in several ways. This also means I can't simply insert the time as a string since it won't change hour at every 60 minutes. I have read somewhere that it should be possible to create own datatypes, but I have absolutely no knowledge to that. Could anyone please help me ...Show All

  • SQL Server Unable to Send mail through Database Mail

    Hi Everybody, I have Windows Server 2003 and SQL Server 2005 Standard Edition 2005 with service pack1. I have configured database mail for a gmail account and i am unable to send the mail. I can use the same account with outlook and SQL Mail successfully to send the mail. I cannot understand why only Database Mail is failing, Here is the error message I recieve: 10/30/2006 11:24:23,,Error,18,The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2006-10-30T11:24:23). Exception Message: Cannot send mails to mail server. (The operation has timed out.). ),688,7,,10/30/2006 11:24:23 AM,sa The complete log file is as shown below: Date,Source,Severity,Log ID,Mess ...Show All

  • Smart Device Development Debugging without ActiveSync -unable to get Visual Studio 2005 to cooperate

    Hi all, I've been trying to debug a Windows CE 5.0 based device with VS 2005. Since this device doesn't have a full serial port or USB client port available, I've turned to debugging without ActiveSync (I did try merging in some AS partnership information from another device into the registry, but haven't quite gotten AS to connect.) I've used the instructions pointed to elsewhere, e.g. http://blogs.msdn.com/vsdteam/archive/2005/04/28/413304.aspx http://msdn2.microsoft.com/en-us/library/ms228708.aspx However, there appears to be no manual startup server option -- VS 2005 seems to insist that ActiveSync be used as the Startup Server/Bootstrapper. When I try to connect after following the above instructions, it always ...Show All

  • SQL Server How to hide a value within a Dimension

    Hello, I am trying to hide a value within a Dimension. Currently, the Dimension contains (NewBooker, RepeatedBooker, Others). I would like to hide Others (so people cannot see and filter on this value) while for Total (ALL)still show the GrandTotal (including Others). I would rename the Dimension name so users would understand Total includes Others. Is it a MDX statement I have to specify at Dimension or Cube level to hide this scenario. Any help is appreciated! -Lawrence Sorry, it was getting late and I was a bit brief with my response. If you only have one level, what I would do would be to insert your own top level and turn off the automatic All level. You either give the member you want t ...Show All

  • Smart Device Development Resend KeyEvent?

    Hello everybody, is it possible to recall a KeyEvent from my application The problem is as follows, I finally managed to override the hardkeys (like the green Talk or the red End button) on the phone. I do this by calling GXOpenInput() from the Game API. This works quite good. To detect keypresses I start a new thread where the program calls GetAsyncKeyState() to detect if a specific key was pressed (i.e. state_F3 = GetAsyncKeyState(0x72) for the Talk-key). The problem lies in the underlying form. Since all keypresses are blocked the form doesn't get notified if for example a softkey is pressed on the mobile. On this softkey a menuitem may be mapped. If this menuitem works as a simple button, no problem, I can invoke the callback function ...Show All

©2008 Software Development Network