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

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

markovuksanovic

Member List

marcoMB
Jason Bolstad
Rishab
Curtis the Analyst of Doom
Ltayef
siva_Baskar
Matt Deane
kirchu
JohnSmith TheForumGuy
bilalso
Peter Huber
AndersL
Scott McKeown
Dom Melino
tomc1
rsdu
leo1
airwalker2000
Ivan Hou
TrueDanimal
Only Title

markovuksanovic's Q&A profile

  • Smart Device Development JPG image loading and rotation on Pocket PC 2003

    I have developed an app on PocketPC 2003 using VS2005. This application interfaces with a camera and retrieves JPG images from the camera. The app displays the images as thumbnails and allows the user to click the thumbnail to get the full size picture in a scrollable window. This all works fine, however loading the JPG is slow and rotation (the way I am doing it blows out the memory, no leaks that I can find. Image size: 2048(w) X 1536(h)). I am using imgdecmp library to load the JPG image to a DDB bitmap, and implement rotation by converting the DDB to a source DIB, then creating a destination DIB with rotated dimensions, then copy the source DIB to the dest. DIB, one pixel line at a time (very time consuming). When I use the Pict ...Show All

  • Visual Studio Express Editions how to compare two images and return the result?

    Hi, all, I want to compare two images. I read these two images into the bitmap class If I don't want to compare these two images by each pixel, how can I compare these two images thanks for your help! Tsai Dim imagefile1, imagefile2 As Bitmap Dim result as boolean imagefile1 = New Bitmap("D:\temp\IMG_0315.jpg") imagefile2 = New Bitmap("D:\temp\IMG_0313.jpg") result = equals(imagefile1, imagefile2) // If imagefile1 and imagefile2 are really the same, but the result of the equals(imagefile1, imagefile2) is false why I am wrong. Didn't think about it till last night in bed. If you try to read two different file types (i.e. bmp and jpg) then the headers will automatically mak ...Show All

  • Visual Basic "Start external program" no longer works in VS2003 once 2.0 framework installed

    Ever since I installed VS2005, the "Start external program" feature in VS2003 in Project Properties-->Configuration Properties --> Debugging does not work anymore. The external program launches for a moment, then bails out of memory with no apparent error. Removing the .Net Framework 2.0 fixes the problem. The only other person her in the office with VS2005 installed has the exact same problem. Removing the 2.0 framework worked for him as well. Any thoughts on how to get the feature working again WITHOUT removing 2.0 Marcus Just a guess, but if your external program was running with the 2.0 Framework rather than the 1.1 Framework then the 1.1 Debugger probably wouldn't like it very much. ...Show All

  • Visual Studio Tools for Office performances problem

    hello When i transfert 12000 lines of a collection to a listobject on a worksheet with datasource and databinding, time transfert is about 150sec. with a 3G computer. If i transfert the collection to listobject with range and array, time transfert is about 2 sec. where is the problem regards Hi In order to tune the performance there are a few things which you can try: 1. Switch the LCID proxy off by setting an assembly level attribute ExcelLocale1033(false). There if an issue if you turn it off and thats why VSTO choses to keep it on by default. Read more here . This should give you a significant performance boost - close to 2-2.5X. 2. You can get even before perf ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. D3DXCreateEffectFromFile() problem

    Hi people. I'm having a problem using effects. Of the 15 or so fx files in the samples, only 2 will successfully go through with my code. It doesn't really make any sense :( I do know that those that fail will cause effect to be null in the following code. Note that this code is from a wrapper and each new effect will be in its own object that initializes using the code: DX9Effect::DX9Effect(char* filename, int uid) { D3DXMatrixIdentity(&matrix_world); D3DXMatrixIdentity(&matrix_view); D3DXMatrixIdentity(&matrix_proj); strcpy_s(DX9Effect::filename, filename); char newpath[MAX_PATH] = "effects\\"; if(std::strlen(DX9Effect::filename) + std::strlen(newpath) < MAX_PATH) strcat_s(newpath, filen ...Show All

  • Visual Basic How to insert data (probably simple question)

    I am quite newbie and I have one, probably simple question. I try to insert data into my database (SQL Server 2005) with this code (VS .NET 2003): Friend Sub Datainsert(ByVal Name As String, ByVal Surname As String, ByVal DateOfGame As Date) Dim ConnectMe As New Odbc.OdbcConnection ConnectMe.ConnectionString = "Driver={SQL Native Client};Server=localhost;Database=ProjektKoncowy;Trusted_Connection=yes;" Dim Writeit As New Odbc.OdbcCommand("INSERT INTO ProjektKoncowy.dbo.Wyniki (Name, Surname, Points, Status, DateOfGame, KindOfGame, Autor) VALUES (Name, Surname , ' 3 ', ' 1 ', DateOfGame ,' 4 ','John Smith')", ConnectMe) Writeit.Connection.Open() Writeit.ExecuteNonQuery() ConnectMe.Close() End Su ...Show All

  • Visual Studio ActiveX?

    Alright guys, I have another brainbuster for you here. I want to use Crystal Reports online with Visual Studio 2005 web applications, am I going to need ActiveX controls in order to view these reports or am I going to need them in any way ,shape, or form Please let me know, it is vital for my company's usage of Crystal Reports. ...Show All

  • SQL Server Packages error or hang in SQL Agent but not in BI IDE

    Hi , I have an issues that worries me alot. I have SSIS packages scheduled in SQL Agent and they sometime error out or hang in Agent but never when i run them in BI IDE (Visual studio). There are two particular packages that always hang, alway in Agent but when i run them in BI IDE, they run just fine. Im was running them under in Agent under type= Sql server intergration services and also tried running under type = Operating System (CmdExec). Both types have the same problem. The packages hang. The log files dont say much, because the packages hang, no logging is doing so i dont get any infomation to determin what is going on. Can someone please help me ou. This won't work because EncryptSensitiveWithUserKey uses the credentials ...Show All

  • Visual Basic .bat to .VBS Conversion

    Hi, im a novice with vbs scripts and was wondering if someone could give me a hand to convert this batch file to vbs script echo %username%, %computername%, %date%, %time% >>\\cse2k05\logons\%username%.txt It is a simple file that just logs when and where someone logson on our network to a textfile on one of our servers Thanks Dave. Here is some VB code...a little diff than vbs but it should give you an idea what you can do in VB: Dim UserName As String = Environment . UserName Dim ComputerName As String = Environment . MachineName Dim LogFIle As String = "\\cse2k05\logons\" & UserName & ".txt" Dim fTw As System . IO . TextWriter = My ...Show All

  • Visual C# local or remote path

    Hi, how can I determine (inC#) if a path refers to a folder/file on the local machine or on another machine in the network Thanks for your help, Ralph Hi, Simply by checking the file path starting characters you can find that if its starts with "\\" then its network drive and if its not starts with "\\" then it would be local drive (Except the case of Mapped drive so if you are not using mapped drive ). If you can't use this because of mapped drive will give you the wrong result, then inform me, HTH, ...Show All

  • Visual Studio 2008 (Pre-release) Image formats for toolbars?

    I'm curious what people are using for images on WPF toolbars Are you using icons, bitmaps, a geometry in XAML, or It's nice that you can easily make an interface scalable with WPF, but that implies that some sort of vector images would be best. But how do you make those look good when sized down to small areas like 16x16 I'd like to hear from some developers/designers that have been working with this awhile on what's worked best for them What gives you the best tradeoffs between ease of creation, good looks at larger sizes, and good looks at smaller sizes That's a good point I hadn't thought of before. That by using icons in XAML format, you have options to animate that you wouldn't have with a bitmap format. That in itself may be ...Show All

  • Visual Basic Line separation

    I would like to write a file's content to a textbox which is multilined. I loaded the file but I don't know how to write lineseparator. Try Dim sr As StreamReader = New StreamReader("D:\\a.txt") Dim line As String TextBox1.Text = "" Do line = sr.ReadLine() If (line IsNot Nothing) Then TextBox1.Text = TextBox1.Text & "\n" & line End If Loop Until line Is Nothing sr.Close() Catch Err As Exception Console.WriteLine("The file could not be read:") Console.WriteLine(Err.Message) End Try It wrote xyz\nxyz. It would be good if it write:xyz xyz Thank you in advance. Adam If your using VB Express/2005 Try TextBox1. ...Show All

  • Visual Studio Team System Cannot create database project for SQL Server 2005

    I'm not sure why it's trying to make an initial connection when I try to create a project but it is telling me it cannot make a connection to SQL Server.  I have a named instance installed and don't know how to tell VS where the instance is residing.  I go to File -> New -> Project then under Database Projects -> MS SQL Server I click SQL Server 2005... I'm assuming I'm missing something very basic..... Chris, Did you exit VS after you made the Registry change in Tools->Options Today it does not automaticly refresh when you update the Tools Options pages, so you need to recycle the VS (devenv.exe) instance before it takes effect, we found that this week and are fixing thi ...Show All

  • Visual Studio Crystal Report output to an EMAIL in a VB 2005 application at runtime

    How can i send a Crystal Report output to an EMAIL in a VB 2005 application at runtime programatically in code Alex ...Show All

  • SQL Server Selecting Statement execution

    hi all, this morning i went mad trying to understand how to do something like this: WHERE         CASE @Variable1                 WHEN 0 THEN T1.Field1 <= Value1 AND                 WHEN 1 THEN T1.Field1 >= Value2 AND                 WHEN NULL THEN T1.Field1 >= Value3 AND         END         T2.Field2=@Variable2 AND so on Can i select the statement that should be executed i tried even inserting all the WHERE clausoles into 3 different ...Show All

©2008 Software Development Network