Roxanne163's Q&A profile
SharePoint Products and Technologies BDC and Table maintenance (editing data)
Good day all, It is a common requirement in our business to create table (SQL table) maintenance web pages to maintain data associated with inventory planning processes (for example). In our latest project we were planning to extend our custom ASP.Net pages to support more tables. As architect, I wanted to influence the team to move this facility from custom code into our portal platform (MOSS 2007), and BDC seemed the ideal option to replace the custom front end. However, BDC only goes halfway since it doesn't support updates. I've spent the last couple of hours researching this on MSDN and TechNet, and although many folks refer to the idea, there aren't any real-world examples out there. There see ...Show All
Visual C++ pdh.h - Error Occured
When I include the pdh.h header file I recceive the following error: error C2040: 'HLOG' : 'void *' differs in levels of indirection from 'struct _HLOG' The error occurs in the header file. Any idea what could I be doing wrong Thanx in advance The only programmers that are better than C programmers are those who code in 1's and 0's..... Programm3r Viorel. wrote: It seems in Visual C++ 6.0 the HLOG type is defined in two ways in different header files. Therefore I think you cannot include these header files in the same CPP file. I would suggest you to split your CPP file into two ones, and then work with PDH.h file in the first one and with other header files in the second one. Thus the definitions of HLOG will n ...Show All
Commerce Server Problem with searching Profiles using ProfileManagementContext
Hi, I am trying to search the records of Organization profile by using the ProfileManagementContext class. I'm getting the error when i'm calling the following code, // Build dataset of searchable entities for a profile. DataSet searchableEntities = profile.GetSearchableEntities(); // Build search clause for the Organization. SearchClauseFactory factory = profile.GetSearchClauseFactory(searchableEntities, "Organization"); I'm getting the error message as follows, System.ArgumentException: DataSet is missing the 'Organization' table. Parameter name: searchableEntities It seems that the GetSearchableEntities() returns an empty dataset. I checked the Profile Authoriza ...Show All
Visual Studio Can I -IMPORT- a .pdf to Crystal?
Hello all, I'd like to use some existing pdf files as the basis for some crystal reports. Is there a nice way to "reverse engineer" the export process to get the pdf document into crystal (where I can add fields to be filled from my .Net app) Any ideas would be appreciated... -Jonathan Not really. The closest I've seen is to use an image of the pdf to use as a background image in the report in which to place fields ontop of. ...Show All
SQL Server How to export report to csv without column lables exporting as the first row
I tried to export a report with no hearders nor footers - just rows(details) - to CSV format, however, the lable for each column is exporting out as the first row in the CSV file. How do I export a report to CSV without the column lables exporting Example of what my export looks like: lable1,lable2,label3_Department 223,John,Accounting 256,Mary,Marketing (I don't want lable1, lable2,label3_Department to show up in my export) thanks, h. I am wrong. It is not the header that is showing up in the export. It is the label for the column name that is showing up in the export. How do i prevent the label from showing up Thanks, h. ...Show All
Windows Forms usercontrol
i created my usercontrol(wave) and try to use it to create other one like a collection of it (waves) at runtime How can i do it You will need to ensure that your usercontrol is set up as container control (see code below that goes in the controls contructor), Public Sub New () MyBase .New() ' This call is required by the Windows Form Designer. InitializeComponent() ' Add any initialization after the InitializeComponent() call. SetStyle(ControlStyles.ContainerControl, True ) End Sub then you can dynamically create controls by simply doing the code below Public Sub AddControlsDynamically() ' Declare the type of control you want to add Dim myNewControl As TextBox Dim cou ...Show All
SQL Server Probleam with ReportViewer Jumping to Report
Hi, We have an ASP.NET application using a ReportViewer to show reports. I have two reports (both with logo - image - in yours headers): - Report A: with action to jump to Report B. - Report B: with action to jump to Report A. This work fine into BID and into Report Manager , but into our application, when I click in first link into Report A, show me the Report B, but our logo isn't visible. If I try to return to Report B (clicking in action), show me this error: The path of the item "(null)" is not valid. The path must be less than 260 characters long and must start with slash. Other restrictions apply. (rsInvalidItemPath) May I need to configure something into my web.config to work fine too Thanks. ...Show All
Visual Basic in my richtext box i need to load a ms word document file content
in my rich text box control i need to load the msword document file my word document file contain but it is accepting onely a text file can any one help me Hii 'You Can Use this Sample it works With Me 'Where OpenFile Is the name of OpenFileDialog 'and rtbTopic is the name of RTB OpenFile.ShowDialog() Dim SR As New IO.StreamReader(OpenFile.FileName) rtbTopic.Text = SR.ReadToEnd OpenFile.Reset() 'Note :and you can Refine the files showing in the Open File Dialog to Show the *.doc only files by the following Code Sample OpenFileDialog.DefaultExt = "Document Files(*.doc)" OpenFileDialog.Filter = "Document Files(*.doc)|*.doc|Text Files(*.txt)|*.txt|Rtf Files(*.rtf ...Show All
Windows Forms Using StreamWriter To Write HTML File
hiii can any body tell me how can i use streamwiter to *create an HTML file *write on the that file *using HTML tags in wrting in case i need to write in a formated Way (bold,italic,color,write data in HTML table) ...... if its not available using StreamWriter where could it be thanx in advance ......... Hope it help, if (! File .Exists("Test.htm " )) { StreamWriter stream = new StreamWriter ("Test.htm " , true , System.Text. Encoding .UTF8); stream.Write( @"<html>" + stream.NewLine+ @"<body>" +stream.NewLine ); stream.Write( @"<table width='100%' cellpadding=' ...Show All
Visual C# Returntype of Methods
Hallo, May be it sounds like little over ambitious. Still i want to clear my doubt. Is it possible to determine the returntype of a method at runtime regards swingme Nope, nobugz is referring to Reflection to retreive the returntype of a method you specified earlier, or one you get from an assembly. You would like to write a method without knowing the type you are returning, right Maybe defining an interface which you can return will do the trick: define an interface for the basics, and let your objects imlpement it. That way you can return any object as long as it implements your interface. An example (BTW: of course it is not best practice to define the interface and the implementing class and a c ...Show All
Visual Studio Express Editions help, help me rhonda or anybody
axmediaplayer1.url = my.settings.song1 song 1 is bound to textbox1 textbox1.text = c:\windows\media\somefile.mp3 this works fine............question is how can I make it so the user only has to type in the name of the song to the textbox.....instead of the full path bearing in mind there are100 textboxes thanks cheyenne sorry I mistyped the original .......should have been (axwindowsmediaplayer.url) and the reason I have not considered a listview is because I know nothing about listview....... thank you cheyenne ...Show All
Visual Studio 2008 (Pre-release) How can I discover /access a UI control from within the object to which it is bound?
I implement an object and declare it as an object data provider. < ObjectDataProvider x:Key = " PreOpen " ObjectType = " {x:Type src:PreOpenSetting} " /> I then bind a checkbox to it like so <CheckBox Name="preOpenCheckBox" HorizontalAlignment="Center" Content="Pre-Open"> <CheckBox.IsChecked> <Binding Path="PreOpen" Source="{StaticResource PreOpen}"> </Binding> </CheckBox.IsChecked> During initialize component the object is created and the checkbox is properly set to the value that it exposes. All is good, but there are circumstances where I need to modify the control itself based on lo ...Show All
SQL Server can calculation be defined in SQL Server Management Studio?
hi!can somenboby hlep me,i want to know that can calculations be defined in SQL Server Management Studio And how to do it Thank you very much! If I understand your question correctly the answer is no. The WITH MEMBER calculation is only good for the life of the query. If you want to add a measure to a cube that can be used by others accessing the cube then I would use BIDS. Steve ...Show All
Visual C# How To Copy To Clipboard Like MSPAINT
Hi, I would like to be able to copy a bitmap to the clipboard using a method similar to that used by Paint. If you use a program like ClipCache Plus (a free version 2.9 is still available), it will keep copies of items that have been sent to the clipboard. If you use Paint, it will copy to the clipboard in such a way that ClipCache can see it. If you use the Visual Studio 2005 Clipboard.SetDataObject(ObjectName, true); It does copy to the clipboard. But it is not available to ClipCache. I have also tried Clipboard.SetData and so on. It doesn't work. Does anyone know how to do it. In Delphi I used var AFormat : Word; AData : THandle; APalette: HPalette; fBitmap.SaveToClipboardFormat(AFormat,AData,APalette); Clipboard.S ...Show All
Software Development for Windows Vista StartWorkflow Method
What is the use of StartWorkflow() method and what happend, if will not use it. I have a vedio in which it creates a sample application. In which it has window application which creats an instance of workflow. All things are same but the problem is that in this sample it is using the function StartWorkflow(), but when i want to do the same the intellisense didn't show that function. The StartWorkflow() method was removed in one of the betas (beta 2 ). You now call the CreateWorkflow() method and then call Start() on the WorkflowInstance object you get: WorkflowInstance instance = workflowRuntime.CreateWorkflow(typeof(MyWorkflow)); instance.Start(); ...Show All
