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

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

milicica

Member List

SimonGUK
Ola Hallengren
Ermac
Amritha Chand
Hassan Ayoub
ClaudiaHelpOnVSTO
Nightmare_BE
bigove
OldtimerMCSE
Smarty
R Raghu
BeaverMan
doank
leoku
Paxos
Brad Smith
VFaul
Ashish P. Ruparel
JNG
Antti Nivala
Only Title

milicica's Q&A profile

  • Visual Studio Express Editions Directory listing in a list view?

    Hi all, Directory listing in a list view - is it possible Im looking for a like windows explorer type thing, if possible.... Thanks, James. Hi, There is a sample windows form project and a related article at http://www.kodyaz.com/articles/article.aspx articleid=28 about how to populate a listview control with the contents of a file folder. Eralper ...Show All

  • Visual Basic ADO, VB and crosstab query

    Hi, well I'm using VB and Access as the db. I have made a crosstab query in Access and it's work well, but when I do the same in VB through ADO (not the control) it doesn't work. I've just copied the SQL sentence as appear in Access to VB as something like: dim rs as ADODB.Recordset str_sql = "crosstab query" ' this is the SQL sentence as appear in Access ' conn is a ADODB.Connection already set Call rs.Open(str_sql, conn, adOpenStatic, adLockOptimistic) ' I've tried with adOpenDynamic too, but I haven't gotten the correct result When I run that, the result is not that in Access is, the result with ADO and VB give me only 3 fields -columns- (in Access are about 120 fields), I mean VB and ...Show All

  • Software Development for Windows Vista How do I implement a custom activity like the Policy activity.

    Hi, this is my example. public partial class CreditScore : System.Workflow.ComponentModel.Activity { public static DependencyProperty RuleSetReferenceProperty = System.Workflow.ComponentModel.DependencyProperty.Register("RuleSetReference", typeof(RuleSetReference), typeof(CreditScore), new PropertyMetadata(DependencyPropertyOptions.Metadata)); [Description("Set up rules for scoring prospect.")] [Category("Prospect")] [Browsable(true)] [DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)] public RuleSetReference RuleSetReference { get { return ((RuleSetReference )(base.GetValue(RuleSetReferenceProperty))); } ...Show All

  • .NET Development Transactions across WebServices

    What's the best way to handle the transactions across web services in .net How to perform a 2 -way commit Example: Client a makes a request to company ABC Server to add user. AddUser() operation is executed on Company ABC Webserver. Then a call is made to the web service to execute AddUser() operation on Company XYZ Server. ( data is synchronized on another database ) If either operation fails on eith company ABC or company XYZ, the whole operation should be rolledback. Any idea Thanks. monu Hello, If you need to perform transactions in an interoperable way, you probably want to start looking at WS-Atomic Transactions and WCF. You can take a look through the WCF web forum ...Show All

  • Visual Studio Tools for Office ServerDocument Help

    Hello, Okies here is the scenario: i want to be able to allow a user to upload a word document to my web app. When a user selects the document they have already uploaded then the Server injects a few websites specific variables then returns the document to the user. The user then opens the doc in word and a word plugin reads the values of the returned document. I'm still a little unsure how the the ServerDocument does its work but this kinda seems like a nice job for it. My only thought is that the initial document the user uploads won't be a customized document. Is it possible to let the ServerDocument embed the customization work. and then process and return the new doc Sorry if this has been answered before, i've searched ar ...Show All

  • Visual Studio 2008 (Pre-release) bind streaming XML to WPF controls?

    Hi, We have a web service that returns data in XML format, and we have a WPF application that consumes this XML by using an XmlDataProvider as the data source, and it can then populate a Listbox and a Content control with the XML data. However, the XML data returned can be really large, and it can take long time for the whole data is fetched. We are thinking to stream the XML data, and as soon as the first part of the data is coming over, we want to bind the data to the controls, and give the user the impression it is faster, as the reminding data is coming over in the background. My question is: is this possible and how :) I googled quite a bit, but could not find any howtos or demos for this. Thanks! Wenbiao ...Show All

  • Visual Basic Calling Excel-contained subroutines from a form

    Hi all, Could you please help me with the following problem I am trying to add a worksheet to the active Excel workbook and then format the first cell (A1) with a bold and somewhat larger font. For some weird reason, I can't even get the first thing to work as it should. This is the code I've written for it: Public Sub Add_Sheet(sName as string) With ActiveWorkbook .Sheets.Add after:=.Worksheets(.Worksheets.Count) MsgBox "TEST1" With .ActiveSheet .Name = sName MsgBox "TEST2" With .Cells(1, 1).Font .Name = "Arial" .Size = 14 .Bold = True End With MsgBox "TEST3" End With End With End Sub If I put this inside a VBA Macro, it works j ...Show All

  • .NET Development Searching for MCPD Materials

    Dear friends, I am thinking to sit for MCPD exam. I need free ebooks for MCPD. Where can i find out them Thanks Hi Flipendo, Based on your current MCAD credential, you can upgrade to either MCPD : Windows Developer or MCPD : Web Developer. The specific technology path that you wish to pursue will determine the resources that you need to seek. The preparation guide for the upgrade exam along the web path can be found at http://www.microsoft.com/learning/exams/70-551.asp . The preparation guide for the upgrade exam along the Windows path can be found at http://www.microsoft.com/learning/exams/70-552.asp . Unfortunately, we do not have an free ebooks available for consumption at this point. However, the ...Show All

  • Visual Studio Express Editions Problem with C#

    Is it possible to create a DLL using C# that can be declared and run in FOXPRO: I am using the following C# code to create TESTCODE.DLL : using System; using System.Collections.Generic; using System.Text; using System.IO; class DirectoryLister { public static void Main( string [] args) { int i = 0; String FILE_NAME = "C:/Test.txt" ; String path; String name; name = " " ; int j = args.Length; Console .WriteLine( "HIT SPOT A " + j.ToString()); if (args.Length > 1) { Console .WriteLine( "HIT SPOT B" ); Console .WriteLine(args[0]); Console .WriteLine(args[1]); if ( Directory .Exists(args[0])) { ...Show All

  • .NET Development MDAC and Web page

    Hi there It happens sometimes that some web page wants to install Microsoft Data Access Components (MDAC) and I don’t allow it to do that. So, why the page need DAO component in the first place It seems to me, that it is not used for anything after all (any page information loss). Can someone explain the truth Peca Thank Miha for answering Looking at page sources, there is in many situations incorporated Java byte code array as a subprogram. How I can interpret that code to be assured that it does nothing bad to my system and why it need that particular ActiveX component – for cookies or something else like phishing Peca ...Show All

  • Visual C# Passing variables or objects?

    I am fairly new to programming in C# but I have been developing in T-SQL for some time. In SQL there is no such thing as objects so we pass everything with variables. I have seen sample C# code that passes data as a variable and other times as an object. My question is which one is better, for what reason and how would I know when to use one or the other. An example is below. Thanks for your help. Private void Sample1() { Int someInt; String someString; someInt = 1; someString = “test”; DoWork(someInt, someString); } Private void Sample2() { SomeObject someObject = new SomeObject(); someObject.someInt = 1; ...Show All

  • Visual Basic Missing a DLL? A vital one?

    Ummm. I think this is a newbie question.... Well, I made a program... Then I copied it onto my JumpDrive... Then I excuted it onto someone else's computer to show him what the program was... Then there is like a popup telling me that a DLL is missing... Although I copied the whole project folder on to my JumpDrive... What's happening Thank You Keehun Nam No, I do not think so because this computer is school owned, teacher's computer and they only use Java so I don't think they .NET framework installed... Well, I kinda figured out my self.. I just decided to use the Publish my .exe so that there is the setup.exe Thank you for your reply! ...Show All

  • Commerce Server Catalog Import via BizTalk problem with PrimaryProductCategory

    I am trying to import PrimaryProductCategory values through the catalog BizTalk adapter. When I import the data for a product via BizTalk, it ignores the value that I've supplied for the PrimaryProductCategory attribute. However, when I take that same data and do a manual import via Catalog Manager it picks it up just fine. Has anyone seen this before Any help is greatly appreciated! Hey Miles, Can you send me your base catalog and update catalog xml file I would like to see if I can repro your problem. It's Alanf at Microsoft dot com. Thanks Alan ...Show All

  • SharePoint Products and Technologies i need to change the default value of a field in create new item in the task list items

    Hi, when the user is working on a certain list and he clicks on new item. I need to change the default value on one of the fields programmaticaly. So I did this, let s suppose that my list is called Tasks and the field that I need to change is the " Title " field. And I am working in a site called site2 in my Sharepoint web site. What I did I create a web part and add it to the NewForm.aspx page in the Tasks directory. Then I did this in CreateChildControls () method I did this in the code :  for (int j = 0; i < spw.Lists.Count; j++)                 {                &nbs ...Show All

  • SQL Server ERROR IN SQL SERVER ENGINE

    I have a problem starting my SQL Server engine. Its service has been stopped. It was working properly till evening “ December 8, 2006 ”. But when I came to office at 10:00 AM, it did not start. When I checked the service in “Services.msc”, it was stopped. So, I tried to start the service “ SQL Server (MSSQLSERVER) ”, but it failed with message “ Error 1069: The service did not start due to a logon failure ”. I opened “Event viewer” and looked the list in “Application” log to find out what had happened. There was an entry for “SQL Server” source with type “Failure Audit”. There was a message “ Login failed for user sa ”. What went wrong….Can someone help me Plz its urgent…. Ritesh - I do not know if you have yet ...Show All

©2008 Software Development Network