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

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

CostasZ

Member List

SarahB123
AmrishDeep
rwbogosian
Indigox3
Adam Weigert
Ben Levy
Michael Schwarz - AjaxPro
hr0nix
project2n5e0o1
Coach24
Sriram Rajamanuri
Duncan_311
SanthaMind
Imran Hameed
Eric Cann
Tridex
Ver Argulla Jr.
dagjo
Tzal
cb3431
Only Title

CostasZ's Q&A profile

  • Smart Device Development IO.Ports.SerialPort - issue with .BytesToRead and DataReceived Event

    Hi Folkes! I'm currently developing an infrared IR-communication software for PocketPC's with Windows Mobile 2003 SE and Windows Mobile 5.0 The communication is based on:    PocketPC virtual serial-port --> IR    and    IR --> Device serial-port. I wrote a communication-library for windows first, which worked perfectly with a real serial conncetion (no use or IR). The same code should work for the virtual serial-port and IR, since it's only a simple IR serial-bridge. Here comes the issue: It's possible to write data from the PocketPC to the device with .Write() It's possible to read data from the device with .Read() and similar. BUT: it's not possible to dertermine how may b ...Show All

  • Visual C# C# and Outlook Email

    I want to open an outlook email message in my c# windows form, and I want to know if there's any sort of outlook event that I can use to tell my code if and when the email is sent, so I can then do other things that need to be done if the email is sent (like log it in a database that it's been sent). Hi! Perhaps these two links can help you: http://dotnetjunkies.com/Tutorial/2E1EEEAF-C78A-4A38-A830-AC204B12DF83.dcik http://www.c-sharpcorner.com/Internet/SendingEmailsThroughOutlookCB.asp Regards, Marco Minerva, marco.minerva@tiscali.it http://blogs.ugidotnet.org/marcom ...Show All

  • SQL Server Best Practice Analyzer for SQL Server 2005?

    Hi everyone, a long time I was using a nice tool called "Best Practice Analyzer Tool for SQL Server 2000". I would be interested whether this product is or will be available for SQL Server 2005. Does anyone knows something about it Regards, StSt Hi, Microsoft is currently working on a BPA for SQL Server 2005. There is no release date known (at least not public). Just a little patience ;-) Regards ...Show All

  • Windows Search Technologies Why would anyone want to install WDS 3 instead of 2.6.x?

    Is it just me or does WDS 3 just seem broken I am trying to understand why I should install WDS 3 when it seems that many features I use each day have been removed. Examples include requiring an add-in to search UNCs, no Group Policy support, no PDF iFilter. Another problem is many of the iFilters I currently use don't work with WDS 3 like the old PDF iFilter. Does this mean that Search in Vista is just as broken Someone indicated that there was a whitepaper or document explaining how to chose the version to install. Does this document really exist --Greg David, Will we be able to exclude folders again THIS IS COMPULSORY! When you have 8 years of email and are registered to 30+ li ...Show All

  • .NET Development Computed Columns in TableAdapters / found work-around

    Hello, I'm very frustrated with the TableAdapter created by the dataset designer in Visual Studio 2005. Here's my problem: My select statement is just a select * from X. Some of the columns are computed columns, and should not be included in the update or insert commands. However, they are. I can't seem to get it to not include these columns in the update and insert commands without removing them altogther. This problem did not exist in 2003. Any advice Thanks, Bryce Hi, If I am not misunderstood your question then what you want to do is auto update to database using dataset. If this is the requirement you can update the insert and update statements of adapter so that whenever dataset ...Show All

  • Visual C++ Visual Studio features - gone in later versions

    I'm trying to figure how to do certain things in a later version of Studio that I could do in VS6 but don't work anymore. Such as (a) dismiss the compilation output window just by hitting ESC, and (b) identifying the exact path to a given source file. I switched from 6 to .NET a couple of years ago, and have regretted not knowing how to make .NET behave like 6 in these particular areas. Aha. I got it. The build output window got "pinned". Unpinned, life is good again. Boy is that stupid of me. Anyway, I'm good now. Thanks - ...Show All

  • .NET Development How to randomly delete 1 row from a DB ?

    Hello, I'm writing a program with the help of VB 2005 Express. It is connected to a DB using SQL Express Server 2005. In my program I want to randomly delete some rows from the table. I use the VB code: Dim WhichOne As Integer = rnd() * 40 (where 40 is the amount of entries in the DB) Dim DeleteQuery As String = "DELETE * FROM Table LIMIT '" & WhichToDelete & "', '1'" Dim DeleteCommand As New SqlCommand(DeleteQuery, myConnection) DeleteCommand.ExecuteNonQuery() If for example WhichOne = 17, it should execute an SQL query: DELETE * FROM Table LIMIT '17', '1' Which imo should delete the 17th entry in the table. Now I get an error on the execution of the SQL command, but what is it that I'm doing wrong ...Show All

  • .NET Development Extern DLL returns Struct ??

    Dear All, To be clear: I never tried to access external DLL before, please kindly help, thanks! I have a RFID reader/writer which comes with a VB sample app and 1 DLL. I uploaded the DLL, VB6 Demo Program to: http://upload2.net/page/download/85QQgLnx7PVagMp/RRD-HEVM.zip.html The DLL could NOT be imported into VS2005 using "Add Reference" The (working) VB6 sample code to call the DLL: Public Declare Function DeviceInfo Lib "Prr8310lib.dll" (ByVal hCom As Long, ByVal Addr As Byte) As DevInfo The DevInfo is : Public Type DevInfo '// Sw_Rev As String * 50 ' Device Software Revision '// D_Rev As String * 50 ' Device Hardware Revision '// Hw_Type As String * 50 ' Device Hardware ty ...Show All

  • Visual Basic tables

    Hi there Until recently I used RapidQ basic to produce my number crunching applications. The move to VB2005 was dead easy. There is however one feature / keyword I badly miss. In rapidq there is the StringGrid control, where you can print, for example, the values from an array on a GUI. Once you set-up the stringgrid, writing into it is a simple as: stringgrid.cell(xy) = str$(value) By comparison, generating a table in VB2005 is very difficult. Any suggestions will be appreciated. Hey Nog, Note that this is a historic thread and topic... the thread has almost 39,000 views. My post is right at the end. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=7228&SiteID=1 ...Show All

  • .NET Development DataTables and SQLDataAdapter events can trigger eachother causing additional hits to the Database

    I've noticed when doing inserts and updates to a SQL database from a DataTable, the SQLDataAdapter will AcceptChangesDuringUpdate and AcceptChangesDuringFill. This is a great feature, except when the data values come from the database such as a Primary key for a new row or default values when no value was specified by the end user, then this causes another RowChanged event to fire and the Update back to the database is called because the RowState is set to Modified when the DataTable Row is updated with the new values from SQL. I'd like to be able to halt notifications on a DataTable under certain circumstances such as while I'm executing an SQLDataAdapter.Fill(dt) or on some other unknown occasion... Is this currently possible or wi ...Show All

  • Visual Studio Express Editions copyFiles function

    I am trying to write a function that copies one file to another destination. I don't know if this is the right way to do something like this or not or if there is already a function that takes care of this i don't know I just thought it couldn't be that hard to write my own, but I can't quite figure it out. Any help here would be great. here is what I have so far. bool fileCopy(string location, string path) { fstream inFile; fstream outFile; outFile.open(path.c_str(), ios::out | ios::binary); inFile.open(location.c_str(), ios::in | ios::binary); char buffer[16000]; if (inFile.is_open()) { while (!inFile.eof()) { inFile>>buffer; outFile.write(buffer, 16000); } inFile.close(); o ...Show All

  • Visual Studio Team System TFS Error 28925 during installation ?

    Hi, I'm trying to install a TFS on a workgroup, so single server (Win2k3 with SP1). IIS, SQL 2005 (using Local Service) and Sharepoint are successfully installed on the server (including the .net2 hotfix and reports server hotfix given with the CD). Then, I have created two users : TFSService (member of Users on the server) and TFSReports (member of Administrators on the server). Now the last step : installation of TFS. Unfortunatelly if doesn't work. During the installation, I have this error : Error 28925. TFServerStatusValidator:Calling the Team Foundation Server ServerStatus Web service failed. When I'm checking the log file, I found this : 09/06/06 17:57:03 DDSet_Status: Commandline '"D:\Microsoft Visual Studio 2005 Team Foundation ...Show All

  • Visual Studio 2008 (Pre-release) Imaging::CreateBitmapSourceFromHBitmap() bug?

    Hi, When beta2, I use Imaging::CreateBitmapSourceFromHBitmap() to create BitmapSource, it works. But after I updated June CTP runtime, I get a transparent bitmap. Is it a bug or the behavior changing code snippet: BITMAPINFOHEADER* bihPtr = /* get from other module */ BITMAPINFO* bitmapInfoPtr = (BITMAPINFO*)bihPtr; /* biBitCount is 24 */ HDC hdc = ::GetDC(nullptr); HBITMAP handle = ::CreateDIBitmap(hdc, bihPtr, CBM_INIT, bitmapInfoPtr->bmiColors, bitmapInfoPtr, DIB_RGB_COLORS); ::ReleaseDC(nullptr, hdc); BitmapSource^ bitmapSource = Imaging::CreateBitmapSourceFromHBitmap(IntPtr(handle), IntPtr::Zero, Int32Rect::Empty, BitmapSizeOptions::FromEmptyOptions()); if convert to Rgb24 with Form ...Show All

  • Visual Basic Need help with this

    Randomize() results = Int((10 - 1 + 1) * Rnd() + 1) lblL1.Text = results I want the value of lblL1.text to be what results is. you have done that...what doesnt work more correctly: Randomize() Dim results as Integer = Convert.ToInt32((10 - 1 + 1) * Rnd() + 1) Me.lblL1.Text = results.ToString() ...Show All

  • Microsoft ISV Community Center Forums Excel Chart: How to change chart data source formula when object "Series.Formula" is too short?

    How to change chart data source when Formula object is too short I know that: I can assign data source 1) Series.Values=Range(...) - suitable 2) Chart.SetSourceData souce:=range(...)... - suitable 3) Series.Formula/FormulaLocal="" - not suitable because string is too short I can read data source 1) x = Series.Formula/FormulaLocal - not suitable because string is too short The question is: How to read data source not using Formula object Jon, Thanks so much! I don't know how long it would have taken me to discover this technique. Thanks again!! Greg Shearer ...Show All

©2008 Software Development Network