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

Software Development Network >> Federico Silberberg's Q&A profile

Federico Silberberg

Member List

Heinz Krug
lushdog
SHBEHM
George Clingerman
boston_sql92
adolmac
ShrikantBijapurkar
Zeldacat
Muricy
Jean Olbrechts
SOTY_Programmer
ogtr
reya276
Timmer26
tunesmith
chris townsend
Scurvy Lobster
SchallerJe
Mark Coleman
sandeep437
Only Title

Federico Silberberg's Q&A profile

  • Visual Studio 2008 (Pre-release) How to realize, if my own dependency property is already registered?

    Hello, I have own dependency property defined. I use it in ResourceDictionary. public String StyledContent { get { return ( String )this. GetValue ( StyledContentProperty ); } set { this. SetValue ( StyledContentProperty , value); } } public static readonly DependencyProperty StyledContentProperty = DependencyProperty . Register ( "StyledContent" , typeof( String ), typeof( Button ), new PropertyMetadata (string. Emp ty )); If I use it in one window, it works well. But if I create another window from the first one (it uses that dependency property too), I get an exception Cannot convert the value in attribute 'Property' to object of type 'System.Windows.Dependen ...Show All

  • Visual Basic How to sign exe with digital certificate to suppress security warning from IE7 when executed from a client

    Hi newsgroup, I searched a lot in many newsgroups today, but now I'm very disappointed not to find an answer to my question. I know, that this is not a VB5 forum, but maybe my problem is useful for .NET users, too. I would appreciate, if you could point me to the right newsgroup, if this is not the right place. An old Server/Client software, developed with VB5 many years ago and still in use, is installed on a server and executed on some clients through a network share. Server and Clients run with every operating system Microsoft has released the last 10 years (Windows 95 to Windows 2003 Server). For many years this approach worked fine. But since the latest Updates from Microsoft for Windows XP SP2, especially IE7, a security war ...Show All

  • Visual C# Adding labels to form

    hi everyone..in my project i add labels to form.. i created a label array with name yazilacak..how can i add this labels to form.. yazilacak[i, j] = new Label(); yazilacak[i, j].Location = new Point(700, 30 + 17 * j); yazilacak[i, j].Size = new Size(60, 17); yazilacak[i, j].Text = b[i, j].cihaz_no; i think i must use Form2.Controls.Add(yazilacak[i,j]; but it gives an error like this: An object reference is required for the nonstatic field, method, or property what must i do_ thank you..i think this is the answer which i was looking for..thank you for your attention and can you explain me "this" function..i know it from C++ but in the visual studio i ...Show All

  • Windows Forms go back in graphics

    how can i go back to previous state when i draw graphics shaps such as ctrl+z key Please see the following link. This may be useful to you http://www.marcclifton.com/Articles/DesignAndArchitecture/UndoRedoBuffer/tabid/100/Default.aspx ...Show All

  • .NET Development ClickOnce not FIPS compliant?

    I work at a military installation where we have a number of in-house programs that we were migrating to .NET 2.0. After converting about 3 projects over .NET 2.0 and testing the ClickOnce deployment, upgrades done to the domain security policy caused ClickOnce to break. The securtiy policy enabled the "Use on FIPS compliant algorithms for hashing/encryption" setting. So now, every time a ClickOnce installtion attempts to take place, we get an error similar to this one: (note - this is not MY error message...but it is very similar. This person had the same error a year ago...and didn't post any resolution. This is the only incident of my problem that I've been able to find...and no clear resolution has been made available - or eve ...Show All

  • Microsoft ISV Community Center Forums Help with FileSearch

    Hello all! Well, I'm a newbie here, to VB as well. I'm currently learning to write macro for Solidworks, which is a CAD software. In the Solidworks macro, I'm trying to use the FileSearch object. So, I added reference to Microsoft Office 11.0 Object Library. Then, what would be the next step so that I can use FileSearch I have looked at Object Browser, but I don't understand it. Some pointers on Object Browser would be great too. Thanks. cc When I run the code, I get the following: Run-time error '438' Object doesn't support this property or method. Here's my code: Option Explicit Dim fsoFileSearch As Office.FileSearch Sub main() Dim i As Long Set fsoFileSearch = Application.FileSearch With fsoFile ...Show All

  • Visual Studio 2008 (Pre-release) Data Binding and element serialization.

    Hello, I would like to achieve following behavior: 1) I would like to set binding to some element property at runtime; 2) After that I would like to serialize the element to XAML and still have the binding available there; I.e. after setting a binding to property "Height" of the StackPanel element and serializing the element, I would like to have output similar to this one: <StackPanel Name="StackPanel1" Height="{Binding Path=MySourceProperty}" ... /> I already tried several ways: 1) Binding binding = new Binding(); binding.Path = new PropertyPath("MySourceProperty"); BindingOperations.SetBinding(StackPanel1, StackPanel.HeightProperty, binding); Serialization produces o ...Show All

  • Visual Studio Team System Cannot create project (TF30225: xp_sqlagent_notify)

    The installation finished correctly but I still cannot create any project. (I already searched the forum and no luck). This is the error I am getting: ---begin Exception entry--- Time: 2006-08-23 17:39:03Z Module: Engine Event Description: TF30162: Task "Populate Reports" from Group "Reporting" failed Exception Type: Microsoft.TeamFoundation.Client.PcwException Exception Message: TF30225: Error uploading report : Work Item with Tasks Exception Details: The Project Creation Wizard encountered a problem while creating reports on the SQL Server Reporting Services on MARS. The reason for the failure cannot be determined at this time. Because the operation failed, the wizard was not able to finish creating the ...Show All

  • SQL Server Error Processingn Cube with time dimension

    The strange thing is that- i create two cubes with same data source using the same fact table and the same dimension in both cases. However with the first one i dont define the dimension as a time dimension and the cube processes fine. With the second cube i do define the dimension as a time dimension and then the cube processing errors. The error say attribute key cannnot be found But it was found in the first cube Anyone know what might be causing this Thanks, This is not a good practice to have a nullable key. Although Analysis Services allows you to map null keys to Unknown member in the dimension, it is not a good idea. To solve this problem try define a named calculation in yo ...Show All

  • Visual Studio Express Editions Detect event for Windows logout/shutdown

    Hi, I use VB2005 and i need to develop an application that start by itself when a user log in and launch a last command when the user log out or shutdown windows. To start the application it's ok and fine but i'm not able to find in any documentation how in a console application you can create a addhandler command that will be triggered when the user leave windows or shut it down ... Any help would be greatly appreciated! Thanks, N. dont know why "it wouldnt work"...as Me.Hide() will always hide the current form, as you have done. I dont know if its the fact you dont have a proper instance of the form created but rather doing : App_handler.My.Forms.Form1.startup_process() ...Show All

  • SQL Server Can synonyms be used to replace hundreds of lines?

    Hello I'm looking for a way to store a large chunck of text (200 lines) in a variable which can be called in different objects within the database. For example: I have several stored procedures that create the same temp table which exists of 200 column names over and over again. It would have to look like this Import myScript (I keep thinking of Import like used in .NET) and myScript could exist of: CREATE #MyTable( ...) or even some simple text or a part of a sql statement. I'm familiar with synonyms but you can't use that in this scenario. Then I thought of functions. The scalar function returns a result, not what I want here. Table valued function return tables, not what I want. Many thanks in advance! ...Show All

  • Visual Studio 2008 (Pre-release) Setting foreground and background to be the same when a control is disabled

    Can someone suggest XAML code that would set the foreground and background of a control (say a TextBox) to be the same when it is disabled as it was when it was enabled. I mean if the Background was white and Foreground was Black when the TextBox was enabled, if the TextBox is disabled, the Background and Foreground should remain the same and not be grayed out. this works fine for me < ControlTemplate.Triggers > < Trigger Property = " IsEnabled " Value = " False " > < Setter TargetName = " Border " Property = " Background " Value = " {TemplateBinding Background} " /> </ Trigger > </ ControlTemplate.Tri ...Show All

  • .NET Development Hight CPU Usage on idle

    Hey guys, Could anyone please have a look at this code. As soon as the Listener is started the CPU runs up to +40%. Code: Imports System.Net Imports System.Net.Sockets Imports System.Text Public Class clsServer     Public Clients As New Collection     Private Listener As TcpListener     Private t As System.Threading.Thread     Private reader As System.IO.StreamReader     Private writer As System.IO.StreamWriter     Private Lock As String     Public Sub StartListening()         'We'll use the local IP (127.0.0.1) and port 2501         Listener = New TcpLis ...Show All

  • Visual Basic Edit properties of controls on other forms

    I understand how to change the value of a textbox by making a new form in the code Dim Form2 as New form ... Form2.show() This however does not work for me, i need to edit existing form controls that i make in the designer. So instead of making a new form in the code, i wnat to just edit one i already made. Right now i can only get the code to run when I dim Form1 as new Form I cant dim it as new, then nothing works and i get null erros and such. Any help will be greatly appreciated, I did search the forums and all i found was what i have above and that wont work, atleast i dont believe it will. I'm not sure I understand exactly what you'd like to do, but it sounds like you're t ...Show All

  • .NET Development inter-process communication in .NET - weird problem

    Hi All, I'm using the approach outlined in http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpguide/html/cpconremotingexampledynamicpublication.asp , but with my own client and my own server. Everything works great for a while. My client .NET application can communicate just fine with the exposed proxy object. Then after six or seven minutes I get the following exception: Source: System.Runtime.Remoting Requested Service not found System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at MorganStanley.OmegaSuite.BusinessComponents.Base.RemoteCommunicator.InvokeRemoteAction(Object[] args) at MorganStanley.OmegaSuite.BusinessComponents.Base.DotNetServerLauncher.Invok ...Show All

©2008 Software Development Network