Generate A Quality Center Recordset With C#?
Oct 8, 2009
I am converting an application that connects to Quality Center via the OTA API from VB.net to C#. The application makes extensive use of recordsets, but I have not been able to get them to work in C#.pecifically, I have trouble casting Command and Recordset to the correct format for C#. Everything I have tried has failed.Following, is an VB.net example of the code that I need to convert.
Private Function GetRecSet(ByVal Qry As String, TD as TDConnection) As Recordset
Dim Com As Command = TD.Command
Com.CommandText = Qry
[code].....
View 1 Replies
ADVERTISEMENT
Sep 16, 2011
We have developed an application using Vb.net . Is there a way by which we can connect to HP Quality center.We have credentials for HP Quality Center, is there a way by which we can connect to it and access fields
View 1 Replies
Jan 3, 2012
When I call this Messagebox, is it possible to center the Messagebox on the parent form rather than centering it on the center of the screen?
View 2 Replies
Jun 11, 2012
i found this video today and its a simple vb game but made me wonder how they kept the charater centered during movement.url...Anyone have a simple snippet to demostrate how they made a larger resulution then vewable and kept the picturebox centered and only moved the viewable area?
View 2 Replies
Jul 15, 2009
How do you change an ADODB recordset to ADO.Net recordset?
View 4 Replies
May 4, 2012
I'm trying to pass an image showing to the user a countdown. For this, I'm using a separate thread where I'm checking when the countdown timer should be started, and when so, I draw an image for every 6 seconds passed.
What's annoying is when I pass the drawn image to the UI, the quality of the image is changed and it looks bad to the user.
This is my little script that handles the drawings:
Try
remainingTime = (#12:04:00 AM# - (DateTime.Now - local_DateTimeclick)).ToString("HH:mm:ss")
remainingTimeInSeconds = Convert.ToDateTime(remainingTime).Minute * 60 +
[Code]....
Also tried with changing the properties of g, but there was no positive effect.
what can i do to make this properly work without changing the quality of the returned image?
View 1 Replies
Jul 19, 2009
I need to know the best way to print a form in Visual Basic 2008. I have tried to print it using the printform method but the quality of the text is really bad. Are there other ways to print forms that dont involve the printform method and have great quality? I need to print the form the way it looks on the screen(which consists of textboxes,lines,labels).
View 1 Replies
Jul 7, 2010
In the code below if I remove the FillRectangle line the text quality is not good. Why?
View 4 Replies
Dec 17, 2009
How can I adjust the icon quality on a tool bar?
Below is the code I am using to add a tool bar and add the icon to the button. I am having a problem with the quality of the icon. The icon is 32X32 and has looks good viewing in windows explore. When it is viewed in the imagelist the quality is very poor. What can I do?
Code:
Dim tsView_ZoomIn As New ToolStripButton("")
AddHandler tsView_ZoomIn.Click, AddressOf ZoomIn_Click
tsView_ZoomIn.Image = ImageList1.Images(0)
[Code]....
View 7 Replies
Jan 10, 2009
I've developed an application that acquires images from my Logitech QuickCam Pro 9000 using WIA. The problem is that I cannot figure out how to adjust the quality of the image taken by the camera. The camera has a 2MP lense, but the program will only acquire a picture of 320x240 pixels, which is the lowest resolution the camera has. How do I tell the camera to take a picture at one of it's other resolutions? IE: 640x480, 960x720, 1.3MP, or 2MP?
[Code].....
View 2 Replies
Oct 26, 2009
Does the quality of code merged by TFS 2008 depend on the used programming language? I know merging in Java / Subversion, and merging a branch to its trunk usually does not create much conflicts. Now in my company, we use VB.NET. When I merge two files TFS does not always get code blocks right, e.g. does not find the right If..then / end if lines. To give you an example, I mean: File 2 is created as a branch of File 1. Both files were changed later, now I'm going to merge those files and am recieving conficts: The marked end-if lines (1) are detected as corresponding, meaning the added event handler Button1_Click is being deleted.
Now I wonder if this behavior is by language (C# vs. VB.NET) or are other source control solutions just better than TFS? (And I really liked TFS up to now :) )
File 1:
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If Not Page.IsPostBack Then
[CODE]...............
File 2 (Branch of File 1):
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If Not Page.IsPostBack Then
fillTableFromDatabase()
End If // (1)
[CODE]...............................
View 2 Replies
Aug 16, 2011
In Reporting Service, I need to have a vertical, starting at bottom, bottom-to-top, horizontally middle aligned text.The only way to do this is to create an image in code, and set this image into the title column.See the code below.Basically, it works fine, just that the anti-alias quality is pretty crappy.Is there anything I can do to improve it ?The vertical text is somehow pale, and not full black, and also there is smearing all around the text, in the background color.As well as it appears bolder than the text on the left, but both have format arial, size 8, bold I've tried all other values of System.Drawing.Text.TextRenderingHint.*, as well as no anti-alias at all but the current one seems to be the least crappy.I've also tried to change the image format, to no avail:
Function LoadImage2(ByVal sImageText As String, ByVal sImageTextMax As String) As System.Drawing.Image
sImageTextMax = sImageTextMax.PadRight(15)
Dim iFontSize As Integer = 8 '//Change this as needed
[code]....
View 3 Replies
Oct 20, 2009
How do I control the video quality on flash using with the trackbar?
View 12 Replies
May 25, 2011
I'm not sure where should I post this as this is not really related to VB.NET but since I'm always here(in the VB.NET section) I'm gonna ask here.How do I make an icon that won't lose it's quality? I tried so many dimensions already. 32x32, 250x250, 16x16, 64x64.It will lose it quality on Desktop and taskbar. An icon like the IE's, Visual Studio's, Google Chrome's icons.. icons that doesn't lose quality.
View 9 Replies
Nov 17, 2009
I got this code from this forum, it works perfectly but I have a problem where when you resize the images, the quality of the image becomes not as good, is there a way to keep it in the same quality as it is when resizing?[code]....
View 13 Replies
Sep 2, 2011
I want to make a wallpaper changer because windows high compresses the the image so you see artifacts even if already use a jpeg or even a really high quality png or bmp.
I know what I need to do for all of it I just need to know how to save an image to a jpeg without it being compressed. I have tried using the encoderparamters and getcodecinfo aswell as setting the quality to 100 but I still get a really bad looking image in the end.
Is there a way where I can save an image to a jpeg without getting the crappy image quality like with visual basic?
View 7 Replies
Dec 18, 2011
Im Using This Code To Convert Image To Icon , But The Icon File Quality Is Bad, How I Can Increase Its Quality..[code]
View 2 Replies
Sep 16, 2010
I had this question before "Resize image on the fly make the image lose quality online but locally works nice".And what i got now is that it's not a problem of local or online, i ran this resize on the server itself "dedicated server", and i got the same bad quality image, so the problem is in the IIS configurations.What in iis can make this bad quality image happen?
View 1 Replies
May 13, 2012
I need to create high quality icons for my current project in vb.net
This is my code so far,
Private Sub CreateIcon(ByVal bitmapName As String)
Try
Dim fi As New System.IO.FileInfo(bitmapName)
[Code].....
But the problem is it only gives me a very low quality icon at the end. how to make a higher quality image?
View 1 Replies
May 23, 2010
is there any buffers i can use to make my animations look smoother rather than the quality of the pictures?
View 3 Replies
Mar 1, 2010
I'm using below code 2 add image into a picturebox during the run time. i could add image but when i clicked the picture to make it become smaller, the picture quality is blur which not as the initial picture.
[Code]...
View 4 Replies
Mar 26, 2010
I'm using iTextSharp to print a PDF document. Everything goes ok until I have to print the company logo in it. First I noticed that the logo had poor quality, but after testing with several images, I realize that was the iTextSharp rendering it poorly.The test I did to say this was to print the PDF using my code and then edit the document with Acrobat 8.0 and I drew an image. Then printed the two documents and saw the noticeable difference.My question is that if anyone know if this can be due to a scaling problem where I'm failing to tell iTextSharp how it must render the image or is an iTextSharp limitation.
[Code]...
View 3 Replies
May 19, 2012
No I understand that if I drop the Shockwave Flash Object onto the form, on the right dock I can change the quality, I can also re-size the object to whatever I wish, but is there anyway to manually reduce quality so say the pixel count is much much much less, like 240p or lower, if the video is by default 720p through code? As if to change the amount of pixels being shown on the video to reduce lag when multiple flash objects are playing.
View 3 Replies
Oct 20, 2009
How do I control the video quality on flash using with the trackbar?
View 3 Replies
Oct 30, 2009
I have a routine that creates a report which includes text and graphics. When I print to a PDF or printer the output looks great. When I draw the report on an image to save as a PNG, GIF, JPEG, etc. it does not look as good and I understand that is related to the 96 dpi native resolution. However, I made some modifications, and even though the graphics part of the image looks better, the text does not look as good as the PDF. I am creating the image using 300 dpi and text rendering is set at the highest quality.
[Code]...
View 15 Replies
Mar 2, 2012
I'm just curious how I get Windows to use the high quality cursor when dragging and dropping in my WPF application. What I mean by high quality is: Rather than the regular arrow with a rectangle. I tried using e.Effect but that didn't do anything... Am I doing something wrong? Or is this just how it is in WPF.
View 1 Replies
Aug 26, 2010
There's a really simple way to convert images to icons:
Dim icon As Icon = Icon.FromHandle(bmp.GetHicon())
It also produces really horrible icons. Is there a better way to convert them, or more accurately, what is the better way to convert them?
View 5 Replies
Mar 19, 2010
The Vb.Net application creates a bitmap from scratch and either converts to a tiff or sends it to a printer. In both cases, the quality of the image (in this case the font) is not good at all. The sample code listed below creates the graphics object that I use to write to the image.
Dim gr2 As Graphics = Graphics.FromImage(New Bitmap(800, 1000), Imaging.PixelFormat.Format32bppPArgb))
[code]......
View 2 Replies
Dec 28, 2011
Currently, Smart Indent in VS 2010 is giving me lots of headaches. Everytime I try to put each parameter of a Sub or a Function into one line like
Private Function Foo (ByVal a As String, _
ByVal i As Integer)
[code].....
View 1 Replies
Dec 6, 2011
I am calling the OTA API from HP Quality Centre and one of the calls requires sending a NULL. This is the actual line of code:
stepF.AddItem(NULL)
This works perfectly in VBA and VB6 but VB.NET doesn't accept Nulls. Anyone know how to fix such an issue?
View 4 Replies