AviF's Q&A profile
Visual C# How to create an electronic mapping software?
I need to create a software that is able to display digital maps with the necessary controls such as pan, zoom etc (like an online emap). This software should be interactive and allow waypoints to be plotted on the map with the coordinates of the planned route sent to a ground vehicle. At the same time it should be able to receive information from the vehicle via GPS to enable tracking on the map. How do i go about doing that What are the more s ...Show All
Software Development for Windows Vista VB.net implementaion does not return Instnceid
I ran Asp.net implementaion of Hello World in VB. Protected Sub Button1_Click( ByVal sender As Object , ByVal e As System.EventArgs) Handles Button1.Click Dim workflowRuntime As WorkflowRuntime = WorkflowWebRequestContext.Current.WorkflowRuntime Dim scheduler As ManualWorkflowSchedulerService = workflowRuntime.GetService( Of ManualWorkflowSchedulerService)() Dim workflowType As S ...Show All
Visual C# changing toolBar backcolor
Does anyone know how to change the backcolor of a toolbar component. The BackColor property doesn't seem to be available for this control and i would like to avoid making a custom control or overriding the paint event if i can. Josh, Thanks for the ideas but instead of taking the shortcut it looks like i will just build my own. I was hoping there was a nice easy workaround but after some research&nbs ...Show All
Windows Forms Install clickonce application don't require Administrator roule but prerequisites yes !
I am deploy a clickonce application for USER machine in my organization. if my application need prerequisites like Crystal 2.0 I need to be adminstrator of the machine to install it, but the really application no. How can I work arround this problem I can not pass to 100 machine to install it by hands !! Giuseppe You are correct, the bootstrapper doesn't have any permission elevation capabilities, nor should it really. Just to clarif ...Show All
SQL Server Loading 2000 backup to SQL Server 2005
We are building Reporting solution using SSRS 2005 which uses SQL Server 2005. We periodically recieve SQL 2000 backup file which we need to migrate to SQL Server 2005. My Question is : Can we migrate the data from backup file (2000 format) to SQL Server 2005 using SSIS or there is any better way arround. many thanks in advance. Nand Kumar Hey Nand. You can restore a SQL Server 2000 backup directly to a SQL Server 2005 database if ...Show All
Visual C# Visual Studio 2005 Express Edition: Continue execution after unhandled exception
Thanks for the time. Having a Delphi backgound I am used to raising exceptions for almost anything that could go wrong. I'd catch the exception, add a user friendly message and raise another exception. This is more a VS Editor related question than exception handling itself. The thing is whenever I throw a new exception outside of a try...catch block a "Exception was unhandled" dialog box appears and the editor will not continue execut ...Show All
Visual C# Extracting the summary tag at runtime
Given a .Net object, I need to loop through it, printing out the summary tag information for each field/method, along with the "param" tag contents for each method parameter. Is there any way I can read the summary tag information for an instantiated object at run time That's what I suspected, but I'm wondering then how Intelli-sense manages to pick it up Intelli-sense seems to show the summary tag inf ...Show All
Visual C# Running C# with Crystal
Hi, I need to run a C# application that use crystal reports, but it says that Assemblies is missing Do I need to install something in the server, I have copied the crystal dlls but it does not open the report... Thanks Bruno Thanks, What is the .msm file that I need to download And does the setup identify and install it automatically Bruno ...Show All
.NET Development Problem with custom encoding
Hi I'm writing my own Encoder which I will use on the SerialPort class. The small tests I've made work just fine, but when assigning the encoder to the SerialPort.Encoder, I get the exception System.NotSupportedException : No data is available for encoding 0 at System.Text.Encoding.GetDataItem() at System.Text.Encoding.get_WebName() at System.IO.Ports.SerialPort.set_Encoding(Encoding value) Does anyone know why this might be Have I f ...Show All
Visual Basic Compressing Folders
Sick of me yet Hunting around for any help on compressing entire folders with .net 2.0. The standard examples are fine for single files, but i can't see to work out how to adjust that for an entire folder (+ subdirectories both empty and not etc) I've previously use the #ZipLib but i'm trying to limit my code to what is available in the .net Framework. Can anyone help ...Show All
Visual J# ObjectInputStream - cast exception
Hi; I make the call: ObjectInputStream ois = new ObjectInputStream ( new FileInputStream (serFile)); Document correctDoc = ( Document ) ois.readObject(); And get the exception: 1) testTemplates(net.windward.format.wordml.test.TestWordMLParser)java.lang.ClassCastException: Unable to cast object of type 'System.Byte[]' to type 'System.Object[]'. at java.io.ObjectInputStream.fillArray(Object obj, Int32 len, Class elemType) & ...Show All
Software Development for Windows Vista Problem with dynamic assemblies usage
I have a project which uses workflow and dynamic assemblies. When the project is being debuged in Visual Studio 2005 the "A first chance exception of type 'System.NotSupportedException' occurred in mscorlib.dll" is thrown. Call stack: > mscorlib.dll!System.Reflection.Emit.AssemblyBuilder.Location.get() + 0x37 bytes System.Workflow.Runtime.dll!System.Workflow.Runtime.DebugEngine.DebugController.AttachToConduit(System.Uri url) ...Show All
Visual C++ C3861 error using Visual C++ 2005
Hi, I was trying to program a C code using Visual C++ which basically saves an area on the screen to a buffer. However, when I tried to Build the code, I got the following error message: "error C3861:clrscr identifier not found." Is it possible that Visual C++ does not support DOS graphics functions Your prompt help would be much appreciated. Thanks Sami It would appear not, it would appear that function is ...Show All
Visual C# Thread Synch and Monitor: How to handle Value Types, and Private Locking to Avoid Deadlocks
I've been doing some reading on the Monitor class for thread synchronization. Four questions have come up. Here's a pretty good example from the MSoft docs of synchronizing access by using Monitor around a critical area of code: class MonitorSample { //Define the queue to safe thread access. private Queue m_inputQueue; public MonitorSample() { m_inputQueue = new Queue();   ...Show All
Visual C++ rand() not being random!!!
OK An other problem which I really need assistance with I'm using srand to generate random numbers out of a range BUT i always get the same sequence of numbers!! But I notice the problem come from rand() i tried to create a new project with only this : #include <ctime> #include <iostream> using namespace std; void main() { srand(time(NULL)); cout << rand() << endl; cin.get(); cin.ignore(); } ...Show All
