Software Development Network Logo
  • Windows Forms
  • Audio and Video
  • Visual C#
  • VS Team System
  • SharePoint Products
  • Smart Devicet
  • Windows Vista
  • SQL Server
  • .NET Development
  • Game Technologies
  • Visual Basic
  • Visual C++
  • Visual FoxPro
  • Microsoft ISV
  • IE Development

Software Development Network >> bvanderveer's Q&A profile

bvanderveer

Member List

mksoagi
David N.4117
Testpilot.dk
tyaramis
Alex MacFarlane
Kohl.Mike
royalhale
swan_sg
Jeff Green
Output the XSLCompiledTransform.
Jakein2006
Xcel
cbpd86
Anand Prakash
GuyVerachtert
donRiccardo
Arbu
Scionwest
Dave2UisDave2Me
esafari68
Only Title

bvanderveer's Q&A profile

  • Visual Studio Express Editions C# almost double as fast as VB.NET?

    Check this out: C# code: using System; class SpectralNorm { // // // // Var Def // static DateTime startTime; static DateTime stopTime; static TimeSpan elapsedTime; static long elapsedMS; static void Main(String[] args) { startTime = DateTime.Now; int n = 1000; if (args.Length > 0) n = Int32.Parse(args[0]); Console.WriteLine("{0:f9}", new SpectralNorm().Approximate(n)); stopTime = DateTime.Now; elapsedTime = stopTime.Subtract(startTime); elapsedMS = (long)elapsedTime.TotalMilliseconds; Console.WriteLine("Elapsed Time: {0}", elapsedMS); Console.ReadLine(); } double Approximate(int n) { // create unit vector double[] u = new double[5000]; for (int i=0; i&l ...Show All

  • Smart Device Development working with threads - novice

    Hi, I'm new to this forum but I hope I posted inthe right section. I'm kind of new to C# so please be patient with me :) I'm tring to save my path (gps coordinates from my asus a636) to a kml file as part of a bigger project. I managed to save my present location but now I want to save a set of coordinates. I have 2 buttons for this task: startRecord - should start the while that writes to file the coordinates, and saveTrack - should stop the while. I have the following code for the save part. The problem is the WHILE. When in starts it never stops. Being kind of new to c# I searched and found that the problem is that the WHILE should be on a separate thread. Is this the solution If so...could you show me how to plac ...Show All

  • Visual Studio Express Editions Check URL

    I have coded a small tabbed browser, im just wondering how would i be able to show the URL of the specified tab in a textbox. Like the current URL. I dont want to be able to input a URL just get the URL of the window so that I can compare it in a case statement. Thanks in advance, Andrew Private Sub Form1_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load Dim tx As New WebBrowser Me .KeyPreview = True TabControl1.TabPages.Add(z) tx.Dock = DockStyle.Fill Me .TabControl1.TabPages( Me .TabControl1.TabPages.Count - 1).Controls.Add(tx) End Sub Private Sub Form1_KeyPress( ByVal sender As System.Object, ByVal e As System.Window ...Show All

  • Visual Studio Express Editions Joining code

    Is it possible to make a program with joined code (Like joining a little bit of VB and a little C#) Ohhh How do you make DLL's That too is easy start a new project of the type Class library. Add your code. Wrap it in a Namespace and then build it. Be aware that a dll is a slightly different environment than a process and does not have accesses to all classes that an executable does. ...Show All

  • Smart Device Development **NEWBIE** Emulator for a Xda Exec?

    Hi, I am new to windows mobile, and i have been asked to find an Emulator for a Xda Exec. Im not really sure what an emulator is, can anyone direct me to any site whare i could get this emulator and some useful documentation Thanks. PPC 03 SE is Pocket PC 2003 Second Edition. Similarly SP03 SE is Smartphone 2003 Second Edition. SMDK2410 is Samsung 2410 board which is being emulated by Device Emulator. BSP ~ Board Support Package. You may want to go through this link to understand some of these terms and windows mobile development process http://msdn.microsoft.com/windowsmobile/reference/GettingStarted/default.aspx -Thanks, Mohit ...Show All

  • Visual Studio Express Editions Viewing Web Pages IN your Application

    I have 3 questions: 1) What is the Web Browser 2) How do I use the Web Browser 3) Can you give me any help the webbrowser is basically IE pretty much (well the engine anyway). To use it, drag and drop the webbrowser control onto your form. Then simply look at the methods/properties it has and use them, as well as events. So if I wanted to navigate to a website, I would have this: Me.theWebBrowserControl.Navigate(" www.microsoft.com ") of course replacing the control name appropriately. Does this help at all What else would you like to know ...Show All

  • Visual Studio Express Editions Painting into an image box

    Hi I know you can draw lines and things into a picture box with picturebox.CreateGraphics.DrawLine(Pens.Green, 5, 5, 6, 6)   etc   But why will it not work with variables in place of the 5, 5, 6, 6 Is there a way of painting a custom colour instead of a pen colour     Is there a better thing to use that allows me to just change pixel coordinate colours as it is easier to imagine and write code for, this is confusing to me. it seems to be working ok for me...lets see I tried your code, it does work and shows a very small line - I changed the color to blue :-P Me.pictureBox.CreateGraphics().DrawLine(Pens.Blue, 5, 5, 6, 6) ...Show All

  • Smart Device Development how can i get a pixelcolor from a stretched image?

    i use this code to get a color from a stretched image in vb.net: Private Sub PictureBox1_MouseMove(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles PictureBox1.MouseMove On Error Resume Next Dim g As System.Drawing.Bitmap = PictureBox1.BackgroundImage 'Label1.Text = e.X.ToString 'Label2.Text = e.Y.ToString 'If e.X < g.Width And e.Y < g.Height Then Label1.Text = g.GetPixel(e.X, e.Y).R Label2.Text = g.GetPixel(e.X, e.Y).G Label3.Text = g.GetPixel(e.X, e.Y).B Me.BackColor = g.GetPixel(e.X, e.Y) 'End If End Sub Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim newImage As Image = New Bitmap(Pictu ...Show All

  • Visual Studio Toolbox/Report Viewer & Microsoft Reporting Services

    I am in the planning stages of moving a fairly large app from Access to ASP.NET 3 / C# / SQL Server 2000 and am investigating report generators. We will need to produce - Standard on screen / print to paper reports (that can be output in PDF format) Excel spreadsheets The app will be mostly Win Forms, but there will also be Web Forms Is the toolbox / report viewer control in VS 2005 the same as what is often referred to as "Miscrosoft Reporting Services". Is there a summary paper anywhere on the capabilities of Microsoft SQL Reporting Services and this control Does it work for both Windows apps and web apps Many thanks Mike Thomas Visual Studio 2005 ships both a winforms and webforms version ...Show All

  • .NET Development Remoting remote ip

    hi,, is there any way on the remoting server to get the ip of the client and i also want to know when does the user connects,.,, any idea mig16 Mig16, Just to extend your above sample public class YourClinet: MarshalByRef public class Trojan.FuncionesNET : MarshalByRef { public void RegisterClientReference(YourClient clientCallback) } Then in your client you can call ChannelServices.RegisterChannel(new TcpChannel(),true); funciones = (FuncionesNET)Activator.GetObject(typeof(Trojan.FuncionesNET), "tcp://localhost:5050/FuncionesNET"); funciones.RegisterClientReference(this); Now your server has a reference to your client object and call methods on it. Maheshwar Ja ...Show All

  • Visual Basic richtextbox and msword

    have u ever observed that if u copy any thing from brouser and paste it into the msword document and paste it into a richtextbox control u will find some difference in pasted info if the clipboard contains image the image will get pasted in the msword but in richtextbox control only the link will get pasted my requirement is to if u paste the same in the richtextbox control it should appear like the same if pasted in the msword can any one help me please rich text box holds images but we can past images only if it has been copied from the system not from the brouser but my requirement is to paste images and text from the ie to richtextbox as how we do the copy paste from the ie to the ms office ...Show All

  • Visual C++ VC++ User Type Syntax Highlighting

    Hi I'm looking for a way to get user type highlighting enabled for VC++. I see you can set the color for usertypes, and when I'm using VS2005 at work I do get user type highlighting for C#, but after installing VS2005 at home it doesn't seem to highlight usertypes (infact it doesnt really highlight much types at all, only 'fundamental' types like int and char). Have I done something wrong withotu realizing Or is there some setting I must enable (I have looked for one in all the menus but I can't really find).. Or do I have to install something extra to make it possible If it even is possible. Thanks for your answer :) Yes I was thinking it might be some kind of special software or configuration, I ...Show All

  • SQL Server I want to build a Directory... How what approach should I take

    I would like to build a business directory like yellow pages but a whole lot smaller for my home town. How should a approach this Thanks much! Like anything, the less you know, the more you need to learn. I'll move this to the SQL Server forum where it belongs then. I would recommend however that your question is too broad. You're asking someone to design your database for you, if you're asking anything. I'd recommend just getting in there, doing some reading, coming up with a design and asking specific questions ( in the right forums ) ...Show All

  • SQL Server SSIS Error with duplicate IDs of copied packages

    Hi, I recently encountered an error when I created several copies of one package. It's always nearly the same package with small modifications. I call this packages from a parent package which is part of our datawarehouseing-framework. The problem is, when copying a packages or using a packages as template the packages' IDs and Task's-IDs are the same. And this isn't only an issue concerning logging!! : When the parent package calls one of the copied packages the first task is executed in every package parallely. Furthermore ... when I for example set a breakpoint on a data transformation task in one of the packages, the breakpoint is set in all packages on the same task! This is resulting in strange errors because the tasks-st ...Show All

  • Visual C# stdole.IPictureDisp to Bitmap/icon conversion in C#

    I am having a 3rd part DLL which contains Icons. I have to use this DLL to get icons in C# application. That DLL returns the icon wrapped as an object of stdole.IPictureDisp. Now how to convert this to get the bitmap or icon. I am trying for image option but runtime exception comes as cant cast it. any Help. Hi, An icon is not an image. You need to use the correct class in the correct context. You cannot merely cast an Icon to an Image when they are not in the same object heirarchy. You will need to construct a new Bitmap with the Icon data to convert an icon to an image. (Bitmap does in fact inherit Image). You need to understand how the object heirarchy is laid out. You are abl ...Show All

©2008 Software Development Network