Reduce The Size Of A DataGrid Row In VB?
Sep 6, 2011I am using a DataGrid in VB. I have to reduce the default height of a row. How might I do this?
View 1 RepliesI am using a DataGrid in VB. I have to reduce the default height of a row. How might I do this?
View 1 Replieshow to reduce file size? for example : i have a video file that size 13MB now, i want to make the video become 500kB even if the video become shorter thant the original. because i just want a little size of it.
View 6 RepliesI have a system in VB.Net 2003, and that system takes a very long time to load. From the minute I click on the EXE, it takes one minute before the log in screen appear (P4 with 1GB RAM, no other application running). The size of the EXE is 33.2MB. I think the problem is the way I code the program, 1) I declare all the form as obj when I first load the system and I've got over a hundred forms. I try to load them as I need them but it does not work cause forms with sub form would give me an error. 2) I am using dataset as we know dataset is not very efficient but I don't know how else to connect to the database. Is there anything like ADODB in VB6?
View 2 RepliesIs there any way to reduce the size of a .pst file using Microsoft.Office.Interop.Outlook(programmatically start PST Compaction)?
View 1 RepliesI am using VS2010 and have an application that lets the user search for an image to store on a SQL database. I want to be able to reduce the size of the image when it passes certain size for obvious reasons.
View 1 RepliesHere's my scenario:
1) The user places a handful of image files into a given directory. Could be bmp's, jpg's, etc.
2) The images files will be saved into a 2nd "temp" directory and reduced down to a size reasonable for e mailing (ie. 200kb per file). I'm assuming they will end up as jpg's, so if they start out as bmp's they will need to be converted.If they start out as jpg's, and are just too big, they will need to be shrunk proportionately (ie. if they start out as 12 inches by 18 inches, they will end up as 6 x 9, or something like that).
I've found various bits of code on this forum (and others), but want to hear some opinions about the best way to go about it, assuming there might be as many as ten or twelve files that need to be manipulated. So should I read something into a memory stream (haven't tried that before), or create bitmap objects (seems slow?), etc.
I have wrote this code to capture image of desktop and save it somewhere!
i want to know how can i reduce the size of it[code]....
how i can reduce image size to save in a database.
View 3 RepliesI have a database designed and implemented using ms sql server 2005. initially, the user has entered the pictures with a very big size because there was not restriction. now when the user is opening the crystal report so it takes alot of time and some time memory full problem occur. now i want to reduce the stored images size using vb.net. is it possible? can you help me.. because there is nothing impossible as per my experence.
View 5 RepliesI have a database application in which a user can add up to 6 pictures to each record. This pictures are not directly saved in the database but in a sub folder of the applicvation folder. Now, the problem is that lots of the pictures of users were taken on a digital camera with highest resolution - in these days it means that the picture files have a file size of 3MB.I would like to reduce the file size / resolution of the picture, so that the database can load and view this files more smoothly (I am not in need of a thumbnail preview, just want the pictures being a bit smaller).
The way pictures get attached / linked / 'inserted' to a database record is via OpenFileDialog. When a user selects a picture file it gets copied into the applications picture folder and renamed to the record ID of the actual record + number of the pic added.How could I reduce the picture size during adding it (OpenFileDialog / copying to folder)?
That's the function i coded to reduse the quality of an image but its a complete FAILURE it doesnt even make sence (It firstly takes a screenshot of the desktop)
Public Function GetScreenshot() As Bitmap
On Error Resume Next
For Each MainScreen As Screen In Screen.AllScreens
[Code]....
How can i achieve a ( 800X600 / 256 Colours ) Image to have the lowest file size possible? Yeah 70KB --> 30KB makes a HUGE! difference. 30KB IS PERFECT!
i`m wondering if there is a way to reduce the size of a saved recording video (.avi)For a 4 sec video the size is 40 MB!
View 6 RepliesI have a big windows forms project I'm working on. This project has 3 pictures included as resource. I had 3 pictures of each 5mb, which resulted in a .exe file of 17mb. This had to be adressed, because thats a bit to much, so I downsized the pictures to about 100kb each. I've removed the big pictures, and inserted the new ones. But when I compile the project, the .exe file still is 17mb, and it won't get any smaller. I've tried to 'Clean Solution',
View 3 RepliesI want to programatically delete some pixels that are unused in order to reduce the image size.Can anyone tell me how to reduce the size of an image file without changing the pixels values..
View 1 RepliesHow to compress large mp3 files :
I want if i have a 5 mb files then it can be converted to 1mb or low ...so that the high beats and music would be very low.
i want the coding for that in vb or vb.net ?
I like to compress the xmldata before the data is provided to the client as an excel file. I am trying to compress and deliver it as a .zip file. its not working Here's my code below. I tried compressing it, converting it to bytes etc etc. The issue with below code is, the XSL transformation is not happening properly and the output excel file is raw xml with some .net exception at the end. (that's what I see on the .xls file that's downloaded at the end) Before I started working on compression my below code was working fine that gives properly formatted excel file from the xml input. the excel file is so nice you can't even tell it was from XML.
[Code]...
I am developing a VB.NET app which returns data to a DataGrid. Everything works correctly now except for one thing. I want all of the blank white space below my datagrid to not appear, so that users don't have to worry about scrolling down the page. Currently, it shows the DataGrid correctly, with a scrollbar and this grid takes up about half the height of my monitor. But then there is alot of empty white space below this grid. How can I remove that?
Here is the end of my ASPX file:
<head>
<title></title>
[code].....
How can I autosize my datagrid size depending on my rowcount?
View 1 RepliesI have a datagrid where the first column is for image button for expand purpose. The visibility of the image depends on some conditions row by row. I am trying to handle this in ItemDataBound event, and using e.item.cell(0).findcontrol("imageButton").visible = false. The first cell of this row therefore disappears even that the size is specified in the ItemStyle tag.
View 3 RepliesNow all went well about from using the structure correctly. The working of the structure was perfect. How ever i missed Two important issues. The structure needed a fixed size of 10 items (9 in programming terms starting from 0) And also out of the 5 items allowed to be chosen as one of the member types for the structure a limit of 5 items of that particular type.
[Code]...
I am creating a windows mobile application .I have an extraordinary amount of if/else statements, I have tried the switch/case statement [code]...
View 1 RepliesIs there anyway of reducing the opacity of a form to 80% but at the same time have my buttons and text boxes to remain unhindered at 100%? When I reduce the opacity of the from the opacity of the text boxes reduce as well. How could I stop this from happening
View 5 Repliesi need to reduce an amount of time by x% this is what i have so far [code] as u can see ive taken the hours minutes seconds from the time and stored each in a seperate variable so from 02:30:00 i then divided the hours by 60 and then 60 again to give me the total seconds in the hours and then divided the minutes by 60. i then added all 3 to give the total amount of seconds so now the buildtimetotal variable now holds the total in seconds i now need to reducce this by x% all vars are dimentioned as integers except for buildtimehoursback which is a double the problem seems to be when i try to convert the total seconds back to hours minutes seconds.
View 3 RepliesI'm using the code below to convert the file size in bytes (test file is 31718 bytes) to KB (30.974609375 KB) but I want to display this to one decimal place (i.e. 30.9 KB). How would I do this in VB.NET?
View 3 RepliesHow to reduce form flick?
I have a tab, which has an image in it. When an user double click, I need make the panel in that tab invisible and show another image (within the same tab). I finished it. but when I make the panel invisible and image visible, the screen flicks, and it shows a black background tab for a about 1/2 or maybe 1/4 seconds.
I have a school project. by selecting an item from combobox it will show 2 pictures and 2 labels. I used a select case first but it didn't work; only for the first item ;do i have to make every pictures and labels invisible which are 30 controls and repeat it in every index? I try the if else but it did not work too.[cod]
View 4 RepliesI found what seems to be an easy and effective way to reduce the memory consumption of my vb.net app. What I need to know is how "correct" or "proper" is the method I'm using for my application and what exactly is going on behind the scenes that I should worry about? I want to release memory every time a form closes. Here is how I reduce the required memory of my program:[code...]
View 7 RepliesI have a requirement to consume only the latest two rss feeds (using .NET) to reduce latency in reading RSS. I found plenty of examples to consume RSS. However, I did not find any to limit the feeds being read. And, this is not for a windows forms application.
View 2 RepliesI created setup file by setup project. I attached with mdf, ldf files in it , SO CAPACITY OF IT AFTER PACKING IS QUITE BIG.I want to reduce its capacity. How can i do that I see some other Setup projects which have attached with mdf ,ldf files but It is not big as SetUp file of me.
View 2 RepliesI use the following code to fill the Table1 dictionary with the information found within the LINQ query.[code]....
View 2 Replies