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

Software Development Network >> Ilan D's Q&A profile

Ilan D

Member List

Chris Honcoop
StevenR2
Cade Roux
NetPochi
sars
Heng-yi Liu
manjuWicky
The WB
DanHaligas
Gangy
CharlieCSharp
Richard Kallay
Kevin Dente
Chris Honcoop
engloon
nsikes
k_Prasad
Lollo79
pgems
Uwe Reisewitz
Only Title

Ilan D's Q&A profile

  • Visual Basic Picturebox format conversion?

    I'm running into a minor snag. I load a bitmap into the clipboard using the Ctrl+C command. The program I wrote, then copies the clipboard into a Bitmap object. Next the program assigns this as the Image of a Picturebox object. So far so good... This is where the problem pops up. The Image displayed in the picture box is a dithered image. A nice solid brown patch becomes a dithered patch of color. It shouldn't be system display settings, since the original image displays properly. It isn't the copy operation, since I can set the clipboard object to the bitmap I just loaded, paste it into a graphics program, and the dithering is not there. It appears to be a function of the picturebox assignment. Sample code: Private ...Show All

  • SQL Server Help with LinkTarget

    I am trying to access the Employee Summary Report in reporting services examples using URL access. I want to open the sub-reports in this report to be opened in a different window. Here is the url I am using http://ReportServer/ReportService2005.asmx/ %2fAdventureWorks Sample Reports%2fEmployee Sales Summary&rs:Command=Render&rc:LinkTarget=_blank I was assuming that when I click the sub-report it will open in a browser since the LinkTargete is to _blank. Please let me know why this is not working . Thanks!! SqlNew The LinkTarget device setting is for the links inside the report, e.g. for drilling down. Instead, consider a javascript code: =void(window.open('http://localhost ...Show All

  • 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

  • Game Technologies: DirectX, XNA, XACT, etc. DrawUserPrimitives hangs

    I'm trying to render a simple cube and the app hangs on the call to DrawUserPrimitives. Memory usage just climbs until the system hangs. Commenting out that line renders a nice cornflower background. I've tried other sample applications and they work fine. What am I doing wrong Here's the code: partial class Game1 : Microsoft.Xna.Framework.Game { VertexPositionColor[] nonIndexedCube; public Game1( ) { InitializeComponent( ); nonIndexedCube = new VertexPositionColor[36]; // Define cube's vertex positions (right-hand coordinate system) Vector3 topLeftFront = new Vector3(-1.0f, 1.0f, 1.0f); Vector3 bottomLeftFront = new Vector3(-1.0f, -1.0f, 1.0f); Vector3 bottomRightFront = new Vector3(1.0f, -1.0 ...Show All

  • Visual C++ Strange Error - Please Help

    Hi all, I wrote a dll (using a definition file). When I call one of the function within the dll from another application (to test the function), I receive a strange error (Messagebox format): Application.exe - Ordinal Not Found - The ordinal 34 could not be located in the dynamic link library. Note I have linked with the .lib file, have included the header file and copied the .dll file to the application directory. (Note that I'm exporting 34 functions) Can anyone help Thanx Sarath, thanx for the reply. Yes, according to me I have exported the functions correctly. The thing is all the functions work, except the last three. The names of the last three functions for example is: function_1 function_2 function_3 In def fil ...Show All

  • Visual Studio 2008 (Pre-release) How to expose a Webservice at two addresses: one with http, the other with https?

    How can I expose a Webservice at two addresses: one with http, the other with https I tried the following, but unfortunately I can only access the first service: < xml version="1.0" encoding="utf-8" > <configuration> <system.serviceModel> <services> <service name="Webservice1" behaviorConfiguration="Behavior1"> <host> <baseAddresses> <add baseAddress=" https://myhost/Webservice"/ > </baseAddresses> </host> <endpoint contract="IWebservice" binding="basicHttpBinding" bindingConfiguration="Binding1" /> </service> <service name=&qu ...Show All

  • Visual Studio Express Editions Web Browser...

    Hi! I try to make a browser but i have two problems: 1. I dont know how to make these arrow buttons 2. Every time when a link opens in a new window its not my browser any more, its internet explorer! i am new into this. thx leo ...Show All

  • .NET Development adding an xml and a datatable.

    Hello, I have a problem with dataset. I read an xml file to the dataset.after that, i need to add the data in a datatable to the dataset and write the dataset to the xml file.I mean DataSet ds = new DataSet(); ds.ReadXml(filename); DataTable dt = new DataTable(); //...filling the datatable ds.Merge(dt); By this way,it does not do what i need.when i look at the xml file,i see only the last datatable's data in the file.it doesn't add,it just replaces with the new one. What's wrong with me Thanks in advance. ...Show All

  • Smart Device Development How to suspend and resart a particular thread.

    In my application there are three thread runing.I have assign Name to all of them.Let Say Name are A B C Now in one of the method of thread A i want's suspend the thread B then resume it. How Can I do it While there currently exists methods outside of CF that can suspend/resume another thread they will be made obsolete and only debuggers will be able to suspect another thread or the thread itself can suspend itself. It's not safe to arbitrarily suspend another thread: you don't know the state of any of the invariants the thread is modifying and could leave data the thread is modifying in a indeterminate state or leave locks locked that cannot be unlocked (both synchronization and file-system based) resulting in deadlocks. The ...Show All

  • SQL Server Tabs missing from Reporting Servers home page

    When I am trying http://localhost/Reports/Pages/Folder.aspx I am not seeing the all too familier "Contents" and "Properties" tabs along with deployed reports. Once in a while, I see that, but most of the time it is missing. Reporting Services got installed correctly though. It shows a very blank-ish Home page. Thanks Brian. I am a local admin in my workstation where I am trying to open the home page. And still I can not see the full home page of Reporting Services. ...Show All

  • Smart Device Development Smart device CAB project - registry error during build

    I am building a CAB file for a Pocket PC application in Visual Studio .NET 2005. In VS .NET 2003, there was a fairly straightforward option to 'Build CAB file' in the project context-sensitive menu. As far as I can see, in VS .NET 2005, one has to add a Smart device CAB project. I have followed walkthrough 'Packaging a Smart Device Solution for Deployment' available in VS .NET 2005 online help and completed all the steps. When attempting to build the cab file, I receive the following error in the output window: Warning: Section [RegKeys] registry value "" has an empty string for the data Error: CAB file "P:\MyApp_Setup\Release\MyApp.CAB" could not be created I am guessing that VS wants me to do some extra wor ...Show All

  • Windows Forms Night Vision

    I am working on a military application that needs to support a "night vision" mode - that is, make the application appear in a green scale color pallet to make it easier on the eyes in reduced lighting. Now, I know I can take an approach that will "skin" or "theme" my application to make it appear green (our GUI COTS product Infragistics NetAdvantage makes this possible), but it still isn't a 100% solution because we would need to re-do all of our images/icons that we use in the app to a green scale version, and then code the functionality to change the images at runtime when needed. Further, because we display maps and map information, there isn't an easy way to change all of the maps into a green scale. Havi ...Show All

  • SQL Server Hang while trying to browse thr cube

    I am working on the Analysis Services When I am in Business Intelligence Studio and I right-click on the cube and I choose browse to open the cube-browser, the Cube-Browser HANGS FOREVER. it never finishes opening. I always end up using the taskmgr to kill off Business Intelligent Studio. How is this HANGING problem fixed Please make sure whether cube was processed sucesfully before you are browsing it. and also you have sificient permissions to browse the cube. Thanks ...Show All

  • SQL Server Server options are not being executed from local programatically code??

    Dear all, For example, executing a DTSX stored in a server, execution is fine and successfully but the log file attached to that DTSX is not created at all after the execution. Otherwise if I'm going to execute from the server everything is fine: log file is created and gathering the usual information. Let me know if exists any option for to enable this from the own DTSX. If I run local packages log files are created without problems. Thanks in advance, Enric, I have to admit to being a little bit lost after all this. One thing I will say is that if your package cannot (for whatever reason) create its logfile then the package will fail. If the package has NOT failed then the logfile MUST be somewhere. -Ja ...Show All

  • Windows Forms Problem with Datagridview Parsing

    I have a datagridview which is bound to a dataset. It consists of two columns "StudentName" and a numeric column "Marks". The marks column stores the marks of the student in a test. The marks column will have -200 if the student was absent for the test. In the cell formatting event of the datagridview i change -200 to "AB". It works without problem During editing when the user enters "AB" , I have to store -200 as the value. I tried to do that in the cell Parsing event by writing the following code : if IsNumeric(e.value) then e.value=Cint(e.value) e.ParsingApplied=true else if e.value="AB" then e.value=-200 e.ParsingApplied=true else ' ERROR end if end if . But I get the mes ...Show All

©2008 Software Development Network