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

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

apunater

Member List

Marek Istvanek
Mohanraj_k
Ultrawhack
Saibal Goswami
qzrlsd
abuck
Seah Chen Khoon
rolf cerff
三晋一枝花
Hamed_1983
Ofir Epstein
asimsenyuva
SW_skeets
Brandon_C8
cosmmm
ititrx
Kevin8264
TopDean
Scott Chang
Volksman
Only Title

apunater's Q&A profile

  • Visual Basic Sum of an Array

    Another newbie question. I am using VB express. I have an array of intergers. what is the best way to find the sum of the array Thanks in advance Scott Code Snippet Dim arryint() As Integer 'assuming values have been added to arryint Dim cnt As Integer = 0 For Each i As Integer In arryint i += arryint(cnt) cnt += 1 Next ...Show All

  • .NET Development .NET Framework Access to Remote File Share

    Does anyone know of any .NET classes or techniques for accessing a remote file share on a different domain without using calls to unmanaged Windows API dlls I have a .NET application running on a machine in domain A that needs to access a share on a machine in domain B. I'm trying to find a way to connect to the domain B share and provide the necessary credentials without requiring user intervention. An interactive user would simply access " \\domainB\sharename " and enter credentials when prompted, such as "domainB\username" & "password". I've seen some solutions that involve calls to advapi32.dll (to create an authentication token) or mpr.dll (to create a drive mapping), but I'd like to accomplish ...Show All

  • Commerce Server RegionCodes table of the transactionconfig database

    Hi All, I am a beginner in CS and am configuring Starter Site according to the needs of the project. I am after a more definite answer on this below mentioned question. How would one go about configuring or adding countries in Starter Site for delivery addresses etc. I have got an answer in one of my previous posts from Joe Wasson - MSFT, which is mentioned below: This is exposed through the RegionCodeDataSet of Commerce Server. The data is contained in the RegionCodes table of the transactionconfig database. (I'm not sure if it is exposed through the Customer and Orders Manager UI, I don't have a box installed I can look at and no one is around I could not find UI in Business User Application Managers to add a country, henc ...Show All

  • SharePoint Products and Technologies How are you gnerating application definitions?

    Hello All, I am just cusrious to know how are you guys generating your application definitions in BDC by hand or using one of the tools out there to auto generate that scary XML file I am unable to find a tool which gives me the ability to include stored procedures in my app def instead of pure tables or views Any help would be appreciated. Thanks a lot Well the known community tools are getting better all the time but do not support everything yet. So, i've done some implementations now with the BDC and basically I did the first one by hand (beta 2). The second one I used ome of the tools to create the basis xml file and adjusted it by hand. Right now, I basically copy/paste a lot when creati ...Show All

  • Windows Live Developer Forums Need Help? Urgent !! How can i get the polyline or polygon selected when i click on it?

      I am new to javascript. Can any one help me to find a solution for getting my polygon or polyline got selected while clicking on it on map. so that i can drag or change the shape of the selected polygon or polyline. It will be helpfull if anyone knows the related links or docs  related to this issue. This functionality is the same in www.local.live.com when we draw a polygon or polyline on the map. Thanks in advance. Dias Not good news from me on this. This is where we left off, guess we were hoping for a bit more from V4. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=726756&SiteID=1 John. ...Show All

  • Visual Studio running a series of SQL script files

    I would like to know if there's a way to reduce this kind of duplication: <Target Name="RunScripts"> <Execute ConnectionString="$(ConnectionString)" Path="$(DatabaseSourceDirectory)\ScriptOne.sql"/> <Execute ConnectionString="$(ConnectionString)" Path="$(DatabaseSourceDirectory)\ScriptTwo.sql"/> <Execute ConnectionString="$(ConnectionString)" Path="$(DatabaseSourceDirectory)\ScriptThree.sql"/> etc., etc. In other words, I'd like to be able to put JUST the part that changes into a list, and have msbuild iterate over the list, filling out the boilerplate (the repeated part) each time. Is there a clean, simple way to get msbuild to do ...Show All

  • Visual C++ multiple libraries problem

    i am attemoting to use multiple libraries for my program since i need to use a library created by an outside party which contains functions i need in my proram. the problem is when i add this library to my Additional Dependencies this is the error messages i get (the include/sources/etc paths also already changed to include the new funcations) Linking... LIBC.lib(crt0dat.obj) : error LNK2005: _exit already defined in MSVCRTD.lib(MSVCR80D.dll) LIBC.lib(crt0dat.obj) : error LNK2005: __exit already defined in MSVCRTD.lib(MSVCR80D.dll) LIBC.lib(crt0dat.obj) : error LNK2005: __cexit already defined in MSVCRTD.lib(MSVCR80D.dll) LIBC.lib(fflush.obj) : error LNK2005: _fflush already defined in MSVCRTD.lib(MSVCR80D.dll) LIBC.li ...Show All

  • SQL Server Cluster failing connections with SSL error message

    We recently migrated our production environment from a win2k3/SQL 2000 EE cluster to a new 64 bit win2k3/ SQL 2005 SP1 Cluster. Cluster works fine for a while (3-6 hours), then our logins start failing. We recieve the following error in the event log: "The server was unable to load the SSL provider library needed to log in; the connection has been closed. SSL is used to encrypt either the login sequence or all communications, depending on how the administrator has configured the server. See Books Online for information on this error message" The only way to resume connectivity is to offline and online the sql service in the cluster. The only reference to this error that I can find has something to do with a hotfix tha ...Show All

  • Visual C# static methods

    I ve a question on static methods.It has been said that static methods can be invoked using the class name directly i.e., without creating objects.how ll be the static methods present in the heap.when ll it be instantiated.How many number of such methods ll be in the heap.wont this cause performance degradation Static methods belong to the type, not the instance of an object and Only pointers to a static method have to be moved around in memory (8 bytes). The static method itself will be loaded once, very early in the application lifecycle, instead of being contained in each instance of our class. This enables you to call your static method directly e.g. from your referenced DLL file. if you're more curious then try this topic ...Show All

  • Visual Studio 2008 (Pre-release) Styles in custom controls

    Hi all, I have been writting custom controls for a WPF app I'm working on and have run into a bit of a block. I can't work out how to apply a style to a control from within a control. It's probably really simple but I just don't seem to be able to get it to work. For example I have used a style previously that replaces the listbox panel with a WrapPanel by applying a style set as a resouce in the window the controls sits in. How would I do this if from within a custom listbox control in XAML or cs code I can post example code if it makes my question clearer. Thanks Shane Ahh thank you. I new it would be something simple. The code below works as I intended, if anyone else is int ...Show All

  • Visual Studio Express Editions How to detect .NET Framework 3.0 in Visual C# Express Edition

    If you are running Visual Studio C# 2005 Express how can I detect if the application i'm writing is developed under .NET Framework 2.0 or .NET Framework 3.0 The only thing I have installed is Visual Studio C# 2005 Express and .NET Framework 3.0 September CTP ( found here ) . Do I need anything else I'm running WinXP SP2. Not sure that I understand your question. If you are writing an app and use only .Net Framework 2.0 features, your app will run under .Net 2.0 and 3.0. If you use .Net 3.0 specific features, then it will only run under .Net 3.0. Programmatically, you can get some sample code at http://blogs.msdn.com/astebner/archive/2004/09/18/231253.aspx that shows how to detect what's install ...Show All

  • Smart Device Development How to modify app.config on install?

    We are in the process of deploying our first Compact Framework 2.0 application, which contains a subset of the functionality available in our desktop and tablet apps. These apps all connect to a web service that is deployed within each of our customer's networks. The site-specific URL for accessing the web service is stored in the app.config file, For the desktop and tablet machines, the app.config file is uncompressed in the setup application so that the site administrator can change it to the correct value before deploying it to the user machines. Unfortunately, we have not yet been able to find an analogous capability for CF installs (we are using installshield to create the desktop install, which then deploys the CABs to the CE App Ma ...Show All

  • Visual FoxPro VFP7 COM+ object and ASP.Net 2.0 on IIS6 - Interop issue

    Hi,I wonder has anyone managed to get his/her VFP7 COM+ object run on ASP.Net 2.0 on IIS6 1. I compiled the object using MTDLL and deployed into my SBS2003. 2. I think this shouldn't be a security problem as I didn't manage to get it run even I have set the IIS6 worker to Local System. 3. The COM+ object has actually initialised. Codes in INIT method has actually run (I put CREATE TABLE ..... in the INIT method, and check if the table is created later), but when come to calling a method from ASP.Net, I hit an error. 4. Tried many possibilities, but no luck. I have also followed the example from Craig, got the same issue. 5. The same VFP7 class (but complied as EXE and configured as DCOM) was running fine on IIS5 ASP2.0 on Windows 2000 Ser ...Show All

  • Visual Studio Team System Embedding a report with parameters in Sharepoint

    Hello, I'm having difficulty embedding a SQL 2005 Reporting Services report in Sharepoint with parameters . I can easily embed the report with default parameters, but I can't quite figure out how to embed a report with specific parameters. In other words, let's say I want the "Bug Rates" report to show for bugs with "Priority = 2". It can't be done by URL since the Priority is set via a postback, not an URL querystring variable. Am I missing something Or is this not possible Thanks, Jeff There may be a better way to do it with Sharepoint, but you can pass parameters to a report on the query string using a format like: http://<URL>/ReportServer/Pages/Report ...Show All

  • SQL Server Writing data to OLEDb dest with the table name set via a variable. (ValidateExternalMetadata Issue)

      I am using a foreach loop, with the data from an ado recordset, which contains the table name that I wish to write data to an OLEDB data dest.  The table names are retrieved from an execute sql task in the an object var.  Within the foreach loop, for each table name, I then use a datareader to an ado.net source to pull data from that table, via an expression construct into a variable - i.e. "select * from " + @[User::table_name].  This works fine for the first table, in which mappings are setup using the SSIS design environment.  The data is retrieved.  I then use a variable and set the data access mode for the oledb destination to "Table name or view name variable".  This also saves data fine f ...Show All

©2008 Software Development Network