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

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

AMSS

Member List

Tufelix
dLloydm
Will Merydith
VenkatB
awsiv
David C Baldauff
Harkernator
divya mittal
hommer
bitbonk
Thrix
Douglas R
Ultrawhack
Ehsan Enaloo
Akash Lomas
Tobias Zimmergren
Tompom
WBAS
Dovey
Allan Huang
Only Title

AMSS's Q&A profile

  • Visual C++ General approach to native dll using managed wrappers

    I have a native dll that exports some structures and functions. The functions use pointers to the native structures to populate the data. I would like to wrap the structures and expose some of the members for data binding. What is the right approach to this problem. I am using VS 2005. For example: //------------------------------------------Native dll typedef struct{ int var; AnotherNativeStruct* pType; }NativeStruct __declspec(dllexport) BOOL NativeFunction( NativeStruct* data ) ; //<- Modifies var and pType upon return // -------------------------------------------Managed using namespace System; public ref class Wrapper { public: // Some constructor, perhaps Wrapper( NativeFunction ...Show All

  • SQL Server How to get sql server name with a vb-script?

    Is there anyone who knows how to get sql server name using a vb-script I have tryed this: bKey = WshShell.RegRead("HKLM\SOFTWARE\Microsoft\Microsoft SQL Server\Instance Names\SQL") But it cant open it for read. Someone who knows a better way Regards SW-engineer Try these- http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=337144&SiteId=1 http://www.sqlserver2005.de/articles/1/ ...Show All

  • .NET Development Google Search Webservice

    Hi.. I have visual studio 2003 and I am trying to use Google Search Web Service(C#).But I got the error: DataBinder.Eval: 'EProjects.googleapi.ResultElement' does not contain a property with the name title. The source code of the Web Form that should display the Google Search Results: using googleapi; /// <summary> /// Summary description for GoogleResults. /// </summary> public class GoogleResults : System.Web.UI.UserControl { protected System.Web.UI.WebControls.ImageButton imgPrev; protected System.Web.UI.WebControls.ImageButton imgNext; protected System.Web.UI.WebControls.DataList lGoogle; public EProjects.googleapi.GoogleSearchResult gsR; public EProjects.googleapi.GoogleSearchService gcs; private void Page_Load(object ...Show All

  • Windows Live Developer Forums Layers on and off

    I am develpoing a map that contains many pushpins in a small area. I would like to turn them on and off by using checkboxes. Doe anyone know how to go about this I really appriciate everyone's help and time. "Jared H" I understand what you are saying about trying to call more than one layer with the same UniqueID being a problem. I want to first get it working with one layer as a proof of concept and one it gets up and running I will prob. go with your solution. I added map.onLoadMap = AddMyLayer1(); to the GetMap function but am finding it does not load the layer and thus i can still not turn the layer on and off. Anythoughts <html> <head> <title></title> ...Show All

  • Visual Studio Upgrading Headaches

    I am a fan of GAT, but today, I finally upgraded to June CTP and am extremely frustrated with the upgrade story. I tried to just install the June CTP, and it tells me I need to uninstall the previous versions first (can we work on an in-place upgrade ). Anyway, I unistall... excuse me... *try* to uninstall the previous versions, but in order to do that I have to uninstall *every* guidance package that was built on top of GAX. I have built 5 or 6 of them, so this is going to be painful... especially since I uninstalled GAT first and overwrote my installer with the june CTP. So, now I can't uninstall the packages built on top of GAX until I reinstall GAT (some of the packages were just registered through the IDE and the installer was n ...Show All

  • Visual Basic Vvarious user controls need to reference Module1.vb

    Module1.vb needs to be available to various user controls which utilize methods in this file. Where do I put this file and then how do I reference it from within the user control projects Can I wrap these interop Functions into a class and instantiate it I can create a class library within a solution but not a 'module library' Thank you for allowing stupid questions. -Greg Module1.vb Imports System.Runtime.InteropServices Module Module1 Public Declare Function SetSelectedAxis Lib "foo.dll" ( ByVal Index As Long ) As Long Glad to help! :) You might want to flag this as answered if you're good to go... James www.jamesfoxall.com ...Show All

  • SQL Server Custom Data Flow Task throwing error when run from command prompt

    Hi, I developed a custom data flow task in .net 2.0 using Visual Studio 2005. I installed it into GAC using GACUTIL and also copied it into the pipeline directory. This task runs absolutely fine when I run it on my local machine both in BIDS and using the script in windows 2000 environment. However, when I deployed this package into a windows 2003 server, the package fails at the custom task level. I checked the GAC in windows\assembly directory and it is present. Also I copied the file into the PipeLine directory and verified that I copied it into the correct pipeline directory by checking the registry. The version of the assembly is still Debug. I looked up documentation in MSDN but there is very little information about the error ...Show All

  • Windows Forms Finding edited rows in DataGridView

    Hi, In my windows application I am using DataGridView as my grid control. I populated let's say 10 rows of data and modified 3 random rows. How can I trap those 3 modified rows without going through the whole row set The DataSource of my grid is a DataView which I create it programmatically. I tried this event: void GridView_CellValueChanged( object sender, DataGridViewCellEventArgs e) { int col = e.ColumnIndex; DataGridViewCell cell = _form.GridView[col, e.RowIndex]; DataGridViewRow row = cell.OwningRow; DataRowView originalRow = ( DataRowView )row.DataBoundItem; // if the fifth column was edited if (col == 4) { if (originalRow.Row.ItemArray[0] != cell.Value) { // save the change ...Show All

  • SQL Server Date out of range?!

    Greetings! I have a data source that gets generated based on a variable with the following SQL : "select * from result where deletion_ind = 1 and when_deleted >= '" + (dt_str, 50, 1252) @[User::Last_Run_Date] + "'" But when I run my package I get an error message saying: The conversion of CHAR to DATETIME resulted in a DATETIME value out of range The Last_Run_Date variable is set to '2006-06-25 14:35:05.450' When I run the code in a QA session it works, but in the package it complains! What am I doing wrong Thanks for your help in advance. Hi Jamie, I am not quite sure how to use profiler for this problem. I have a data source coming from SQL Server 6.5. The data source i ...Show All

  • Software Development for Windows Vista Long running workflow exposed as web service

    Hello all: I am trying to write a workflow for a requests system. We want this WF exposed as a webservice. A user would go to a CreateRequest.aspx page, fill out the form and hit submit. Submit calls a CreateRequest function on the webservice. The WF then populates a business object, validates it (ensure date needed > today and a Title is given) then saves the business object into our database. At that point we need to workflow to just sit around and wait for something to happen to the request (assign it, change its status to "In_Progress", "Testing" etc). There are various steps for this process (DirectorApproval, Work_In_Progress, Testing, Read_For_Installation, etc). So, how do we do this with web services A ...Show All

  • .NET Development XML Instance document cannot detect attribute

    Good Day guys, here's my problem: I declared this global attribute in my schema document. By the way, I'm using VS .NET 2003. < xs:attribute name ="OutputId"> < xs:simpleType > < xs:restriction base ="xs:byte"> < xs:pattern value ="[1-4]" /> </ xs:restriction > </ xs:simpleType > </ xs:attribute > I also declared this global element: < xs:element name ="Output"> < xs:complexType > < xs:sequence > < xs:element name ="MinOutputVoltageLimit" type ="xs:float" /> < xs:element name ="NomOut ...Show All

  • Internet Explorer Development Tuns of bugs in IE7, how to report?

    While attempting, and I do mean only attempting, to develop my application I keep getting "this old feature is now broken in IE7" Well here is a small list of what I can remember off the top of my head.. ----------------- $(id).onclick = 'alert(1);' <-- wont work until you forcefully update the DOM $(id).setAttribute('onclick', 'alert(1)'); <-- wont work until you forcefully update the DOM To update the DOM forcefully... $(id).parentNode.innerHTML += ''; After that innerHTML call, the onclick event assigned via properties will work. ----------------- Another problem, which I, ironically got while trying to post this message is a very big problem that is present when using google maps (or says so by g ...Show All

  • Windows Forms ContainerControl inside another ContainerControl

    <.NETFramework> I am facing problems using a ContainerControl inside another ContainerControl. The child ContainerControl is not getting on the design surface probably. I'm not being able to drop any control (e.g a Button) on the inner ContainerControl. It is dropping the control (Button) on the outer ContainerControl instead. I know there is something like EnableDesignMode in Framewrok 2.0. But I cannot find it in Framewrok 1.1. I would also like to share that I'm working on a TableControl that will be just like an HTML Table Control. I also know that Microsoft has provided a TableLayoutPanel with Framework 2.0. But due to some requirements I cannot go for it. Currently I'm trying to design something like this: <Table type= ...Show All

  • Visual Studio Page breaks before table

    I have a local report with a one to many relation, using a list to the "one" fields and a subreport (table) to get the "many"/details. It's like a order/order details relation. When the data doesn't fit in a single page, the table/subreport containing the detais breaks all to the next page. What I want was in that case is that only the rows on the detais that don't fit in the page should break into the next page, and not the hole table. I solve this matter putting a page break at the end of the table, but in this case I can’t put anything more after the subreport/table. Does any one know how to solve this ...Show All

  • Visual Studio Express Editions I registered VB2k5 Express Edition and VWD EE but when and how do I recieve the free stuff

    Anybody remeber seeing a part about benefits of registering your VB Express edition and VWD EE see link http://msdn.microsoft.com/vstudio/express/register/ I want to know how I get my free stuff from MAKE. Please help D:-< When you do register you will get an email after a couple of days that has a link to the conect site where you can download the content. If you do not get the email after a couple of days, try logging onto the http://connect.microsoft.com site with the same email address/passport id that you registered with. Once on the site you should be able to get to the content. ...Show All

©2008 Software Development Network