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

Software Development Network >> Roman Gil's Q&A profile

Roman Gil

Member List

Vertexwahn
BrentNewbury
jlento
Ravengbc
zorleo
Canito
KaBob
JimmyDe
Penny Chiu
VKT
Imad.Ozone
KC sharad
Roman S.
slavapvf
pbjorge12
colecovizion
ArvindAg
Maojiu
Peter Vrenken
Peter Manse
Only Title

Roman Gil's Q&A profile

  • Smart Device Development Bluetooth Printing Bitmap

    Hi there, im currently developing an application which prints to a Zebra QL320 printer via bluetooth. im using Opennetcf's bluetooth and socket libraries. So far i can discover the bluetooth devices available, and also print text and barcodes, using the StreamWriter class with a combination of CPCL (printing language), However i need to be able to print a signature which i capture on the device. The signature is captured and saved as a .bmp(bitmap) Here is where i'm cannot get past. The data needs to be sent out in HEX or Binary, both may work. So how can i read the bitmap and send it to the printer as HEX or Binary, or even capture th ...Show All

  • Smart Device Development SmartCard Problem

    Hello, I try to access a smartcard through the winscard.dll. I always get an error: SCardEstablishContext(nContext, nNotUsed1, nNotUsed2, Me .nContext) This returns -2146435043. I cant find any help for this errorcode. Can you help me Thank you in advandge, Daniel Which device are you using and what kind of SC reader Do you have all the drivers installed Any utility and/or samples from SC reader manufacturer functioning properly ...Show All

  • .NET Development ASP.net File Upload

    I am having an issue uploading a file to specified folder on my harddisk. I get an error saying that Asp.net does not have access to write in this folder. I add the permissions to the folder and then remove the "read-only" designation from the folder. When I close explorer and look at the properties again, "read-only" is again checked. How can I get my changes to stick so I can allow ASP.net (1.1) to write to the given folder Firstly, do you have Privledges in your Windows account to allow you to write to disk Secondly, I think you need to add the permission for the ASP NET user on th ...Show All

  • Visual C++ ATL80.DLL from VS2005 RTM won't start on NT4

    If an attempt is made to load the RTM ATL80.DLL on NT4, an error message is shown complaining that the import GetLongPathNameW could not be found in KERNEL32.DLL and as such, the process cannot start. As the MSDN docs for GetLongPathName() show, it's very simple to work-around this problem in source-code (ie static library) by including NewAPIs.h.  However when linking with ATL80.DLL this solution is not possible, since ATL80.DLL does not do this, and I can't make it do it without re-compiling the DLL. So why not just link with ATL statically   Well, I have just added support for ActiveX control containment to my app, which ru ...Show All

  • Windows Forms binarization

    is there a library for binarizing gray scale images wow - ... I wish I had that kindof brain capacity. ...Show All

  • .NET Development What are acceptable Data Source entries ?

    I have been trying out the 101 Samples for VB VS 2005 and have experienced a problem which my ignorance of VS2005/SQL 2005 is giving me a bad time. The Data Access sample for Reading and Writing Images to a SQL Server 2005 database has an Application Connection String setting (app.config) to attach to the MyImages.mdf file. The Data Source attribute in the Connection String is set to .\SQLExpress. However, if I leave it as this I get a Timeout error when trying to run buld and run the sample application. The data connection under Server Explorer has a red cross against it and it won't let me Modify the Connection using .\MSSQLSERVE ...Show All

  • Visual Studio Exec task with ContinueOnError=true

    I'm using an MSBuild build script as part of a continuous integration scenario. Part of the script is a target that runs unit tests with NUnit, using a batched item group that specifies test assemblies. The target contains an Exec task that runs the test runner application. Since I want to run all of the tests, even if some of them fail, I specify the ContinueOnError option on the Exec task. The problem is that even though some tests fail, MSBuild sets the DOS errorlevel is set to 0 after the build finishes, which screws up the continuous integration server (it thinks the build succeeded). If I change ContinueOnError to false, then it sets ...Show All

  • Visual Basic VB 2005 Compiler Optimization Discussion

      There's been something percolating in the back of my mind. I come from a computing environment that preceeded windows and the Intel Architecture and instruction set. n comparison to the instruction set that i'm used to, the Intell instruction set looks like a house wreck which may or may not be important to the discussion at hand. Everyone knows that moderators agree on everything and that in moderator space we just stand in love circles and sway back and forth. So when I was discussing a compiler one day, I said I really admired a language which had a seven pass compiler. "Nonsense", was the response, "two will do it." Wi ...Show All

  • Windows Forms DataGrid word wrapping

    Could anyone post an example os a word-wrapping datagrid If not, and because I need to implement it, I'd like to know where the row height can be altered, since that all i need to override the Paint event of DataGridTextBoxColumn object. I've been looking for hours trying to find it without success, and it MUST be saved somewhere, as it's somehoe pres ...Show All

  • Windows Forms Printing HTML documents other then the default printer

    Hi Everybody, Is there any solution for using other printer then the default programmatically when I use the ExecWB of the WebBrowser Control (I can reach it using an IWebBrowser2 wapping interface on the ActiveXInstance property of the class WebBrowser. This is needed because I have to use print templates.) It is needed to start printing of html pages on concurrent printers by a .NET Server Application or ASP.NET Web Application. Manual selection of the printer is not applicable. This is because there is strict printing policy for these documents. Or, is there any html printing solution out of using the Web ...Show All

  • SQL Server Login failed for user '<<domain>>\<<server>>$'.

    I am working on asp application which basically is an interface to the report server. I am currently unable to determine the source of the problem so it may have nothing to do with reporting services. Currently the back in off this application consists of a reports and web server on a machine named tango and a SQL database server on a machine named tango. The SQL logs show a failed login for user organization\polo$ (organization is a made up domain as i don’t what to give away where I work). There is no logon in SQL for the user polo$ and as far as I can see there is no user polo$ in the domain. Has anyone seen this before Can anyone a ...Show All

  • Visual Studio Express Editions Trying to Save VSExpress Programs _ Thanks

    Hello All, Have been searching for a way to reinstall VS Express Editions after reformatting drive, without having to re-register. I believe I found the answer on this site at one time but have since lost it ( forgive me for asking a quest'n that's already been answered ) . Something about saving a file as .old or something, Thank You for any help. <<< " Man I Love This Stuff ! Programming _ The NEW Drug ! " >>> Let me give that a try again, it may have been I burned the preinstall ( 50+ meg) setup & had to register after install. Don't think I ever downed an offline CD. ...Show All

  • Visual Studio LocalReport.GetDefaultPageSettings NOT return correct RDLC values.

    Hi, How do I go about printing a landscape rdlc, the LocalReport seems to like portrait, I can flip the device info's width and height, but there must be a proper way to accomplish this. any help would be appreciated, also if I need to rely upon changing the DeviceInfo where would I find the properties of the rdlc that tell me its landscape. If I examine the LocalReport even with a rdlc landscape version, it thinks it is portrait.. I noticed that LocalReport.GetDefaultPageSettings returns a "ReportPageSettings object which also has two non-public variables called: m_pageHeight and m_pageWidth, both of these variable contain the correct ...Show All

  • Visual Basic Concentation

    Hey Guys and Gals, Is there any way to deconcentate a numeric variable and a string literal. This is what I'm Trying to do: I'm taking the value of a textbox, turning it into a numeric variable and then displaying it in a label and concentating a string literal via code yearsOldInteger = Integer .Parse(yearsOldTextBox.Text) yearsOldLabel.Text = yearsOldInteger & " Years Old " Now this works fine but I need to use the numeric value (before I added the string literal) of the yearsOldLabel.text in another arithmetic function in the very next statement but I turned it into a monster. Is the ...Show All

  • Visual Studio Express Editions Adding new fields to an SQL Express table

    I recently completed a single table form using the wizard and then dragging all the fields to my form. This works great, I can move through the data fine. I was informed by the powers that be that they want to add 5 new fields to the table. I did this using the database explorer and then re-ran the wizard to create the dataset. I then added the fields to the form but when I run the program I get an exception that states the added fields are invalid. What must I do to add these fields short of scrapping everything and starting over Thanks, Mark Hello Mark, if you have the database file as part of your projec ...Show All

©2008 Software Development Network