Kobalt's Q&A profile
.NET Development Calling a WebMethod dinamicly
Hi, I have a webservice that I added to my project using add Webreference in VS 2005, what I need to archive is create a function: callMethod(string name, Hashtable parameters) that receives: name - the name of the Webmethod parameter - the parameters that the web method requires Is there an way to call a webmethod knowing the name of the method Thank you for reading this, Have a nice day, I've thought about it a little and this is more complex than I first replied. The problem is Invoke gets a lot of necessary info about how to construct the envelope from attributes applied to the method provided by the first parameter, things like SoapDocumentMethodAttribute. So there's few things to try: if you're just experimenting, yo ...Show All
.NET Development Tableadapter Update
Hello, I have a problem updating a Access database in using a Tableadapter. In my project I added a datasource. In the datasources window, I set the control types to detail and dragged the datasource to a form. Then tested it at that time. It worked. Next I created another query and used it to fill a dataset with a specific record and displayed the contents in the bound textboxes. Everyting works sofar, but it does not save my filtered dataset back to the database. Can anyone help Yes, I do have an update. I just found the problem. I just added the line bindingsource.EndEdit before the Update. Thanks for the link. It looks very helpful. ...Show All
Visual C# MSMQ Message Type
Is there a facility in MSMQ where the type of the message can be specified along with the message similar to the type we have in System V Message Queue in Unix Environment Thanks in advance, TheBlackHat. Queues are not databases, and should not be accessed in a selective fashion, but should rather merely enqueue or dequeue messages for processing. If you have a scenario where you require the selective removal of messages based on their types, I would consider using a database, or a message queue per "Message Type". Regards Craig ...Show All
SQL Server Cube usage by users
Hi, What would be the correct way to generate some kind of log or report that will tell me which user used which cube in which database along with the number of times the user connected to each cube each day The number of queries sent by each user to each cube by day would be ok. I am not interested by the query content for this exercise. I just want Userid, DB name, Cube name and Hits. Then I can take it from there and create a report for our security/sox guy with User name, Cube name, Week of year and number of hits by week, meaning if the users send 36 queries to Cube A on Monday and 2 queries on Friday, it counts for 2 cube accesses for that week. This assume that I use only TCP/IP access but if the same mechanism would work f ...Show All
Visual Basic Replacing forms
In my program, It will be organized into forms that you can click a button and take you to another one. However, I can figure out how to make it so that when I click the button to take me to the next form, to make the original one disappear. This will be a major part of how you get around in my program, but if anyone can help, please do! Thanks usually form1.show() work fine. but if it still doesn't, then you can try this form1.show() me.close() where form1 is the form that you would wanna open hope it helps ...Show All
Windows Live Developer Forums Showing multiple route on the same map
Hi, I am wondering if I can show multiple route on the same map, for example: from A to B, then from B to C, then from C to D,...from Y to Z. The reason that I am doing this is because sometime the route from A to Z that I want is different from Virtual Earth calculated. Thanks in advance! slackfishcrab That is also something we wish to do is have multiple routes on one map. They display all the flags but only one line is drawn. As a work around we have a menu allowing the user to choose which route they wish to display, eagerly watching for the waypoints! Cheers, Steve ...Show All
Smart Device Development The difference of WinCE 5.0 and its core version
Hi, What is the difference of WinCE5.0 and its Core version or Professional version Jeanet Windows CE is a modular OS. Depending on the feature set you need, you can use a subset called "Core version" or require a "Professional version". There is a noticeable difference in the per-device license cost. E.g. some of the multimedia features require the professional version. A very reasonable explanation of the differences and the licensing model (introduced for CE.NET 4.2) can be found here The licensing documentation with details is here Basically, the core version costs you $3 per device whereas "pro" is currently $15. Since many devices do not require advanced features (like office file v ...Show All
Game Technologies: DirectX, XNA, XACT, etc. have a look at my 3d game in progress
typeAttack, a 3d typing game. sceenshots: http://hometown.aol.com/JSkunk/jpg/typeAttack01.jpg http://hometown.aol.com/JSkunk/jpg/typeAttack02.jpg http://hometown.aol.com/JSkunk/jpg/typeAttack03.jpg no source, yet... but the game is here: http://briefcase.yahoo.com/jskunk@sbcglobal.net then in the game/TypeAttack.zip some info: I'm using fbx files(included in zip) for my models, skeletons, and animations. I still need to replace my temp cities with the real ones I finally just started on. Also there is some more art and sound effects to be added(over using the voice overs now as that is all I've added so far), as well as the type attack theme song(its good to have friends in a band). And I need to do some more work on the wpm counter ...Show All
Software Development for Windows Vista Workflow Foundation and the Hosting Process
Hello, I have a design question, I am hoping someone will be able to provide input for me on this. We currently have a workflow solution built using BizTalk 2004/Business rules engine, we have a built a generic engine using BizTalk so that different applications in our organization can use the engine with minimum customization. We are evaluating to see if we can use WF for this. One question I have is WF seems to suggest that all applications will host the workflow in their own process space. Is there a way I can build a process and host the workflow in it so that different applications (web and windows apps) can use this generically. We would like to avoid people building their own workflows and hosting it in their own applications and ...Show All
Visual C# MultiDimentional and Jagged array Diff:-
Hi, Why do we have both multidimetional and jagged array in C# how the physical/memory implementation of these two array differs When should we use the jagged array and the multidimentional array Regards, Benin The multi-dimensional array means that you always have the same number of elements in each sub-array, so you have to size it to allow for the largest possible number, when you don't necessarily need it every time. This is an inefficient use of memory, and also means that things like Length or GetUpperBound don't return meaningful values. A jagged array allows each sub-array to be sized independently, which is more efficient and provides useful information about the size of the array. Personally, I don't ...Show All
SQL Server Data Flow Task empty after check in
On my office PC I have a strange problem with Data Flow Tasks. When I check-in a package into Source Control (Team Foundation) I usually have some empty Data Flow Tasks in the packages...even if I haven't changed that Flow Task. This is really frustrating cause when running the package all goes well, but after a whil you notice that some tables are empty. Does anyone know what the problem is Pukmaster wrote: Well, first I thought it was just my system, but as we can see there are more having this problem. If everybody thinks this is a real issue and not some sort of configuring error than someone must open a issue (don't know the formal way to do this). But, thanks for all suggestion ...Show All
SQL Server Records not updating in Script Component
I am seeing a strange behavior in a script component that I can't figure out. Basically, there is a field in my script that checks to see if a string field is length of 1. If it is, it updates the field with some value. The strange behavior is that it picks up some of the rows but not others. If Row.FieldValue.Length = 1 Then Row.FieldValue= "Some Value" End If I've tried variations such as: If left(Row.FieldValue.,1) = "-" Then Row.FieldValue= "Some Value" End If But I get the same results. Any Ideas Thanks, that did it. I am relatively new to SSIS, never really delved into the debug information before. that ...Show All
Windows Live Developer Forums problems Signing Into Windows Live Messenger v8.0
I have Windows Live Messenger v8.0 Build 8.0.0792.00 On both my Tablet PC and my Desktop. Recently, I upgraded my hard drives on my desktop from IDE to SATAII. After reinstalling the OS and a bunch of programs, I installed Live Messenger v8.0 directly from Live Messenger's website. Once again my desktop and Tablet are running Build 8.0.0792.00, but now my desktop cannot sign into Messenger. My Tablet signs in within seconds, but the desktop just hangs at the "Signing In..." screen, with the little men rotating. Both computers are connected wirelessly, to my router. And since the tablet can connect no problem, I can safely assume the problem does not lie with the router. I have yet to install any antivirus or firewall ...Show All
SharePoint Products and Technologies sometimes i can break through code in vs2005 to debug a site
I build my debug version, install it in GAC, then I reset iisreset .When i place a breakpoint I get the message: breakpoint will not currently be hit. no symbols have been loaded for this document Have u had this before. You can set the path to the pdb file in Visual Studio, go to Tools / Options / Debugging / Symbols, and add the path to your pdb file. ...Show All
SQL Server Run a task multiple times
I have a situation where I run the same taks multiple times during the execution. I would like to have one task which runs every time, instead of duplicating the task over and over 14 times in my script. Basically, it is an audit log, which I set variables and then insert into a SQL table the variables. I would like to do this: Task1 ------Success-----> Set Vars -----Success--> Log | Task2 ------Success-----> Set Vars -----Success-| (do the Log task again) | Task3 -------Success-----> Set Vars -----Success-| (do the Log task again) | etc This works, however, I have to duplicate Log over and over and over. No OR does not work, because it still only executes the Log task once. Another option I thought of, but cannot find a w ...Show All
