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

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

CetinBasoz

Member List

patio87
kimhoskin
insaneolly
LaurieDThompson
Bobyang2
Ljhopkins
ephisians
ftamminga
Stephen Castle
Lee Brimelow
Gurpreet_Sodhi_69db48
Peter Ritchie
RingOfFire
ackermsb
Raymundo Chapa94595
sanwanas
Lawrence 007
prashanthkumarhv
JDWCLG
Vinayak Kamat
Only Title

CetinBasoz's Q&A profile

  • Smart Device Development Another Control.Invoke

    I am confused about the error I am getting trying to use Control.Invoke in the following. I thought "this.Invoke" for a class derived from Form would work. This is CF2.0 Steve public partial class AssetTracker : Form { ... public void setWebBrowser(WebBrowser newBrowser) { // called from another thread // save status in local variable browser = newBrowser; // the following causes error: "Control.Invoke must be used to interact with controls created on a separate thread" this.Invoke(new EventHandler(workerAddBrowser)); } private void workerAddBrowser(object sender, EventArgs e) { Controls.Add(browser); } seu wrote: Thanks. That got rid of the exception. What is the si ...Show All

  • SQL Server Mobile Line of Business Solution Accelerator

    If you're looking for resources to give you a head start in building a Windows Mobile line of business application to deploy in your enterprise, look no further than http://www.microsoft.com/downloads/details.aspx FamilyID=80a5c2c5-4f9b-4c1a-bff6-2a3c6b68d15b&displaylang=en . Covering the use of Visual Studio 2005, the .NET Compact Framework 2.0, C#, Windows Mobile 5.0, SQL Server 2005 and SQL Mobile 2005, this kit illustrates the best development practices in the following areas: Supporting various device UI's through Docking and Anchoring. Utilizing Error Logging to capture application exceptions for later analysis. Bringing desktop-style XML Application Settings to the Compact Framework. Enforcing the use of ...Show All

  • Visual C++ sending arrays

    hello guys, its my first time here, i have a class containing an array like this array[5][5][5]; and another class contains a function that will manipulate that array, the class named dijkstra and the function will search a path between two cells, but u dont have to know that. how can i send the array to the function in main p.s: the dijkstra inhirites the class that contains the array and thanx. typedef int myarray5x5x5x_t[5][5][5]; void process_array(myarray5x5x5x_t& arr) { ... } void main() { myarray5x5x5x_t arr = {0}; process_array(arr); } ___________________________________________________ Best regards, Alexander Stoyan E-mail: alexander.stoyan@gmail.com MSN: alexander.stoyan@gmail.com ICQ: ...Show All

  • SQL Server Boolean logic on binary data

    Hello, I have a 21-byte binary field in a SQL Server table with which I want to do boolean AND logic in a report. (Basically, I want to test whether or not individual bits are turned on.) How can I do this Is it possible to deal with the binary data without first converting it to a string Thanks, Mark How exactly do I refer to the data, however What I mean is, I need to access the bits of this big blob of binary data, but SSRS is not binary-friendly--it wants a string or an int. All I want to do is access 1 particular bit of this binary blob. If I have to convert this to a string somewhere I will, but I'd prefer not to if at all possible. (FYI, the report needs to analyze the logonHours attribute for an A ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Debug a XB360 project on PC?

    When a project is created as XB360 Game, it can be deployed to the XNA Launcher by press F5, but it is quite annoying even if just change a line of code and test it. Is it possible to debug (or even build release ) a game on both XB360 and PC without project migration Is the question whether you can debug a game, or to debug locally on your PC so that you don't need to deploy every time We currently don't have support for doing cross-platform builds in the same project, but if you search through this forum, you'll find threads discussing how to use the same source code for both an Xbox 360 game and a Windows game project. On the other hand, I do not expect most single-line code changes to take very lon ...Show All

  • Windows Forms System.ArgumentOutOfRangeException when trying to assign .Text property of combobox

    Some times (but not always) when I try to assign the text value of a combobox in my application (Code: combobox1.text = "") I get an exception. I can't figure out why.... Any Comments Here is the exception details System.ArgumentOutOfRangeException was unhandled Message="InvalidArgument=Value of '0' is not valid for 'index'. Parameter name: index" ParamName="index" Source="System.Windows.Forms" StackTrace: at System.Windows.Forms.ComboBox.ObjectCollection.get_Item(Int32 index) at System.Windows.Forms.ComboBox.get_Text() at System.Windows.Forms.Control.set_Text(String value) at System.Windows.Forms.ComboBox.set_Text(String value) at VBNETClient.OPCClient._UpdateItem() in ...Show All

  • SQL Server How to set up a login that should execute a specific SQL Server Agent job

    I am looking for a good idea or best practice for setting up a security plan which allows users to execute a specific job, owned by the SQL Server Agent Service Account. I tried to use the msdb SQLAgentOperatorRole, but unfortunately I recognized, that every local job could be executed.    I would like to have only one job executed by the user and all others should be visible, but not executable. What is the best practice for this request Can Proxies and credentials be helpful and if yes, how do I have to use them In other words: what is the best approach for this request (end user should see and start specific jobs in the SQL Server Agent).   Thanks in advance Norbert   ...Show All

  • SQL Server large value data type (nvarchar(max))

    hi, I have inserted a new column in my db table (type: nvarchar(max)) now I can't process the cube anymore ... is there a possibility to store large text files in the cube thanks, rhapsy hey mike, probably it would be easier, but I'd like to get all my information from the same source ... and I'm a little bit curious if thias is possible ... thanks, rhapsy ...Show All

  • Visual Basic Apparent bug in cube root function for VB.net

    I have detected what appears to be a serious bug when cube roots are taken of variables containing negative double precision numbers. I presume I'm making a mistake since I can't imagine that this bug has gone unnoticed so far. The below code is used with a form containing one button and three textboxes. X is assigned a value of 4 and Y is assigned a value of -4. Z stores, consecutively, the cube roots of X, -4 and Y which are displayed in the three textboxes. Cube roots of X and -4 are displayed correctly but the cube root of Y (-4) is shown as "NaN". The cube root of -4 using the Windows XP calculator yields the same "NaN" result on my computer. I would very much like to know how to deal with this. Thank y ...Show All

  • Visual C++ How to make a window moving handle (click and drag the handle to move the window)

    I need to make an app with no borders/title bar (got that covered) that has a window moving handle (the form background) that moves the window when you click and drag it. If this puzzles you think of Windows Media Player in Skinned Mode. Can Someone Please Help Me Flame thrower Sry I can't understand you. But the code is identical. You need to overwrite the same windows function like in C#, its the same code to compare the parameters and its the same code to return. What is your problem ...Show All

  • Windows Live Developer Forums Request for the permission of type 'System.Data.SqlClient.SqlClientPermission, System.Data, Version=2.0.0.0

    Hi, I created a simple add-in for Windows Live Messenger. All it does is open a connection to a local SQL server and retrieve some information. However, as soon as it tries to open a connection, I get the following error: Request for the permission of type 'System.Data.SqlClient.SqlClientPermission, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed I went to .NET Framework 2.0 configuration --> Runtime Security Policy --> Increase Assembly Trust and set the assembly's trust level to "Full Trust". However, I still get the same error above. I also tried to adjust zone security and set every zone's trust level to "Full Trust" as well but still no luck. Can anyone please h ...Show All

  • Visual Basic Use regular expressionn in your program

    Hi All, I need to populate ISBN No on btnSubmit_Click event using Modulus11 check. The input box is a text box " txtISBN" and the ISBN Number will have 10 digits. . Any idea how I can implement this Any help appreciated Ronan Jordan, I suggest you to write a regular expression in your program such as in the button click event. Here is an example on the ISBN regular expression: Title: ISBN-10 Pattern: ISBN\x20( =.{13}$)\d{1,5}([- ])\d{1,7}\1\d{1,6}\1(\d|X)$ Matching Text: ISBN 0 93028 923 4|||ISBN 1-56389-668-0|||ISBN 1-56389-016-X Non-Matchig Text: 123456789X|||ISBN 9-87654321-2|||ISBN 123 456-789X ...Show All

  • Visual C# Invoking reflected method without boxing its return value.

    At run time I want to invoke a method that returns a double using reflection. However, if I invoke it using MethodInfo::Invoke, the return code will be boxed. Is it possible to invoke such method that returns a value of primitive type without this value being boxed Is it possible to create a delegate wrapping a reflected method Thanks! ...Show All

  • SQL Server Request for the permission of type System.Net.Mail.SmtpPermission

    Hi all I have some problems with sending Mail over System.Net.Mail ... I have made a C# Class which sends mail, and it works fine. Now I have added this assembly to SQL Server 2005, I made the SQL function and so on. When I try to run it I get the following message: Msg 50000, Level 16, State 1, Procedure SendMail, Line 114 Request for the permission of type 'System.Net.Mail.SmtpPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. Would be very very happy for any comments !! Thanks and best regards Frank Uray Hi, how did you register the assembly in SQL Server (which security settings / safe/unsafe/external Access HTH, Jens K. Suessmeyer. --- http://www. ...Show All

  • Visual Studio Team System Team Project Creation Failed

    Hi I have just installed and configured the VSTS foundation Server 180 Day Trial Edition. When I create a new team project with my user credntials (which have been added to the TFS Admin group and SQL Reporting and Sharepoint) I get the error below. When I create a new team project using the TFSSetup user the project creation is successul, however I am unable to retrieve work items from the Project from Excel or Project. I get the following error "TF80066: You are not authorized to porform this operation. Please contact your Team Foundation administrator." I am not sure if the problems are related. Any help would be greately appreciated. Cheers Jock Error TF30004: The New Team Project Wizard encountered an unexpected erro ...Show All

©2008 Software Development Network