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

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

rykk

Member List

redwood739
trun_gup
js123
airwalker2000
Cammyr
nw_LHC
Esp_99
somecrazyguy
Ed Hintz
just david
Booge914
zhihao
Sarah21
fatquack
Yuriy Mann
Toolz
NickUk
ChoKamir
Meltdown61
2162
Only Title

rykk's Q&A profile

  • .NET Development Using == null on Nullable type

    I found using == operator to compare a Nullable variable with null always return false. Is it a bug on C# 2.0 Nullable<T> is a value type so is never null. It overloads the Equals() method: int x = null; if (x.Equals(null)) Console.WriteLine("It workz"); if (Nullable.Equals(x, null)) Console.WriteLine("This too"); Under the hood, Nullable.Equals() uses the HasValue property. ...Show All

  • Windows Forms Custom Shape Form

    I have done everything it says on the link below but it still doesn't work... ms-help://MS.VSExpressCC.v80/MS.NETFramework.v20.en/dv_mancli/html/2cf1744b-60f1-45df-b757-6a769a12e277.htm Please have a look, I've done everything it says but still doesn't work - Please come up with any solutions to my problem. Code: VB Thanks in advance Hi The Link which you have provided is from the msdn which ypu have installed, which iam not able to view the details. Can you post some links from the web so that we would know what exactly the contents are. Thanks ...Show All

  • Visual Basic Settings ConnectionString "ease of use"

    is there any way change applicationsettings ( Properties. Settings .Default.ConnectionString is readonly property) at runtime especially for the ConnectionString. It is common to write and test on one computer but deploy for other computers with other dbnames etc. ConnectionString as Application Setting (VS2005) is very practical but one has to be able to change the contents at run time. I have not discovered how. Of course one could just touch every object accessing a db and change its ConnectionString, but I was hoping there would be a much smarter approch than that. You can create two copy of app.config file, one for debugging and another for deployment. Before you deploy your app, you just copy over th ...Show All

  • SQL Server Lots of stats based on one database table

    Hi, I'm new to reporting services and this is a very general question. I'm working on a large sales stats report with many results. I want to be able to compare many results for two dates. These results include, average sales value per day, average sales per weekday, sales with payment received, etc. So basically there is lots of analysis needed mainly based on one database table (a fairly standard orders table). What seemed the most logical thing to do is get all the relevant order rows for these two date ranges, A and B, and append a period column to the results, and then do all the maths/aggregate functions in Reporting Services. Thus only having to connect to database once. And use a matrix with date period columns. So m ...Show All

  • Windows Forms SQL injection in windows application?

    Hi everyone, I got the error with the database whenever I used the mark ( ' ) for example: I ' m, don ' t... Does anyone have any solution for this problem Thanks a lot! ...Show All

  • Visual Studio Express Editions Deploying VB.NET apps with COM Interop

    Hi, I'm relatively new to development with .NET. I needed to reference the Active DS Type Library for my project. Why must I deploy my application with this .dll when I'm pretty certain it would be found on most current windows os's Isn't there a way to tell my app to look in %windir%\system32 rather than requiring this .dll to be distributed with my app Thanks, Jim JTokach, Since you are deplooying the .NET application with the reference COM added, you are using the ClickOnce technology for your deployment. Before you add the reference of the dll component, I guess you have registered the file with regsvr32 command line to add it in your registry. The Regsvr32.exe file is in the %windir%\sys ...Show All

  • .NET Development How to intercept the .NET loader?

    Hi, I'm looking for a global possiblity to intercept the .NET assembly loader after the app domain is created but before first the assembly is called in it. By global I mean for each .NET application started on the machine. Have you seen RAIL I'm trying to learn whether it's possible to do this dynamically at runtime, rather than requiring the profiling API. http://rail.dei.uc.pt/index.htm ...Show All

  • SQL Server Dynamic Logging Properties in MS SQL DTS packages

    Since I can't seem tofind the Microsoft SQL 2000 forum, I will post this here: I currently have logging enable on several of my packages. However, we are still in development of our packages and are reaching upwards of 100 and logging will eventually need to be active on all of them. In production, there will still be a development server and a production server, both with different server names and user id/pwd. I am looking for a way to dynamically change the logon information for the logging so that we do not have to have someone go through and manually change the options. I have tried using Dynamic Properties Task, but this only works on the 2nd run of the package. ----- As a second question: can anyone explai ...Show All

  • Smart Device Development keybd_event not firing OnKeyPress callback method

    I have a form that overrides the OnKeyPress() / OnKeyUp() / OnKeyDown() methods. When I do a P/Invoke call to keybd_event() it does not make it into these methods. Here is my P/Invoke: public const int KEYEVENTF_KEYUP = 2; public const int VK_RETURN = 0x0D; public void pressEnterKey() { //press the enter key keybd_event(VK_RETURN, 0, 0, 0); //releasethe enter key keybd_event(VK_RETURN, 0, KEYEVENTF_KEYUP, 0); } Is this a threading issue Thanks, -Alan- I'm in Windows Mobile 5. I've tried many keys. None of them work. I'm invoking this in a unit test helper class that is running outside the GUI thread, so I believe that it's not firing the event correctly back to ...Show All

  • Visual Studio Sandcastle December CTP - Member pages have no collapsible group descriptions?

    Hello All, I have been using the new ApplyVsDocModel.xsl in the December CTP instead of AddOverloads.xsl to generate the member pages, but when I look at what it  has produced I can see it has put the members into various collapsable groups, but there is no name describing the group. For example, the Public Methods group  has a - or + icon to allow the group to be collapsed or expanded, but there is no description following it so it is not immediately obvious what group of members you are looking at. In the member page that was generated for my code, it produced 5 collapsible groups (Public Methods, Protected Methods ,  Public Constructors, Public Properties and Public Events) but without the description of the group ...Show All

  • Visual C# How Visual C# is better than Java ?

    Can u give me some points ragarding how the c# is better than java what is future of C# in compition with java The question is good. At first C# is more faster than Java. And C# is include .NET technology. This is a good reason for many programmers. And C# has a very improvment IDE (MS Visual Studio 2005)   Have a good coding... ...Show All

  • Windows Live Developer Forums How to update a gadget

    I'm wondering how to update an existing gadget on the live.gallery When I go to my profile I only can update the descption text but not submit updated (zip) files for the gadget. Do I have to take it of In that case the gadget isn't availble anymore I think and it's downloaded about 8000 times so that should not be the right solution. Drs.P. wrote: I'm wondering how to update an existing gadget on the live.gallery When I go to my profile I only can update the descption text but not submit updated (zip) files for the gadget. Do I have to take it of In that case the gadget isn't availble anymore I think and it's downloaded about 8000 times so that should not be the right solution. 20 readings nobod ...Show All

  • Smart Device Development resource assembly error - System_SR_ENU_wm.cab installed.

    I know this has been posted before but can anyone offer any advice on the ' An error message cannot be displayed because an optional resource assembly cannot be found' error other than installing 'System_SR_ENU_wm.cab' All advice I've seen is to install 'System_SR_ENU_wm.cab' but this is definately installed and I'm still getting the error (or rather lack of). I know the exception is a web exception but need to see the details to sort out the problem I have with my mobile application (WM5 on UK english device). The error is raised when the device calls a method on a web service. It works when the device is cradled but when not it starts the GPRS connection as it should but then errors. So I'm mainly after advice on how to get err ...Show All

  • Windows Forms Log message area - best way to implement?

    I want to create a read only area on a form into which I can write log-type messages on the progress of a algorithm. The messages will be a single line each. The messages will also be written to a file. So far I can think of a multiline textbox or perhaps a one-column DataGridView. I want to be very lazy and simply try to append a line of text to a list. The textbox might result in a very long string - perhaps too long. The DGV would need to feed from an array which seems like overkill. Any other ideas Yes, that is the limit of a textbox content. richtextbox uses the resource(machine memory) limit. However since you will write a log, I will just stick with textbox. Just append both to the file and t ...Show All

  • SQL Server How to write Prediction Query for TimeSeries Algorithm

    hi,I am a novice SSAS Programmer.I need a prediction Query in time series algorithm, so that it should predict for a particular date.I dont know how to use where condition in a prediction Query. Thanks Karthik Hi, You should use the PredictTimeSeries function. For example, suppose you have this kind of data TimeIndex Quantity Amount 200406 47 25379.53 200407 42 100130.04 ...... Suppose you goal is to predict the future sale amount. You can use BI Dev studio to create a Time Series model with TimeIndex as key. Qunatity as input, Amount as input and predictable column. You can issue this query agaist your time series model: SELECT flattened PredictTimeSeries ([Time Series].[Amou ...Show All

©2008 Software Development Network