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

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

Bisjom

Member List

Dipendra
hye_heena
Le Phare Rouge
Pirooz Javan (Old)
Pavan Podila
Dorfer
Michael Schreuder
orent
suchi banerjee
stswordman
NessDan
olloemre
loopool
lenik
Alexey Shirshov
wky
phoenix11
Synced
pkarun
Chris_Chris__
Only Title

Bisjom's Q&A profile

  • Visual Studio Tools for Office MS Office Document Imaging (MODI) - Search object

    Hi - I'm developing an app using the MODI objects (in VB). My question is about the MiDocSearch object. I have the search function working - I can return the count of matches, and list all of the rect coordinates. How do I navigate to and highlight the matching words If I use the MS Office Document Imaging application, the 'Find' function allows you to find the 'Next' and 'Previous' occurrences, which highlights each matching word, in turn, so, I would think I should be able to do the same thing in my program. Thanks, Mark Yes, unfortunately, a lot of the staff see the word "Office" and push people to this forum because it's the only one with "Office" in its name. Getting ...Show All

  • Silverlight (formerly WPF/E) Why using "javascript:functionName"?

    Hi, I would like to get an answer why the JavaScript event handlers have to be written not very JavaScript like. element.loaded = functionName"; instead of element.loaded = functionName; Will there be any other protocol available than JavaScript Michael But MyNamespace.MyAssembly looks like that you are thinking of .NET. Maybe I'm wrong, but I thought that WPF/E (compared to .NET 3.0 and WPF) will not install a framework on the client side (in the future, too). So, my only idea was only that it could be something inside the XAML code, a function or action that could be referenced there instead of JavaScript. Perhaps somebody from Microsoft could give us a short answer. ;) Michael ...Show All

  • Visual Basic How to create an interface with singleton pattern

    I have seen an example of this in C# but I cannot convert it to VB. I am looking at a way to create an Formfactory/interface solution to solve circular dependency. If anyone knows of a way to do this any help would be greatly appreciated. Hi Andy, Yes, I don't think you can have lib1 show forms in lib2 and then have lib2 show forms in lib1.  This can lead to all kinds of problems.  Typically you want to manage this Show logic in your application EXE code.  Is it possible for you to move your Show logic to the EXE   Another best practice is to make sure that your DLLs don't take dependencies on each other.  It's ok for lib1 to know about lib2, but you don't want the circular reference.  You might ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Collision Detection With Bezier Curves

    Hi, I'm currently making a small 2D game in XNA Game Studio Express. It involves a player moving around a terrain and being able to collide with it. Nearly all the graphics and settings in my game are user generated so this allows for everything to be quite customisable. For collision detection the user specifies paths made of Bezier curves which are stored in a file. The game reads this file and stores a number of points on the curves in an array. The player is also made of Bezier curves that are converted into points: This shows how I want collision detection to happen; if any of the lines that make up the player intersect with any of the lines that make up the terrain, then a collision has occurred. Once a collision has occurred two t ...Show All

  • .NET Development ORA-00911 oracle database error

    Hey, I am having a problem with my Oracle DB application. I continue to get an error, ORA-00911 : invalid character. Has anyone had this problem There may be a problem with the conenction string. I included it, with the important values as variables. "Data Source=(DESCRIPTION=" + "(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=" + GlobalVars .strDatabaseIP + ")(PORT=" + GlobalVars .strDatabasePort + ")))(CONNECT_DATA=(SERVER=DEDICATED)(SID=" + GlobalVars .strDatabaseName + ")));User Id=" + GlobalVars .strDatabaseUsername + ";Password=" + GlobalVars .strDatabasePassword + ";" ; I can connect to the DB by command line and run the exact same que ...Show All

  • Software Development for Windows Vista WinWf, SharePoint and OnActivated

    We have an InfoPath form in SharePoint that is triggering a workflow. When referencing the InfoPath form as such: private void OnActivated(object sender, ExternalDataEventArgs e) { // Read the association and initiation data. XmlSerializer serializer = new XmlSerializer(typeof(WorkflowStages)); StringReader initReader = new StringReader(this.workflowProperties.InitiationData); WorkflowStages initiationData = serializer.Deserialize(initReader) as WorkflowStages; } everything works fine if it is instead coded as public WorkflowStages initiationData; private void OnActivated(object sender, ExternalDataEventArgs e) { // Read the association and initiation data. XmlSerializer s ...Show All

  • Windows Forms Registry Search

    Hi; When the user install my applicaiton program, I want to detect which version of word user installed during the installation. To do that, I use the registry settings in the Registry Search: Property : Word_Search RegKey : HKLM\Software\Microsoft\Office\11.0\Word Root: vsdrrHKLM Value: When I check the Register Editor, I didn’t find any value name or value data for that Key… According to this link: http://msdn.microsoft.com/library/default.asp url=/library/en-us/vsintro7/html/vxgrfvalueproperty.asp If the Value property is left blank, the registry search will search for the default value of the key specified in the RegKey property. If the default value is null (appears as "Value not set" in the Wind ...Show All

  • SQL Server Update Table from Flat File source

    Hi all, I'm trying to work out how to update a table from a flat file source. I could use the simple way of using OLE DB Command with UPDATE <tblName> SET Column1 = , Column2 = , <etc> WHERE ID = then using the mapping to join the parameter fields. However, this (maybe!) a slow process when you have potential 500k+ records in the source file (and approx 150 files to process!) What I would like to do is the following statement but I'm not sure if this is possible UPDATE <tblName> SET Column1 = sourceColumn1, Column2 = sourceColumn1, <etc> FROM <sourcefile> WHERE ID = sourceID I've also thought about importing the sourcefile into a Recordset Destination and trying to use the var ...Show All

  • Gadgets button for "add gadget to windows sidebar" to be displayed on website

    Hi, Is there an official standard icon (like the orange RSS square icon) to be used when linking directly to a gadget on a website We're in the last throes of testing of our newly developed site, and as part of our "proof of concept" work, we've added a gadget to get data from our shopping catalogue. However I need to put a link on our site (much like the orange RSS icon) to indicate to users that we have a gadget for their Windows Sidebar. What should a button/icon like this look like I've not found any sites yet that display a link with an icon (only ones with "add to sidebar" in text). Any idea Thanks in advance :) ObseloV I have a similar problem and want a solution as ...Show All

  • Software Development for Windows Vista Parameter Dictionary that map to Public properties on the workflow

    Hi everyone: I hope my question is basic. When I create a workflow I am creating a parameter collection and passing it into the CreateWorkflow() method off an instantiated runtime object. Here's the code: Dim parameters As New System.Collections.Generic.Dictionary( Of String , Object ) parameters.Add( "MySpecialID" , MID) Dim instance As WorkflowInstance = runtime.CreateWorkflow(workflowType, parameters)   On the workflow class (which is a state machine) I've added a public property which the parameter should map to. Here's the code: Public Class SampleWorkflow Inherits StateMachineWorkflowActivity Private _mySpecialID As Object Public Property MySpecialID() As Object Get R ...Show All

  • SQL Server join sql

    There are two tables: for example: tblCurrencies CurrencyID, Name 1 USD 2 GBP 3 CAD 4 JPY tblCurrencyPairs CurrencypairID, Currency1ID, Currency2ID 1 4 1 2 1 3 5 2 1 How can I write a sql query to show the fields in tblCurrencypairs, but to show the currencyNames concatenated instead of their IDs. So table tblCurrencyPairs should show something like: CurrencypairID, CurrencyPairs 1 JPYUSD 2 USDCAD 5 GBPUSD Thanks select tblCurrencyPairs.CurrencypairID, a.name + b.name FROM tblCurrencies a ,tblCurrencies b ,tblCurrencyPairs WHERE tblCurrencyPairs.Currency1ID = a.id AND tblCurrencyPairs.Currency2ID = b.id ...Show All

  • Windows Forms Deploying a Protected executable

    Hi, I would like to use windows installer to deploy a protected .exe that uses a USB dongle. I run the protection software to create the protected .exe. I then copy the protected .exe into my Release directory, when I build the installer it will write over my protected version with the non-protected. I need the detected dependancies for this app to work right. So what I do is remove the project output from the installer and add the protected .exe. My installer than works fine, protected version is deployed. Question is, is this the correct way to do this Does anyone have a better way to deploy a protected .exe using windows installer Thanks Jeff Your protection software... is th ...Show All

  • Visual C# help with DataTable.AcceptChanges()

    hi all. in my code i wrote: dataview MyDv=new Dataview(MyDataTable); MyDv["SomeColumn"]="xxx"; and here i enter a new row directly to MyDataTable: Datarow DrNew=MyDatatable.NewRow(); DrNew["Column"]=xxx; MyDataTable.Rows.Add(DrNew); do i have to use MyDataTable.AcceptChanges() to get the changes i enterd in the MyDv Before i add a new row do i have to use Mydv.BeginUpdate() and EndUpdate() before i change it's data No your code for adding a new looks good. When you add a new row it's RowState property will be Added, etc.... The AcceptChanges() method changes the RowState of all rows to Unchanged. You don't need to call this before you add any row. It's use is for validation, rollback, pushing c ...Show All

  • Visual Studio Express Editions how to change color of titlebar

    How do i change the color of the title bar in vb express 2005.i want to change it from the xp blue to the vista grey.how do i do it See what you can do by using the forms paint event and creating a graphics abject which will allow you to create regions, drawings, fills, etc...When you run into a probelm...post the code that you have and the problem you are having ...Show All

  • .NET Development Repeater and datalist

    Hi i am Vojislav Milutinovic from Serbia (Europa) and i have problem with a nested datalist control inside repeater. So pleas help me. Problem I have database with 3 data tables. First with employes , second with pictures and thrd with idkeys from this two tables because i want to every employe have many pictures so thats a many to many releshionship. I made DAL and BLL , on presentacion layer i have two datasource object first DS1 is list of all employes and second is DS2 with list of pictures but with parameter IDEmploye so i can find pictures for every employe. I made repeater and inside datalist (for list of pictures that he have , just names not real images) . Data repeater shows ok , but datalist shows data fro ...Show All

©2008 Software Development Network