arcon5's Q&A profile
Visual C# get access to a components properties by the components name
Hello first, I'm just starting in developing applications with visual studio .net and starting with C# as programming language. This is only to explain my (maybe) silly question. What I want to do is, accessing a components property by using the name of the component in a string e.g to change the text property of a component with the name "button1" by using the name. I'm just thinking of something like Form1.ComponentByNam ...Show All
Smart Device Development Service Or task for Windows Mobile 5.0 in C#
Hi, I 'd want to know how to build an application in C# which can be launch at the startup of the smartphone, and which is excuted in background, like a service or a task for Windows. This application will sometimes takes a look if there are pictures in a directory, and if yes, send it by GPRS. I have already done the application which send files on FTP server. But with this application, i have to take the picture and wait the end of th ...Show All
.NET Development Zip and Gz Files
Hi all, hope somebody can help me. I'm writing VC++ code with java::util::zip lib; when I manage zip files everything is fine and this code works: XmlReader^ xread; ZipFile^ zf = gcnew ZipFile(tb_template->Text); Enumeration^ es = zf->entries(); ZipEntry^ ze; while (es->hasMoreElements()){ ze = (ZipEntry^)es->nextElement(); xread = XmlReader::Create(ze->getName(),settings); <. . .> } b ...Show All
Visual C# Complete language reference for C#? All methods, all data members, all classes
Is there anything like this: http://java.sun.com/j2se/1.4.2/docs/api/overview-summary.html for C# A complete documentation of the language, all methods, all data members, all classes. Well, have a look at http://msdn2.microsoft.com/en-us/library/ms306608(vs.80).aspx . Note that it's a reference for the .NET framework, not a reference for C#. C# itself is just a language - it doesn't specify any members etc (beyon ...Show All
Visual Basic Creating a Windows Service
In VS .NET 2003, you could create a Windows Service using Visual Basic. This was a great feature and I used it several times. I went to try this in VS 2005 and it doesn't seem to be an option. Will this feature be included in the final version of VS 2005 or am I just not finding it in B2 Thanks. That is the case, but I would be very surprised if VS Profesional didn't contain the Windows Service Template. Well it did in VS ...Show All
Smart Device Development Tranparent color in Win CE.NET
Hello! I want to add a panel on my form that I can see throught him (he is on top of other controls ... I used BringToFront() metod) I tried MyPanel.BackColor = Color.Transparent; and MyPanel.BackColor = Color.Empty; but I can`t see what controls are under him. In the first case I get a white backcolor and in the second one ... i get a the color from the under control but the control`s text is invisible. Can anyone help me with that ...Show All
.NET Development How to get a picture from a website
I am writing a web-crawler in VB.NET, and can usually deal with getting a picture from a website into a file. However, this one has got me stumped: How do I get the picture from http://vols.RichardsonHumaneSociety.org/report.php tag=1214 web page It is challenging, because they encapsulated the picture. They have given me legal permission to scrape their site. Thanks. I'm going to move this thread to the Netw ...Show All
Visual C++ Newbie Question
Hello, I have just recently started programming in VC++ and i am currently making my first project using this Software. I would likfe to ask if there is any syntax or function that converts a hexadecimal value to Decimal/Binary Value Thanks in advance! I presume that you have a string of hexadecimal characters for which you want the decimal representation Not too hard... const char *hexStr = "8D0F6" ...Show All
Visual C++ How to make crtdbg.h and new(std::nothrow) work
Hi. I've been using the crtdbg functions for a while to find memory leaks, and it works great when I use the following preprocessor statements. #ifdef _DEBUG #define _CRTDBG_MAP_ALLOC #include <crtdbg.h> #define DEBUG_NEW new(_NORMAL_BLOCK, __FILE__, __LINE__ ) #define new DEBUG_NEW #endif As you'll know, this way the crtdbg functions show the correct file and line where the memory of the leak was reserved, using the "new" operat ...Show All
SQL Server Conversion issues on Output Columns with Script Task
I am not sure which type to use for my Script Transformation Editor output fields. I'm getting errors based on the Data Type I'm specifying for my fields. Print Screens: http://www.webfound.net/script_task.jpg TITLE: Package Validation Error ------------------------------ Package Validation Error ------------------------------ ADDITIONAL INFORMATION: Error at Import Maintenance (mnt) File [Split HeaderRows into Columns [5 ...Show All
Software Development for Windows Vista How to create a workflow programmatically?
Are there any samples that would show how to create and/or modify a workflow programmatically, i.e. from a program, not from VS.NET IDE or a hosted designer For example, the program would create a new workflow, add a couple of activities to it, and save the serialized workflow definition (in a file or database). I can find examples explaining how to modify a workflow instance at run time, but I need to create ...Show All
Windows Forms show timestamp on form Help please!
I have a field in a dataSet that is a sql timestamp value: DS.Tables["people"].Rows[0]["myTSField"] Can someone show me how to display this value in on a form If I set the texBox text to this it shows "Byte[] Array" I have& ...Show All
Windows Forms Windows Installer Package
Hi, I am working on creating a Windows Installer Package from .NET Framework 2.0 (without IDE VS2003 or VS2005) and I am kind of confused with so many tools (mt.exe, instalutil.exe, mageui.exe ...). Could someone be specific on what kind of procedure I should follow (the files I want to deploy are bundles of DLLs to run as server application) Thanks a million. Ning ...Show All
Visual Studio 2008 (Pre-release) Controls Themes
Hi, When creating Custom controls, there is a theme folder that is created with a default generic.xaml file. Is it safe to assume that jou can add more files as that will esentially be different themes that can be set at run-time If it is so, how do I implement a proper "theme system" this way Thank you, Jaco Have a look at the ThemeInfoAttribute , the ResourceDictionaryLocation enum ( ...Show All
Visual C++ disable manifest stuff?
is it possible to diable the manifest stuff so i can run my application on another computer with out .net. So just my exe and a bunch of dll's if they are needed. I've found some threads that discuss copying manifest files and renaming them and shit, but that really sucks, and doesnt even work for me. I cant manage to get a simple printf("hello"); working on another machine! so i've tried a release build using the default project from the projec ...Show All
