Software Development Network Logo
  • Visual Basic
  • Visual FoxPro
  • Visual C++
  • SQL Server
  • VS Express Editions
  • Windows Live
  • Visual C#
  • Smart Device
  • Architecture
  • VS Team System
  • Windows Forms
  • Microsoft ISV
  • Visual Studio
  • Windows Vista
  • Game Technologies

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

MichaelZ

Member List

CarlosFernando
exina
henlylow
jhlcss
Sundararajan
spert
Luis Abreu
jayk
RWP
JimboGT
vbdotnetguy
DemonEyesKyo
Parrotboy
David McIntosh
KSC1
MVerdeur
BayerWhite
pieter-kun
Frans
Hongtao Liao
Only Title

MichaelZ's Q&A profile

  • Visual Studio 2008 (Pre-release) Mixed credentials: Username & Certificate

    Greetings, Our services will be exposed on the Internet. Only specific partners applications should be able to have access to them. At the same time, the partners applications users will need to be authenticated & authorized by our services. We will use role-based security to authorize them. The reason why we need a double validation using a certificate for each application is because we don't want anybody on the internet to be able to query those services directly (that includes our users having usr/pwd credentials who could try to pull the services content from their own app). We want to make sure only "known" applications ...Show All

  • SQL Server I can't deploy a Cube

    I have installed the client version of Sql Server 2005 on my machine and the server version is Installed on a server of my company (VALLEY). I have created a Cube with the wizard to test Analysis Services 2005 and see the result after the deployment. The cube works with a database called ROI on the server VALLEY, But, when I try to deploy the cube, I have this error message: " the user XXXX don't have permission to modify the object or the object does not exist"   I don't know if I must configure some specific access. Could you help me please, I search a solution since 2 days with any results. Be ...Show All

  • Visual FoxPro Runing Total

    Dear Experts There are three numeric fields, fld1,fld2,fld3 and data in fields as Fld1   Fld2 1      2 6      8 3      7 0      3 I want to get runing total of fld1+fld2 in fld3 as 3 17 27 30 Please help >> I want to get runing total of fld1+fld2 in fld3 as 3 17 27 30 Actually, the easiest way to do this is to scan the table: SELECT (table_name) STORE 0 TO lnRunTotal SCAN   lnRunTotal = lnRunTotal + fld1 + fld2   REPLACE fld3 WITH lnRunTotal ENDSCAN ...Show All

  • Visual Studio Tools for Office Unable to Reference office.dll in VS 2005 project

    I have created an Outlook addin in VS 2003 and wanted to port it over to VS 2005 and .net 2.0; however, I dont seem to be able to reference the office.dll in the project in vs2005. It is properly registered in the GAC and is still visible from VS2003. Even when I point directly to the dll it doesnt seem to recognize it. When I compile the code I get the following error: Error 1 The type 'Microsoft.Office.Core.CommandBars' is defined in an assembly that is not referenced. You must add a reference to assembly 'office, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c'. J:\EDMGProjects\CET03136\ESNP\Code2.0\EsnpOutlookAdd ...Show All

  • Visual Studio 2008 (Pre-release) VS Extensions December 2005 CTP on Vista do not work correctly

    I installed Visual Studio 2005 TS RTM, WinFX, WinFX SDK and VS Extensions on Vista 5270. I could load my November CTP Projects without problems and the Cider designer works fine but I don't have any project templates ... There are no WinFX Projects and no WinFX Project Items available :-( I noticed that LINQ Setup fails to install at the point when it copyies its project templates ... Hi everybody, having about the same problem and a similar configuration, I called devenv /installvstemplates, but instead of the winfx templates, I receive an error message like: No visual studio template information found. Anybody any idea ...Show All

  • .NET Development System.DateTime.Now accuracy in .Net 2.0

    I would if any improvement have been made in term of accuracy for the System.DateTime.Now property With .Net 1.1, this timer did have a very low accuracy, about 10~20ms, that is two orders of magnitude worse than the accuracy that you get with the mono implementation. Does someone know if this issue have been resolved with .Net 2.0 Thanks in advance, Joannes Joannes, thanks for the query. We will investigate this issue in the next versions of the framework. The likelihood that we can change this is pretty low to be honest, but it's worth having a look. The honest truth is that if you need supra accuracy, ...Show All

  • Visual Basic [VB.NET VS2005] Multicolumn combobox

    Hello, I'm new with VB.net and I've found a code that I use to do a SQL query on ACCESSDB and it return me a datagrid. For Exemple, I do a query on my tbl_person : "SELECT id_person, person_name, person_birthdate FROM tbl_person" After that, I want to show this result in a combox box, but I don't find how to have 3 columns (id, name and birthdate) with the id hidden. Usually, I work with Access forms, but I want learn vb.net. How can I do my combobox with 3 columns and with my first column hidded Thanx for you help // I'm not english, so sorry for my errors There is no such thing ...Show All

  • Windows Forms Stop form resize in vb.net (Framework 2.0)

    I must be missing something ... which is the control setting to stop a form beng resized Remember to cater for the user switching orientation of their device (ie from portrait to landscape), and the visual effect this will have on your application in this case. ...Show All

  • Windows Forms printing text

    I am trying to print a text file and am using the examples provided by Visual Studio. The following line calculates the number of lines per page in the PrintPage eventhandler: lpp = ev.MarginBounds.Height / printFont.GetHeight(ev.Graphics); The problem is that lpp calculates a number of lines but the printer is printing past the margins and I miss 2-3 lines per page. If I subtract 4 from lpp this works but why isn't the calculation correct The event is listed below: //Event fired for each page to print private void pd_PrintPage( object sender, PrintPageEventArgs ev) { float ...Show All

  • .NET Development Cannot open database "db1" requested by the login. The login failed. Login failed for user 'BIGRED1\ASPNET'.

    Cannot open database "db1" requested by the login. The login failed. Login failed for user 'BIGRED1\ASPNET'. I just got sql server ctp 2005 installed and have connected visual web developer with it.  I can create databases through VWD, but when i try to open a page with any connectivitiy to the DB i get the above error.  Does anyone know what i need to check, change or add Have you tried executing a query like: exec sp_grantlogin 'MachineName\ASPNET' I hope this information proves helpful. David Sceppa ADO.NET Program Manager Microsoft ...Show All

  • Visual Studio VisualStudio .NET 2003 - Setup - Won't Install Prerequesites

    Upon insertion of CD1 of VisualStudio .NET 2003 I am asked to install the Prerequisites first. When I click the link I am greeted with the following error message: Setup has detected that another program requires the computer to reboot. You must reboot the computer before installing the VisualStudio .NET 2003 Prerequisites. Once the system reboots, you need to restart setup. Click OK to reboot. Click Cancel to exit setup and install later. I've tried rebooting and disabling all antivirus and firewall software however it still doesn't work on my Windows XP Home Edition system. Why Try this KB: ht ...Show All

  • Visual Studio 2008 (Pre-release) foreach or yield on a 'stream' instead of an IList?

    I'm a recent exile from Java land and would like to know the following for C# (2.0 ... can't use LINQ in production yet :( ): What is the best way to not just iterate through a list, but keep track of new entries to it and 'process' those as wel.  In other words, I would like to do something like this: foreach(Data d in myList) Console.WriteLine(d.somevalue); The above line will just go through the list and display the 'somevalue' attribute of the list.  I want the foreach loop to keep 'listening' to 'myList' and each time a new value is added, WriteLine that as well. The reason I"m posting this in the LINQ forum is because I wo ...Show All

  • SQL Server ODBC Data Source

    I am new to SSIS packages and want to use an ODBC data source connected to an old Btrieve set of data files. I set up the ODBC DSN, and my SQL Server Data Connection, and can browse the tables in the Server Explorer. However with regards to my SSIS package, I'm not sure whether to use an OLE DB Source or Data Reader Source. I have futzed with both of them but haven't had any luck at seeing the tables. Can someone please give me some tips. Thanks, Carson Carson, Use the OLE DB Source. That's generally regarded as the default option and, I think, will be quicker than datareader source. -Jamie ...Show All

  • Visual Studio Tools for Office Pivot table using c#

    Hi, I am trying to create PivotTable in Excel from c#, I get to the point of creating the table but I am not able to specifi what will be the RowField or ColumnField etc. and format those data, I have written it earlier in VBA but I want to convert all my application into VSTO using c#, is there any example code for creating Pivot Table using C# by opening up an instance of Excel and then a particular workbook and then a particular worksheet in that workbook (because the data for the pivot table resides there). Thanks I'm not massively familiar with Excel VSTO, but I did have these samples bookmarked. They ...Show All

  • Visual Studio 2008 (Pre-release) Problem grouping data using CollectionViewSource

    When I try to group data using CollectionViewSource I get an error. Am I missing something or is this a bug BindingExpression path error: 'Groups' property not found on 'object' ''null''. 'BindingExpression':Path='Groups'; DataItem=''null''; target element is ''TreeView' (Name='')'; target property is 'ItemsSource' (type 'IEnumerable'); Cannot find mentor for target element. 'BindingExpression':Path='DisplayCollection'; DataItem=''null''; target element is ''CollectionViewSource' (hashcode='50510248')'; target property is 'Source' (type 'Object'); < Window x:Class ="Test.Window1" xmlns ="htt ...Show All

©2008 Software Development Network