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

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

amisole

Member List

Sideout
cgpl
U_T_A
Rattlerr
Kennon2005
Piddo
ahmedilyas
Bryant Likes
Ben Jacobs
belikekhushi
hawash
mark1110
Malebolgia
abarone
krubug
Sébastien Nunes
JinMengcheng
eclere
Sidds
Loren Lowe
Only Title

amisole's Q&A profile

  • Smart Device Development Why can't I ping outside of the Emulator?

    Hello All, I have tried to ping the IP and hostname of the Vs2005 Arm Device Emulator without any trouble but I can't seem to ping even the machine the emulator runs on. I get PING: transmit failed, error code 11010 Any thoughts would be appreciated :) Bob Hanson barely really used the emulator, my development has mostly been targeted at three specific devices I have on hand, haven't had this experience when I did use it ... but I'd be curious, have you tried the wince emulator do you get a similar outcome ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. math.sin output error?

    Sorry to be asking such an obvious question, but I did a search and couldn't find this topic previously discussed. I'm having a problem where I seem to be getting the wrong value from the Math.Sin(x) function. The lack of search results on the subject would leave me to believe that there's not a bug in the software, so it must be something on my end. I'm trying to use sin to determine an object's new position on-screen, but as my formula stands the object appears in the wrong place. But, when I replace Sin(Value) with what my calculator tells me Sin(Value) should be, I get the right position. Here's a snippet of the code (In the final program, the values would be replaced by variables, but I'm using the numbers just to try and isolate my p ...Show All

  • Visual Basic Register .NEt DLL

    Hi, I have a vb6 outlook COm project which I have recently converted to .NET. In vb6 i would test the addin within outlook bu simply registering a newly built dll file. However in vb.net when attempting to register the dll i get the following message: "dll was loaded, but the dll register server entry point was not found - the file can not be registered." Thanks in advance. thanks but when typing this into the .net command prompt i got the following error: "The given path's format is not supported" ...Show All

  • Windows Live Developer Forums Pushpin does not show in firefox

    I have a simple map at: http://nethram.dyndns.org/hotel/abc.html The map has a pushpin in Arizona, the pushpin shows up in IE, but not in firefox. Any pointers would help. You are not getting pushpin on map bcoz you are calling the addpin function directly after loadmap function. The loadmap function throws an exception with firefox so the code after loadmap will not be executed. So put the loadmap function in the try catch block and then try. I hope u will not get any problem then. map = new VEMap('myMap'); try { map.LoadMap(new VELatLong(latitude, longitude), 12,'r' ,false); } catch(e) {} AddPin(); ...Show All

  • Visual Studio Team System Sampling method of Performance Tool does not generate any report!?

    After successfully tried using Sampling method of Performance tool on a small console application, I applied the same skill on a larger WinForm application. But this time the tool does not generate any report under the Reports folder. Is there any limitation on the tool Or any special configuration needs to be set Hey John, I was just scrubbing the forums when I noticed that your question had not been answered. After collecting data with the profiler it should always generate a report or give you a warning that no data was collected in the profiling run. I've never seen an example of it not doing one or the other. One thing to check is that in the session property page for the performance session yo ...Show All

  • Visual C++ Creating an event handler at runtime on an object created at runtime

    Hi, I need to create a custom COM object at runtime and hook an event to an event handler also at runtime. Is it feasible, anyone tried it I found another way to do it. I created a control that contains the object that i needed to connect to and i just wrapped a class that handles the object and the event so, when the event is thrown, the new object throw a message that the class who created the object at runtime can hook to the message and implement it's own handler. ...Show All

  • Visual Basic FrmMain= StartupForm but with conditions....

    My app. has several forms but only one main form (FrmMain) which has to shown up on application start. No big deal, eh But before FrmMain is enabled I want to check somethings in a MS-Access Database: 1. MyApp can be used by several Users 2. Every User can have several Proyects So I want on app.start to be the Main Form be visible but not enabled yet because first I need to check: - If there exist(s) users in the database or not (Table Users) - If so if this (or these users) allready have a Proyect defined (Table User-Proyects (=User-Id)) According to these situations in the foreground (active form) an auxiliary form should be shown before we can enable the Main Form. Some hints here for a VB-5'er please. T ...Show All

  • .NET Development Internet Connection State

    How can i get state of internet connection (Online or offline) with C# Managed Code (No use Win API) A small modification to the above code to make it perfect, [The code changed in BOLD font] private bool IsInternetConnectionAvailable() {     try     {        WebRequest WebReq = WebRequest .Create( "http://www.google.com/" );        WebResponse WebRes = WebReq.GetResponse();        if(HttpStatusCode.OK == WebRes.StatusCode)        {            WebRes.Close();    ...Show All

  • SQL Server how to perform this query to return data?

    I am using this stored procedure to check if user is exist and update his alread_loggedOn field.. IF EXISTS ( SELECT login_user_id , login_password , person_name , staff_active , is_staff , company_id FROM persons WHERE login_user_id = @login_user_id AND login_password = @login_password AND is_staff = 'Y' AND staff_active = 'Y' AND already_loggedon = 'N' ) BEGIN -- Insert statements for procedure here UPDATE persons SET already_loggedon = 'y' WHERE login_user_id = @login_user_id AND login_password = @login_password AND is_staff = 'Y' AND staff_active = 'Y' END ELSE -- RAISERROR('This value already exists.', 11, 1) RETURN 1073 b ...Show All

  • SQL Server Error in CASE expression

    I would appreciate assistance as to how I should correct the following CASE expression:: BilledCarrier = CASE LEN(cur_billed_carrier) WHEN >0 THEN cur_billed_carrier ELSE 'Not Billed' END I want to return the cur_billed_carrier when its length is >0 but I can't find the correct syntax. My attempt returns an error at the '>' operator. Thank you. CASE expression has two formats: case <expr> when <expr1> then <return_expr1> when <expr2> then <return_expr2> ... else <return_expr_N> end -- and case when <lt_expr1> <operator> <rt_expr1> then <return_expr1> when <lt_expr2> <operator> &l ...Show All

  • SQL Server How can only certain objects (dimensions, cubes) be deployed?

    How can only certain objects (dimensions, cubes) be deployed From Visual Studio I would like to deploy individual items like a dimension or cube without all of the changes in the other objects being deployed. I don’t see any way to do that. Every time one thing gets deployed, all changes get deployed. Visual Studio sends a Message Box Stating that the whole SSAS Database will be overwritten on the server and asks if you want to deploy or not. We have multiple developers working and it has become a problem. We can’t deploy just those changes that are ready without overwriting the whole database. I don't see any easy answer to your question. In your scenario, it might be ...Show All

  • Visual Studio Tools for Office Probem with "CommandBars.Add" command

    Hi, I have a very strange problem and could not find solution yet. I have a VS.2005 VSTO project for Excel Add-In. If I have the following piece of code excel shows two messages as expected. //*************************************************************************************************** public void OnConnection( object application, Extensibility. ext_ConnectMode connectMode, object addInInst, ref System. Array custom) { try { applicationObject = application; addInInstance = addInInst; MessageBox .Show( "test___1" ); excelApp = (Microsoft.Office.Interop.Excel. Application )(application); MessageBox .Show( "test___2" ); } catch { throw ; } } ...Show All

  • SQL Server Insert without duplicates

    i have a table that contains a list of musical artist and an index. I want to insert artists into that table however, i dont want to insert any name that already exists. How do i do that Here is my statement: INSERT INTO [Artists Table] (ArtistName) VALUES (@ArtistName) I think i figured it out: INSERT INTO Recordings (RecordingTitle, ArtistName) SELECT @RecordingTitle AS Expr1, @ArtistName AS Expr2 WHERE (NOT EXISTS (SELECT RecordingID, RecordingTitle, ArtistName FROM Recordings AS Recordings_1 WHERE (RecordingTitle = @RecordingTitle))) AND (@ArtistName = @ArtistName) ...Show All

  • SQL Server Invalid return value from stored proc from VC++ 6.0

    I have a stored procedure that takes a computer name (nvarchar) and either updates a time stamp in a matching row or adds a new row when no match is found based on the computer name (replicates a set of rows in another table as well in the case of not found). When the row is unmatched, an output param (int) is set to 1 indicating it is new. When found, a zero is placed into the output parameter. This stored procedure worked fine until we recently upgraded to SQL Server Express (2005). C++ code: _bstr_t conn_str = CONN_STR; conn_str += (LPCTSTR)_server_name; try { _ConnectionPtr epi_conn; _CommandPtr cmd("ADODB.Command"); _ParameterPtr param; long addfg; _variant_t var_addfg; // // connect to database ...Show All

  • .NET Development To clean pool of connections in ADO.NET

    Hello. I have an application done in .NET, in which a connection to a data base becomes Informix, by means of component ADO.NET. Specifically it is an application Web done in ASP.NET. What happens is that when a user opens the main page of my application he uses one of the connections available in pooling. Until the moment all good… The problem is when a user closes his page (even, he closes browser). Since if I see pool of connections of the servant, still it continues existing the connection in pooling. The disadvantage is that this connection can be there for a long time! Therefore, when 200 users in concurrent form connect themselves (in PCs different), the message is sent: “THE SIZE OF THE POOL HAS BEEN SURPASS ...Show All

©2008 Software Development Network