I have a flash movie that is bigger than the axShockwaveFlash placeholder that plays it. The axShockwaveFlash placeholder expands to the size of the movie.
I have found a website at [URL] but asp is totaly different from c#.
How can I make the movie shrink to fit in the axShockwaveFlash placeholder?
I am creating small application using c#.net.I removed all image tag using regular expression no I want to remove all video file and flash file also in source code of webpage.
so far I have tried this ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text;
I have this code here that counts the number of alphabetic letters the user's input,the number of characters total, the number of words and the number of "the" that was used. However now I need to alter the user's input to have two spaces after the end of each period, no spaces between a word or comma and each sentence has to have a capitalized letter and display them at the end. And I'm stuck on the altering part. I briefly started the 2 spaces after each period but it won't display anything.
#include <cstring> #include <iostream> using namespace std; int main ()
Is it possible to alter an error message for a particular line if you think it might fail compilation? GNU specific stuff is okay. The reason I want to do it is because I have this code.
If the arrays config::input and config:utput are different sizes, I want it to be clear that that's what needs to be fixed. Is there an __attribute somewhere that will allow me to do that?
I am having difficulty with arrays because of the limitation of the size of the arrays that I can declare. I need sizes that are very large and windows or C# does not allow me to create bigger than the following for example:
public static int[] gaPoints = new int[20000000000000000000 + 1];
I get an error message saying that "integral size is too large".
I need to be able to declare sizes that are even much larger than the abovementioned size.
how to split a file in equal size and when clicking on split button it split the files as well as encrypt split parts and the size information are automatically stored in groupbox and save all splitted files in folder.
How to measure a NAS (NTFS) free space/total space and used space? Few more details: I have the needed code to map the NAS location (serverNameshared_folderfoldersub_folder) into the local server where I am running my applciation but I can only get the needed statistics above for the whole NAS, I need to know the statistics for a specified folder on the NAS, how can I do that?
I've created a solution who exported Access reports (graphics/tables) to a Word- and a PDF-format. Therefor I use PDFSharp and PDFFocus.
The PDF document is okay. But the Word-document looks good. Only the size of the Word-document, it has to send by e-mail, is much too big (17MB).
I have to open the Word document again to change the PageSettings to be sure, that the page-margins and the print orientation are correct.
using System; using Microsoft.Office.Interop.Word; namespace PageSetup { class TestPageOrientation { static void Main(string[] args)
[Code] .....
I don't know how it works in the Word-library source. But I've tried WdOrientation.wdOrientPortrait and once I was surprised. I saw this page in Landscape-format.
I think there is something wrong with my document sections, because the documents (with a lot of tables, graphics and a image) is much too big. And that's only after using this method.
So my next question is: How can I shrink the size of this Word document?
And what do I have to do to limit the amount of format-settings in this word-document?
I'm currently involved in an embedded (cortex M3) C++ project where we're about to run out of flash.
A quick check of the map file give that, in our case, the destructors consume about 10-15% of the available space. Since we're allocating all things that are needed at startup but never delete anything (both a requirement & also impossible due to the lack of a proper memory manager) the thought of getting rid of all destructors in the target build is appealing.
I know that this question is somewhat crazy/desperate but is there a safe way of telling gcc not to emit any code for destructors? If so, can that be made in such a way that a linker error catch for instance mistakes such as creating an object on stack?
I have written some code to make two partitions in USB flash drive. When I ran it I am not able to make partitions on usb. What'll be the problem in this code.
Code: /-------------------INITIALIZE AND PARTITION-------------------------------// #include "stdafx.h" #include <Windows.h> #include <stdio.h>
I am trying to write a to a specific sector in a flash drive. The problem is that it will only allow me to write to sectors 0 to 15. When I try sector 16 or higher nothing happens, but in sector 0 to 15 is is working fine.
#define BUFFER_SIZE 512 int main(void) { FILE *volume; int k = 0; long long sector = 0; char buf[BUFFER_SIZE] = {0};
I want to read a file from my flash drive called text.csv. However, I cannot even open the port where my flash drive is connected. This is the code that I am using, but I get error since the first part. When I run the program it says "fopen Error". I am using Ubuntu 12.04.
My specific request is for retrieving values that are stored to a CompactFlash card. I am able to store values (we call them recipes) to the CompactFlash card as .csv file. I just haven't been able to figure out the code to retrieve this information back to the touchscreen.
Code: // Create a new folder if it doesn't exist CreateDirectory("/recipes"); //Create the file if it doesn't exist CreateFile("/recipes/recipe.csv"); //open the file hfile = OpenFile("/recipes/recipe.csv", 2);
[Code]....
Now with that said, I would like to retrieve these values from the .csv file.
I'm making a flash card type console application using visual studios 2013. The flash cards contain character that I can display using unicode. So far I am looking at about 200 characters across 2 unicode blocks which I don't want to hard code into my arrays. I thought of initializing my arrays using a loop. The only problem is I don't know how to add in hexadecimal. So is there a way to initialize my array without having to input 200 values my self? Also is hexadecimal addition possible without me having to write a function for it?
comparing with screen size the height is bigger but lenght is smaller. I don't understand.
I can understand that different printers process the fonts in different way and then to have different lenghts. That's not the problem. The problem is I need to simulate in screen the same behaviour i will have on printer because these texts are being aligned in the document, and I don't want to see that the text si aligned different in text than in paper.
What can I do to render the text on screen with the same size I will have on the printer? Print preview is doing it. Should I change the font parameters? is something related with pixels per inch?
I was wondering why, in C, the sizeof of a struct is larger than the the sum of all the sizeofs of it's members. It only seems to be by a few bytes, but as a bit of a perfectionist I fine this a bit annoying.
I've been looking into the file structure of BMP images and everything I'm reading says that the 4 bytes following the signature are designated as the filesize of the bmp file... It's always zero for me regardless of the BMP file. The signature is always correct though.
I'm trying to put all of the words in a text document into an array but this text document is 2,138 kb, and when my program is crashing when I try to put it into an string array. Could the file be too big to put into the array?
The problem is with that a. What is it, a pointer? What's the difference between the a in the main function and the a in the function?
#include <iostream> #include "Header.h" using namespace std; short int capacity(int* a) { int capacity;
[Code] ....
The function it returns i think the size of the pointer instead of returning the size of my array. I don't think i fully understood pointer arithmetic.
int numbers[] = {8, 2, 0, 4, 100, 5}; for(int i = 0; i < sizeof(numbers); i++){ cout << numbers[i] << endl; }
However the results in the console is: 8 2 0 4 ,What am I doing wrong? Am I using the wrong built in function or something? I googled this and one of the links that came up stated to just do something like
arrayName.size()
but that didnt work for me either...
[URL]
Also, I know that I just enter the size of the list manually, in this case make i < 6 but I still want to know if there is a built in function or something.