ercan_06's Q&A profile
Visual Studio Express Editions Learning was easier than I thought
Being Dotnet illiterate, and a previous cf fanatic, I knew this was the way of the future. So my first task was to create an application using VB.NET 2005 and having it input data that was simple and somewhat routine. I had read a lot of reviews on different books, but there was something missing; nobody trained using the visual studio interface. I found this site and watched the tutorial videos and within 2 weeks I had created the application. An application that would have cost our company close to 100k to outsource. In my opinion, and from someone who never wrote a lick of VBscript, this is definitely the wave of the future. I signed up for additional classes at the community college and a professional educating service. I am glad a ...Show All
Visual Studio 2008 (Pre-release) Forcing width==height on resize
I want my main window to be resizeable, and I'm using a viewbox such that my content scales accordingly when the window is resized...however I want to fix a relationship between the width and height of the window. (For example, I want to force the width and height to be equal). It's not clear to me how I can do this in XAML. I also couldn't find a resize or preview resize event that I can capture and force the relationship programmatically. Any suggestions As a compromise, you could set the Stretch property on the Viewbox to "Uniform". This would ensure that the content of the Viewbox wouldn't be distorted. It wouldn't, however, prevent the Window itself from being arbitrarily sized. ...Show All
Software Development for Windows Vista Add Record failed in Access database
I have created an Access database. My application which adds record to the database works on xp.It failed on vista, but if worked under an administrators privileges. I don't known how to set the privileges of the database. Anyone have any idea Thanks in advance for anyone's help. ...Show All
SQL Server JDBC driver for Microsoft SQL Server 2005 SP1
Hola a todos. Saludos cordiales. Tengo instalado Microsoft Windows 2003 Server Standard Edition en un servidor IBM xSeries 220, estoy tratando de instalar IBM Director 5.10 y no ha sido posible hacer que se conecte con la base de datos. Esto ocurre cuando intento configurar el Servidor SQL en la fase final de la instalacion de IBM Director. Gracias por su ayuda, puede alguien darme alguna sugerencia Erick Gomez, Venezuela La verdad es que nunca he usado IBM Director y no estoy muy seguro de poder ayudar aqui, pero si nos das el error que ves y nos esplicas los pasos que estas dando para encontrar este error intentaremos ayudar. http://www-03.ibm.com/servers/eserver/xseries/systems_management/ibm_director/about/ ...Show All
Windows Live Developer Forums Problems with the GetRoute method
Hi, I've tried to use the VEMap.GetRoute method, but the run line from the start to the ending location doesn't appear, and the pushpin over the ending location doesn't bring a message... This is my code...Is there someone who can help me Thanks a lot... <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" " http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd "> <html xmlns=" http://www.w3.org/1999/xhtml "> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <script src=" http://dev.virtualearth.net/mapcontrol/v3/mapcontrol.js"></script > <script> var map = null; functi ...Show All
Visual Studio Team System Failed to create New Team Build Type
Hi, I trye to create a New Team Build Type, but it does not work. An error box is displayed with the next message: "Failed to retrieve data from the server. Please verify that the Team Foundation server is running and try again." But the TFS is running normally, and I work without any problem. I'm using a workgroup version of the TFS, and I'm an administrator of the Server... Can you help me please It may help to turn on tracing on the server and see if an exception is being thrown. To do this you will want to go to where the Team Foundation web services are installed, which by default is: %ProgramFiles%\Microsoft Team Foundation 2005\Web Services In that directory you will see a web. ...Show All
Visual C# StrongNameIdentityPermission
I tried to protect my entire assembly by using StrongNameIdentityPermission at the assembly level using Request Minimum with the following code [assembly: StrongNameIdentityPermissionAttribute(SecurityAction.RequestMinimum,PublicKey = "002400....")] But this did not work even when both the assemblies had different strong names.Can anyone tell me where i have gone wrong.Thanks If the clients have full trust, the StrongNameIdentityPermission will not help. See http://blogs.msdn.com/eugene_bobukh/archive/2005/05/06/415217.aspx ...Show All
.NET Development How to verify if an email was sent or not ? Net framework 1.1
Hello , how can I Know if an email was sent or if there is an error in the smtp server with the Net Framework 1.1 Namespace System.Web I am Using the System.Web.Mail.SmtpMail.Send(MaiMessage) method but it does not return anything telling me if the message was sent or Not . Also a note : I am using this namespace from a windows application . Thanks in advance for your replies Any Idea or definitively there is no way to ask for the mail status in .NET Framework 1.1 . In that case I will have to look for a nother soluction . ...Show All
Visual C# Convert WMF to JPG
Is there anyone that can point me in the right direction I want to be able to convert some wmf-files to jpg using .net (C# or VB - doesn't matter). Where should I start The .NET Framework supports a number of image formats including WMF which means its simply a matter of loading the image and then resaving it ala: using System.Drawing; using System.Drawing.Imaging; ... Image i = Image.FromFile("InputFile.wmf"); i.Save("DestinationFile.jpg", ImageFormat.Jpeg); ...Show All
Audio and Video Development I can't send event from ProcessOutput() of MFT
I'm trying to send event from ProcessOutput() of MFT but downstream MFT of ProcessEvent() or Stream Sink of IMFStreamSink::PlaceMarker() couldn't receive it. my MFT's ProcessOutput() pEvents member of the MFT_OUTPUT_DATA_BUFFER structure always comes with NULL is this ok Since pEvents are NULL I'm creating IMFCollection by myself using MFCreateCollection() is this ok At last I'm adding event to collection. Thanks. kasumi I found bug in my MFT and now I can see event passing down to sink. Using my fileSink, event will passed to application, but using EVR as the sink event will be blocked by EVR. I'm making mpeg2decoder and need to send custom event to application. application will use ...Show All
.NET Development Object Already Exists error when trying to sign an assembly using a pfx file
Hi, I'm trying to sign my assemblies using a pfx file. This was working fine, until I changed the file I used to sign it (I used to sign it using xxxx.pfx, and now I'm signing it using another xxxx.pfx, so the name is the same but the file itself is different). When I point to the new file on the signing tab and build my solution, I am prompted for the pfx password. When I type in the pwd and confirm, I get the error message "Error Importing Key" "Object already exists". For me, it is not clear what is going on. Could someone clarify what I should do to avoid this problem. I already tried to apply the workaround suggested here http://www.pcreview.co.uk/forums/thread-1325523.php , but to no avail. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Flickering MDX Window/Form
Here is what I'm trying to do: 1) WinForm that has some combo boxes and a MDX device created in a WinForm panel. 2) Press a button to go into "fullscreen mode", MDX device is now fullscreen. 3) Press ESC to go back to initial mode with combo boxes and small MDX panel. Here are my problems: 1) When it enters fullscreen mode the background (my desktop) flickers in and out if my move the mouse. For example moving the mouse to the taskbar the taskbar windows will pop-up. 2) The ESC button handler for fullscreen mode I created is never fired, which leads me to think the form is going in and out of focus. Relevant info: 1) Using PresentationInterval.Immediate. 2) Device is created initially with panel.Handle, then ...Show All
.NET Development Versioning Issue
Hi EveryOne, We have Unit Test Scripts that were written in C# for.NET 1.x Environment. We were Using NUnit for Exceuting these Scripts and everything was running fine. Now we migrated our scripts to .NET 2.x Environment. We build our project on .Net 2.x and tried to execute it on NUNit. Now in this case result are abnormal and Inconsistent. A script may pass for the First time but on the second run it may or may not pass. Also in NUnit once a Test Fails, it comes back to NUnit Screen and after that any form Instances created is in Minimized state even though we set it to be Maximized. We are just unclear about the reason behind this. Does anyone have any idea. Please reply as soon as possible. Thanks ...Show All
Visual C++ LINK : fatal error LNK1104: cannot open file "<filename>.exp"
why am i getting this error Is there anyone who knows i can solve this 1. Search through all the files in your project for a line such as "#pragma comment(lib," and see if any of the contain the filename from the error you describe. 2. Check the project properties (ALT+F7), under configuration properties > linker > input > additional dependencies . Verify that no odd looking filenames are listed there. ...Show All
Visual Basic Alternative to Data Reader (VB.NET 2003)
In my following code I want to use any Array variable that can store the result. I don't want to use the Data Reader as given below. Is there any alternative. ----------------------------------------------------CODE--------------------------------------------------------------- Private Sub cmdModify_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdModify.Click Dim strFind, strModify As String Dim FindDr As OleDb.OleDbDataReader Dim cmdFind As New OleDb.OleDbCommand(strFind, cn2) myRecID = Val(InputBox("Enter Item ID:", "Modify Item Entries")) strFind = "Select * from Firms_Master Where FirmID=" & myRecID FindDr = cmdFind.ExecuteReader(CommandBehavior. ...Show All
