Software Development Network Logo
  • Visual Studio
  • Windows Vista
  • Visual C++
  • .NET Development
  • VS Express Editions
  • Microsoft ISV
  • Visual FoxPro
  • Windows Forms
  • Architecture
  • Visual J#
  • Visual C#
  • Windows Live
  • Game Technologies
  • Visual Basic
  • VS Team System

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

MorningZ

Member List

Rookie
Kent Glossop
Johan Celis
sdor
white_angel_22
vpsivam
CommonGenius
Atsu
Daniel Kornev
A.M.Khan
MTaqi
Brent tele-man
Angz
Bontempi
KvRaji
Mr Yer
dyt
RajaGanapathy
see_sharp
skyshock21
Only Title

MorningZ's Q&A profile

  • Software Development for Windows Vista Security error hosting the WWF designer in a WinForm UserControl hosted in an ASP.NET page

    We've taken Lab 12 Exercise 1 and applied the same steps to create a WinForm UserControl that hosts the WWF designer. We're now trying to host the WinForm User Control (with the embedded WWF Designer) in an ASP.NET page using <object> tags. We're current getting the following error.  Does anyone know a quick&dirty way to get pass this System.Security.SecurityException: That assembly does not allow partially trusted callers.    at System.Security.CodeAccessSecurityEngine.ThrowSecurityException(Assembly asm, PermissionSet granted, PermissionSet refused, RuntimeMethodHandle rmh, SecurityAction action, Ob ...Show All

  • Software Development for Windows Vista Vista 5308 refuses to activate. Any way to retrieve files?

    We upgraded a windows XP machine (non-domain) to Vista 5308 recently. Upon trying to activate we kept getting an activation error 0x8007000 "Data is invalid". It only once came up with an option to activate by phone. However when the form came up, the activation codes that normally appear for you to read to the automated system were blank. We had forgotten about the issue for a few weeks as other development issues had taken precedence. Upon revisiting the machine yesterday, it had said that we had to activate, the period was over. We attempted to activate again and received the same error. "Data is invalid". There is ...Show All

  • SQL Server Excel connection properities -

    In my package I need to change the filename name for my input Excel based on a the contents of an external file.  I want to read the external file, get the filename/location from this file and then dynamically set this as the property for the Excel Connection.  I saw some posts related to this but did not understand which tasks I need to use and in which order.   thanks My connection string is Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + @[User::ExcelFileName] + ";Extended Properties="EXCEL 8.0;HDR=YES";   Delayed validation is True I noticed my server name and excel file path are = to my sourc ...Show All

  • SQL Server Detect whether runtime or executiontime in custom component

    In my custom component in the validate() method I want to determine whether this method is called during runtime or during designtime. I Can't find a property for this on PipelineComponent or ComponentMetaData. Is it possible Regards, Henk Ok, I lied I don't use variables in Validate, but I do in AcquireConnections, so still in a component, and that is called during design and execution times. if (VariableDispenser.Contains(location))  {       IDTSVariables90 vars = null ;       VariableDispenser.LockOneForRead(location, ref vars);   ...Show All

  • Visual Studio Express Editions Newb Question: Opening Forms inside main form

    I'm completely new to programming, my knowledge only goes as far as html, css and light php so I'm way in over my head. :) I've been through the tutorials but all the teach is how to pop open a form in a new window. I need it to display as though it was seamless. I've created Form1 and I want to use that as the main design of everything. What I need to do is open up all other forms created inside of Form1. For instance, if someone clicks on the button Add New Customer, it opens up ( inside the main window to the right) the New Customer Input box to start them on the process of adding information to the db. If they click "Pay on Account ...Show All

  • Windows Forms C# windows reading from datagrid

    Hello and thank you for any help. I am new to C# and am not sure how to read the info. in a datagrid cell after the user has edited it, so that I can insert the new row into the database. To make things clearer, on form PayableTrans.cs I have 2 labels, a datagrid, and buttons(one of which is used to save the changes, btnSave_Changes). When the On_Load event fires the form is populated with customer info, and supplimental info. on customer is loaded into the datagrid. If a user chooses to edit the datagrid and add info., how can I read the new info. to use it in my sql insert statement I'd recommend you use ...Show All

  • Visual C++ Why in C always fopen creats file in its project folder

    Hello every body Can anybody help me, I have very curious about how fopen command creates file. And why it always creats file in the folder where its project resides. Means is it the default pointer location of the file stream. Similarly, fread command reads from the that resides in the project folder...Why How can we spacify that we want file in this drive not in that drive means how can we specify location for file reading and writing. Thnaks By default fopen will open the file in the current directory (this is usually the directory in which the application starts). If you want a different directory you should give f ...Show All

  • .NET Development Dynamically create a proxy or call a web service from a WSDL.

    Hi, How can I dynamically create a proxy or call a web service from a WSDL. I need to call a variable number of web services which all implement a known method. I can call the services by creating one proxy and changing the URL property. This fails though because the parameters to WebServiceBindingAttribute and SoapRpcMethodAttribute are not correct. Is it possible to change these attributes at runtime Is there another way Thanks I am trying to reinstatiate an object of a type defined in the webservice. How do I serialize the data back into a struct. How do I define and include data types defined in the webs ...Show All

  • .NET Development WinVerifyTrust to get digital signature details

    Hi all, I'm looking for a tutorial of using the WinVerifyTrust function to get the degital signature details of a certain file. a How can I use it Please help... Best regards... ...Show All

  • SQL Server Designing Aggregations

    I have a fairly large partition (100M rows, 30 measures) and am attempting to create aggregations through the Aggregation Design Wizard.  Regardless of the option I select, either percent or file size, the wizard always completes after designing only about 50 aggregtions for 0% and only 200kb.  I cannot believe that to be right.  On a much smaller partition I created about 600 aggregations to 30% for 2GB. I've double checked to ensure I have all of my dimension attribute relationships defined.  Any ideas why I cannot get the large partition to build the aggregations or why it completes after building about 50 & ...Show All

  • Windows Forms Button will not fire in 2003

    I have an asp.net application that I just moved to Windows 2003.  My buttons will not fire on forms that have a Validation object on them.  They work fine if I remove the Validation object.  The Validation appears to be working correctly it's just that the button will not fire after the validation has happened. Any responses would be appreciated. ...Show All

  • .NET Development How to delete a line from a text file using C#

    Hello all I am developing a little app where I need to monitor a file that is update by several machines. I need to gather each line wrote by each machine so I need access to a specific line number and take that line, store it into a DB table and delete that line. I really don't know how to delete the line without parse the information into a string variable and rewrite the file. This can lake the app because the file can contain up to 1000K lines... :-O... Any suggestion will be appreciated. ________________________________ I think I deleted the Internet... Well, finally my code stays like this... This i ...Show All

  • Visual Studio Team System buffer of forms

    hello, I have a little problem. My application have several form that has a high cost to display them. When I want show one takes a long time (3 or 4 seconds). My idea would be create a buffer of highcostforms and obtain one when it's necessary--> thread --> public void generateForms { Form2 form; while (true) { if (this.buffer.Count < 2) { form = New Form2 form.Visible = False form.Opacity = 0 form.Show() Me.Forms.Add(form) } System.Threading.Thread.Sleep(1000) } } And when I want to show one of them (buff ...Show All

  • Windows Forms Combo box and data relationship problem

    Hi all, I'm trying to do the following: Table1 == ParentTable  Table2 == ChildTable with foreign key ParentID. I've got a datagrid which should display like this (2 columns) : NormalDataGridCell                                                 ComboBoxinDataGrid ParentID  ...Show All

  • Windows Forms datagrid question

    Why exactly am I stuck having to drill down to see my data I set the datasource (which is just a ms access DB table right now) and it fills up fine. It's just that I can't seem to format the datagrid correctly so that I get the view of the rows right away. Instead, I have to open the table and then see the rows. I want it  ...Show All

©2008 Software Development Network